 |
OGRE
2.1
Object-Oriented Graphics Rendering Engine
|
static const IdString UvDiffuseSwizzle4
Definition: OgreUnlitProperty.h:96
void unload()
Unload - will be called in main thread.
void setFadeAttenuationOverDistace(bool fade)
Not really used. It's only use is keeping track of creation parameters.
Definition: OgreIrradianceVolume.h:114
virtual void _hlmsBlendblockDestroyed(HlmsBlendblock *block)
static DistanceLodBoxStrategy * getSingletonPtr(void)
Override standard Singleton retrieval.
virtual ~WireAabbFactory()
Definition: OgreWireAabb.h:70
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
@ Materials
Definition: OgreSceneFormatBase.h:59
virtual ~ExternalTextureSource()
Virtual destructor.
Definition: OgreExternalTextureSource.h:80
FreeOnDestructor(void *_ptr)
Definition: OgreBufferPacked.h:121
PixelFormat depthBufferFormat
Definition: OgreTextureDefinition.h:96
TerrainQuadTreeNode * getQuadTree()
Get the top level of the quad tree which is used to divide up the terrain.
Definition: OgreTerrain.h:1556
@ SM_Source2Modulate
Definition: OgreShaderExLayeredBlending.h:87
AnimationControllerFunction(Real sequenceTime, Real timeOffset=0.0f)
Constructor.
RenderTexture implementation for D3D11.
Definition: OgreD3D11Texture.h:202
Viewport * viewport
Definition: OgreSceneManager.h:868
void notifyOnDeviceDestroy(D3D9Device *device)
void setUseMinPixelSize(bool enable)
Sets whether to use min display size calculations.
Definition: OgreCamera.h:667
bool pump_events()
Pump the main loop to actually generate events.
void reconnectAllNodes(void)
Reconnects all nodes.
TRect & operator=(TRect const &o)
Definition: OgreCommon.h:745
std::pair< Vector3, Vector3 > Edge
Definition: OgrePolygon.h:59
vector< v1::HardwareUniformBufferSharedPtr >::type GLUniformBufferList
Definition: OgreGLSLProgram.h:75
map< String, GpuConstantDefinition >::type GpuConstantDefinitionMap
Definition: OgreGpuProgramParams.h:472
iterator begin()
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:245
void setUav(uint32 slot, bool isExternal, const String &textureName, uint32 mrtIndex, ResourceAccess::ResourceAccess access, int32 mipmapLevel, PixelFormat pixelFormat)
Indicates the pass to change the UAV slots to use the specified texture sources.
Helper class to that will free the pointer on the destructor.
Definition: OgreBufferPacked.h:119
CSGSphereSource(const Real r, const Vector3 ¢er)
Constructor.
static const IdString EnableDecals
Definition: OgreHlms.h:841
@ ACT_AMBIENT_LIGHT_COLOUR
The ambient light colour set in the scene.
Definition: OgreGpuProgramParams.h:1025
void updateAllLods(const Camera *lodCamera, Real lodBias, uint8 firstRq, uint8 lastRq)
Updates the Lod values of all objects relative to the given camera.
static bool isUnsignedInt(GpuConstantType c)
Definition: OgreGpuProgramParams.h:248
bool affectsVisibleZone(void)
Definition: OgrePCZLight.h:84
void unnameSubMesh(const String &name)
Removes a name from a SubMesh.
virtual void unregisterThread()=0
Unregister an additional thread which may make calls to rendersystem-related objects.
uint8 getBakedTextureIdx(uint8 texType) const
Returns the index to mBakedTextures.
void _validateStereo()
Validate the type of stereo that is enabled for this window.
void setRotationRangeStart(const Radian &angle)
Sets the minimum rotation angle of particles to be emitted.
virtual void write(const Node *node, size_t count=1)
vector< Real >::type SplitPointList
Definition: OgreShadowCameraSetupPSSM.h:59
virtual ~RenderState()
Class destructor.
@ MSE_PRE_WRITE
Definition: OgreMaterialSerializer.h:68
bool operator==(const CompositorChannel &right) const
Definition: OgreCompositorChannel.h:66
virtual bool frameStarted(const FrameEvent &evt)
Called when a frame is about to begin rendering.
LodStrategy * removeStrategy(const String &name)
Remove a strategy from the manager with a specified name.
virtual ~AnimableValue()
Definition: OgreAnimable.h:139
virtual ~Camera()
Standard destructor.
Vertex * dst
Definition: OgreLodData.h:88
size_t physicalIndex
Physical buffer index.
Definition: OgreGpuProgramParams.h:559
DataStreamPtr open(const String &filename, bool readOnly=true)
Open a stream on a given file.
size_t getCommandOffset(CbBase *cmd) const
Returns the offset of the given command, in case you want to retrieve the command later (addCommand m...
Vector3 getRealUp(void) const
Gets the real world up vector of the camera, including any rotation inherited from a node attachment.
HLSLProgramWriter()
Class constructor.
uint16 mId
The mId is only valid while mRefCount > 0; which means mRsData may contain valid data,...
Definition: OgreHlmsDatablock.h:58
void destroySubRenderState(SubRenderState *subRenderState)
Destroy an instance of sub render state.
void sceneManagerDestroyed(SceneManager *source)
Overridden from SceneManager::Listener.
size_t parent
Definition: OgreSkeletonDef.h:48
virtual void copyFrom(const SubRenderState &rhs)=0
Copy details from a given sub render state to this one.
Internal implementation of Mesh reading / writing for the latest version of the .mesh format.
Definition: OgreMeshSerializerImpl.h:63
virtual void removeResponseHandler(uint16 channel, ResponseHandler *rh)
Remove a Response handler.
virtual void _setViewport(Viewport *vp)
Sets the provided viewport as the active one for future rendering operations.
Predefined type.
Definition: OgreIteratorRange.h:289
OrientationMode getOrientationMode() const
Get the orientation mode of the frustum.
@ ID_COLOUR_VALUE
Definition: OgreScriptCompiler.h:903
D3D9Device * getActiveDevice()
@ SM_DISTANCE
Sort by distance from the camera.
Definition: OgreCommon.h:337
void reposition(int left, int top)
Reposition the window.
GLES2AsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)
PixelFormat getDesiredFormat(void) const
Returns the desired pixel format for the texture surface.
Definition: OgreTexture.h:332
static PropertyType getTypeForValue(const Quaternion &val)
Definition: OgreProperty.h:169
Real getBoundingSphereRadius(void) const
Gets the radius of the bounding sphere for this patch, only valid after defineSurface has been called...
virtual void setDuration(Real min, Real max)
Sets the range of random duration for this emitter.
virtual bool shouldInject(LodWorkQueueRequest *request)=0
virtual Real getValue(const Vector3 &position) const =0
Gets the density value at a specific position.
void _writeRawConstant(size_t physicalIndex, const Matrix4 *m, size_t numEntries)
Write a list of Matrix4 parameters to the program.
const String * getJobNameStr(IdString name) const
Returns the string name associated with its hashed name (this was passed as refName in @createCompute...
#define OGRE_HASH_BITS
Definition: OgreIdString.h:39
ColourFaderAffector2(ParticleSystem *psys)
Default constructor.
bool hasFreeFields() const
Returns true if not all fields used.
Definition: OgreShaderFunctionAtom.h:136
virtual void setDirection(const Vector3 &vec, TransformSpace relativeTo=TS_LOCAL, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z)
Sets the node's direction vector ie it's local -z.
@ ACT_INVERSE_TRANSPOSE_WORLD_MATRIX
The current world matrix, inverted & transposed.
Definition: OgreGpuProgramParams.h:904
virtual ~Listener()
Definition: OgreRenderSystem.h:1309
virtual const String & getDescription(void) const
Returns a string with only the 'description' field of this exception.
Definition: OgreException.h:172
Definition: OgreCbDrawCall.h:89
void setDetailNormalWeight(uint8 detailNormalMapIdx, Real weight)
Sets the normal mapping weight.
const HlmsComputeJob * getCurrentJob(void) const
void retryTextureLoad()
Tells the unit to retry loading the texture if it had failed to load.
Definition: OgreTextureUnitState.h:963
virtual const RealRect & getLightScissorRect(const Light *l, const Camera *cam)
Retrieve a scissor rectangle for a given light and camera.
@ LL_BOREME
Definition: OgreLog.h:61
void setClipPlane(ushort index, Real A, Real B, Real C, Real D)
See RenderSystem.
void setHidden(bool hidden)
RenderWindow::setHidden
void addChild(Node *child)
Adds a (precreated) child scene node to this node.
bool fog
Definition: OgreQuake3Shader.h:112
NumericAnimationTrack * getNumericTrack(unsigned short handle) const
Gets a numeric track by it's handle.
@ PF_A1R5G5B5
16-bit pixel format, 5 bits for blue, green, red and 1 for alpha.
Definition: OgrePixelFormat.h:69
bool getEnabled(void) const
void setKeepVelocity(bool keepVelocity)
Set flag which detemines whether particle speed is changed.
GpuProgramParametersSharedPtr getDefaultParameters(void)
Get a reference to the default parameters which are to be used for all uses of this program.
virtual ~GLES2DefaultHardwareIndexBuffer()
void resize(unsigned int width, unsigned int height)
Alter the size of the window.
Definition: OgreD3D11RenderWindow.h:60
PageContentFactory()
Definition: OgrePageContentFactory.h:53
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:60
Concrete IteratorWrapper for const access to the underlying container.
Definition: OgreIteratorWrapper.h:217
virtual void bind(RenderTarget *target)=0
Bind a certain render target.
#define OGRE_NEW
Definition: OgreMemoryAllocatorConfig.h:500
virtual ~NULLMultiSourceVertexBufferPool()
uint16 commandType
Definition: OgreCbCommon.h:75
~Light()
Standard destructor.
void setIrradianceMaxPower(float power)
Not really used. It's only use is keeping track of creation parameters.
Definition: OgreIrradianceVolume.h:105
Layout
Definition: OgreResourceTransition.h:47
const String & getType() const
Returns the factory type.
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
iterator insert(iterator where, const T &val)
Definition: OgreFastArray.h:196
@ SPC_LIGHTPOSITIONVIEW_SPACE6
Definition: OgreShaderParameter.h:233
bool getUseStableMarkers(void) const
HlmsComputeJob(IdString name, Hlms *creator, const String &sourceFilename, const StringVector &includedPieceFiles)
UnmapOptions
Definition: OgreBufferPacked.h:73
@ VET_USHORT2_NORM
Definition: OgreVertexElements.h:108
virtual void unprepare()=0
Unprepare data - may be called in the background.
GpuProgramParametersSharedPtr createParameters(void)
Overridden from GpuProgram.
void _applyObliqueDepthProjection(Matrix4 &matrix, const Plane &plane, bool forGpuProgram)
See RenderSystem.
Wrapper class which indicates a given angle value is in Degrees.
Definition: OgreMath.h:101
void setTexture(const TexturePtr &texPtr)
Sets this texture layer to use a single texture, given the pointer to the texture to use on this laye...
virtual void updateVertexCollapseCost(LodData *data, LodData::Vertex *vertex)
Called when edge cost gets invalid.
void destroyDatablock(IdString name)
Destroys a datablocks given its name.
virtual ~GLES2TextureBuffer()
void _setTextureMatrix(size_t stage, const Matrix4 &xform)
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:311
virtual Real getDefaultWidth(void) const
See setDefaultDimensions - this gets 1 component individually.
void _setTexture(size_t unit, bool enabled, Texture *tex)
See RenderSystem.
size_t maxLevels
The maximum amount of levels.
Definition: OgreVolumeChunkHandler.h:60
GLSLShader * getComputeShader() const
Definition: OgreGLSLProgram.h:141
size_t generateBuffers(RenderOperation &operation)
Generates the vertex- and indexbuffer of this mesh on the given RenderOperation.
String mSyntax
Definition: OgreScriptCompiler.h:551
Factory class for RotationAffector.
Definition: OgreRotationAffectorFactory.h:39
MeshPtr prepare(const String &filename, const String &groupName, BufferType vertexBufferType=BT_IMMUTABLE, BufferType indexBufferType=BT_IMMUTABLE, bool vertexBufferShadowed=true, bool indexBufferShadowed=true)
Prepares a mesh for loading from a file.
GL3PlusDefaultHardwareCounterBuffer(const String &name)
@ SPC_DEPTH_PROJECTIVE_SPACE
Depth in projective space.
Definition: OgreShaderParameter.h:285
uint32 mIdentifier
Custom value in case there's a listener attached (to identify the pass)
Definition: OgreCompositorPassDef.h:110
void _notifyRenderedFaces(unsigned int numfaces)
Internal method to notify camera of the visible faces in the last render.
virtual void setUseTextureCoords(bool use)
Sets whether texture coordinate information should be included in the final buffers generated.
static bool readLayerInstanceList(StreamSerialiser &ser, size_t numSamplers, Terrain::LayerInstanceList &targetlst)
Utility method to read a layer instance list from a stream.
void _notifyResourceCreated(ResourcePtr &res)
Internal method called by ResourceManager when a resource is created.
static const ArrayReal ONE_DIV_2PI
Definition: OgreMathlibC.h:51
VertexAnimationType
Type of vertex animation.
Definition: OgreAnimationTrack.h:590
bool _fireFrameStarted(FrameEvent &evt)
Method for raising frame started events.
void _updateBoundsFromVertexBuffers(bool pad=false)
Automatically update the bounding radius and bounding box for this Mesh.
static const Vector4 ZERO
Definition: OgreVector4.h:422
void XDestroyWindow(Display *nativeDisplayType, Window nativeWindowType)
const Matrix3 & getOrientation(void) const
Definition: OgreCubemapProbe.h:188
bool supportsArbBufferStorage(void) const
Definition: OgreNULLVaoManager.h:185
void setUseOneWeight(bool enable)
Definition: OgreInstanceBatchVTF.h:195
virtual void setSceneManager(const String &smName)
Change the SceneManager.
Real influence
Influence level of the linked pose.
Definition: OgreKeyFrame.h:210
ImageDownsamplerCube downscale2x_Signed_XA88_cube
Definition: OgreImageDownsampler.h:127
void _endFrame(void)
See RenderSystem.
virtual void _setWorldMatrix(const Matrix4 &m)
Sets the world transform matrix.
virtual bool hasAnimation(const String &name) const
Returns whether an animation with the given name exists.
virtual const String & getFullDescription(void) const
Returns a string with the full description of this error.
virtual void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
Emulates the execution of a UAV to understand memory dependencies, and adds a memory barrier / resour...
virtual void disableCustomNearClipPlane(void)
Disables any custom near clip plane.
virtual int32 getPageRangeMaxX() const
get the index range of all Pages (values outside this will be ignored)
void setUpdateBoundingBoxFromSkeleton(bool update)
If true, the skeleton of the entity will be used to update the bounding box for culling.
Definition: OgreSceneFormatImporter.h:44
void _setViewport(Viewport *vp)
Sets the provided viewport as the active one for future rendering operations.
Definition: OgrePbsMobileShaderCreationData.h:54
AnyNumeric & operator*=(const AnyNumeric &rhs)
Definition: OgreAny.h:362
static TextureAtlasSamplerFactory * getSingletonPtr(void)
GLuint instancingDivisor
Definition: OgreGL3PlusVaoManager.h:107
Visual * DefaultVisual(Display *nativeDisplayType, int screen)
static Matrix4 getTrans(Real t_x, Real t_y, Real t_z)
Gets a translation matrix - variation for not using a vector.
Definition: OgreMatrix4.h:458
virtual v1::AnimationState * createAnimationState(const String &animName)
Create an AnimationState object for managing application of animations.
void setShadowDirLightExtrusionDistance(Real dist)
Sets the shadow extrusion distance to be used for point lights.
virtual PCZone * createPCZone(PCZSceneManager *pczsm, const String &zoneName)=0
bool isNaN() const
Check whether this vector contains valid values.
Definition: OgreVector4.h:409
void * map(size_t sizeBytes)
Maps the given amount of bytes.
vector< ScriptTokenPtr >::type ScriptTokenList
Definition: OgreScriptLexer.h:72
virtual const ColourValue & getFogColour(void) const
Returns the fog colour for the scene.
NeighbourIndex
Neighbour index enumeration - indexed anticlockwise from East like angles.
Definition: OgreTerrain.h:500
@ ID_POINT_SIZE_MAX
Definition: OgreScriptCompiler.h:719
void FromAngleAxis(const Radian &rfAngle, const Vector3 &rkAxis)
Setups the quaternion using the supplied vector, and "roll" around that vector by the specified radia...
bool _OgreVolumeExport operator==(Vertex const &a, Vertex const &b)
== operator for two vertices.
Definition: OgreD3D11RenderWindow.h:108
Command object for setting matrix packing in column-major order.
Definition: OgreD3D11HLSLProgram.h:77
static const size_t MaxDecalRq
Definition: OgreForwardPlusBase.h:72
const_reference front() const
Definition: OgreCommon.h:562
GpuProgramParametersSharedPtr getShadowCasterFragmentProgramParameters(void) const
Gets the fragment program parameters used by this pass when rendering shadow casters.
HardwareBufferLockGuard(const SharedPtr< T > &p, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:366
virtual void destroyInstance(PagedWorldSection *)=0
static const IdString NormalWeightDetail1
Definition: OgreHlmsPbsMobile.h:121
@ ACT_CAMERA_POSITION
The current camera's position in world space.
Definition: OgreGpuProgramParams.h:1140
void _notifyAnimationStateEnabled(AnimationState *target, bool enabled)
Internal method respond to enable/disable an animation state.
Definition: OgreException.h:239
void resetIndexDataStartEndIndex()
Reset the custom start/end index to the default values.
void setDetailMapBlendMode(uint8 detailMapIdx, PbsMobileBlendModes blendMode)
Changes the blend mode of the detail map.
int getScissorActualWidth(void) const
Definition: OgreViewport.h:183
A interface class defining a listener which can be used to receive notifications of LOD events.
Definition: OgreLodListener.h:118
unsigned short getNumLodLevels(const String &schemeName) const
Gets the number of levels-of-detail this material has in the given scheme, based on Technique::setLod...
@ TS_PARENT
Transform is relative to the space of the parent OldNode.
Definition: OgreOldNode.h:74
const ControllerValueRealPtr & getFrameTimeSource(void) const
Returns a ControllerValue which provides the time since the last frame as a control value source.
~ManualObjectFactory()
Definition: OgreManualObject.h:538
This class manages the builtin translators.
Definition: OgreScriptTranslator.h:350
Real getValue(void) const
@ SPC_POSTOLIGHT_VIEW_SPACE0
Light vector in view space index 0-7.
Definition: OgreShaderParameter.h:147
@ ID_GPU_DEVICE_RULE
Definition: OgreScriptCompiler.h:641
Command object for plane normal (see ParamCommand).
Definition: OgreDeflectorPlaneAffector.h:59
virtual ~Win32EGLSupport()
ImageDownsamplerCube downscale2x_XXX888_cube
Definition: OgreImageDownsampler.h:77
const Vector3 & _getCachedDerivedPosition(void) const
Same as getDerivedPosition, but doesn't check if dirty.
Definition: OgreCamera.h:401
Definition: OgreExternalTextureSource.h:105
ushort maxBoneCount
Definition: OgreShaderExHardwareSkinning.h:66
ResourceHandle getHandle(void) const
static const IdString UvDetailWeight
Definition: OgreHlmsPbs.h:367
void resetCompileError(void)
Reset a compile error if it occurred, allowing the load to be retried.
Command object for quota (see ParamCommand).
Definition: OgreParticleSystem.h:71
IdString()
Definition: OgreIdString.h:105
UVRect uvRect
Definition: OgreFont.h:144
String mMaterialName
If true, mMaterialName is an Hlms material.
Definition: OgreCompositorPassQuadDef.h:104
String message
Definition: OgreScriptCompiler.h:197
vector< std::pair< IdString, String > >::type HlmsParamVec
Definition: OgreHlmsCommon.h:154
virtual TexCoordDirection getTextureCoordDirection(void)
Gets the direction in which texture coords specified on each element are deemed to run.
Definition: OgreBillboardChain.h:169
virtual void setCellRangeMaxZ(int32 maxZ)
get the index range of all cells (values outside this will be ignored)
CbTextureDisableFrom(uint16 _fromTexUnit)
@ SPC_LIGHTDIRECTION_WORLD_SPACE6
Definition: OgreShaderParameter.h:183
void setTexcoordRect(Real u0, Real v0, Real u1, Real v1)
setTexcoordRect() sets the individual texture coordinate rect of this billboard will use when renderi...
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
GLES2Context * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
HardwareCounterBufferSharedPtr(HardwareCounterBuffer *buf)
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
void appendPOD(const_iterator otherBegin, const_iterator otherEnd)
Definition: OgreFastArray.h:227
D3D9Driver * item(const String &name)
void _decrementRefCount(void)
MovableObject const * movableObject
Definition: OgreRenderQueue.h:52
virtual_l1 void line(uint32 i1, uint32 i2)
Add a set of 2 vertex indices to construct a line; this is a shortcut to calling index() 2 times.
ShadowNodeRecalculation
Definition: OgreCompositorPassSceneDef.h:50
void _setDepthBufferParams(bool depthTest=true, bool depthWrite=true, CompareFunction depthFunction=CMPF_LESS_EQUAL)
static D3DDECLUSAGE get(VertexElementSemantic sem)
Get vertex semantic.
static const IdString UvAtlas8
Definition: OgreHlmsUnlitMobile.h:151
uint numSamples
Definition: OgreGLES2RenderTexture.h:46
uint32 vertexIndex
Definition: OgreVertexBoneAssignment.h:65
LwString & a(uint32 a0)
Definition: OgreLwString.h:239
void setEsmK(uint16 K)
Sets the 'K' parameter of ESM filter.
void copyContentsToMemory(D3D9RenderWindow *window, const Box &src, const PixelBox &dst, RenderTarget::FrameBuffer buffer)
@ D3D_WARNING
Definition: OgreD3D11Device.h:93
virtual bool getUseShortestRotationPath() const
Gets the method of rotation calculation.
StringVectorPtr list(bool recursive=true, bool dirs=false)
List all file names in the archive.
@ VET_FLOAT3
Definition: OgreVertexElements.h:74
virtual ConcreteNodeListPtr importFile(ScriptCompiler *compiler, const String &name)
Returns the concrete node list from the given file.
static const IdString BonesPerVertex
Definition: OgreHlms.h:773
IdString mPrePassDepthTexture
Definition: OgreCompositorPassSceneDef.h:92
virtual PageStrategy * getStrategy() const
Get the page strategy which this section is using.
Definition: OgrePagedWorldSection.h:101
uint32 width
Definition: OgreImageCodec.h:62
~FastArray()
Definition: OgreFastArray.h:164
bool operator!=(const StencilParams &other) const
Definition: OgreCommon.h:201
void doSet(void *target, const String &val)
void setCurrentJob(const HlmsComputeJob *job)
ConstMapIterator< CodecList > CodecIterator
Definition: OgreCodec.h:74
Definition: OgreScriptCompiler.h:549
@ M_SUBMESH_NAME_TABLE
Definition: OgreMeshFileFormat.h:112
static void scale(const PixelBox &src, const PixelBox &dst)
Definition: OgreImageResampler.h:284
void addConfig(void)
GL3PlusSupport::addConfig
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreGL3PlusNullTexture.h:103
IOException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:205
@ ID_SOURCE2
Definition: OgreScriptCompiler.h:756
virtual ~ScriptCompiler()
Definition: OgreScriptCompiler.h:223
GPUVendor vendor
Definition: OgreTechnique.h:96
void setVertexBufferPolicy(BufferType bufferType, bool shadowBuffer=false)
Sets the policy for the vertex buffers to be used when loading this Mesh.
size_t calculateMaxNumInstances(const SubMesh *baseSubMesh, uint16 flags) const
Real getTime_0_2Pi(Real x) const
void setRenderingMinPixelSize(Real pixelSize)
Sets the minimum pixel size an object needs to be in both screen axes in order to be rendered.
Definition: OgreMovableObject.h:368
virtual const Vector3 & getPosition(void) const
Returns the position of this emitter relative to the center of the particle system.
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
D3D9ResourceCreationPolicy getCreationPolicy() const
list< ErrorPtr >::type ErrorList
Definition: OgreScriptCompiler.h:202
void setCategoryRelevant(CapabilitiesCategory cat, bool relevant)
Mark a category as 'relevant' or not, ie will it be reported.
Definition: OgreRenderSystemCapabilities.h:833
void setIndexDataEndIndex(size_t end_index)
Tells this SubEntity to draw a subset of the SubMesh by adjusting the index buffer extents.
virtual RaySceneQueryResult & execute(void)
Executes the query, returning the results back in one list.
Textures whose size are less or equal to minTextureSize (without considering mipmaps) will have their...
Definition: OgreHlmsTextureManager.h:84
uint32 left
Definition: OgreCommon.h:839
size_t getReferencedMRTIndex() const
Gets the MRT index of the texture in the compositor that this texture references.
Definition: OgreTextureUnitState.h:996
SkeletonDefPtr getSkeletonDef(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Create a new skeleton or retrieves an existing one. Will throw if can't find the skeleton.
bool recursive
Whether this location was added recursively.
Definition: OgreResourceGroupManager.h:291
virtual void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer=FB_AUTO)=0
Copies the current contents of the render target to a pixelbox.
@ GCT_SAMPLER2DSHADOW
Definition: OgreGpuProgramParams.h:78
void setWorldGeometry(const String &filename)
Specialised from SceneManager to support Quake3 bsp files.
virtual ~SharedPtrInfoFree()
Definition: OgreSharedPtr.h:102
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
unsigned int uint
Definition: OgrePrerequisites.h:130
Real crossProduct(const Vector2 &rkVector) const
Calculates the 2 dimensional cross-product of 2 vectors, which results in a single floating point val...
Definition: OgreVector2.h:494
result_type operator()(const argument_type &k) const
Definition: OgreSharedPtr.h:396
void FromAxes(const Vector3 &xAxis, const Vector3 &yAxis, const Vector3 &zAxis)
GL3PlusDepthTexture(bool shareableDepthBuffer, ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, GL3PlusSupport &support)
DynLibManager()
Default constructor.
~D3D11Texture()
destructor
unsigned short getNumWorldTransforms(void) const
Returns the number of world transform matrices this renderable requires.
Ogre::Rect Rect
Definition: OgreImage.h:64
size_t mGlobalIndex
Index in the vector holding this MO reference (could be our parent node, or a global array tracking a...
Definition: OgreViewport.h:71
static const String & getPointLightExtruderVs_1_1Debug(void)
Get extruder program source for debug point lights, compatible with vs_1_1.
Definition: OgreShadowVolumeExtrudeProgram.h:256
WaveType tcModStretchWave
Definition: OgreQuake3Shader.h:90
void _addToRenderQueue(Camera *cam, RenderQueue *queue, bool onlyShadowCasters, VisibleObjectsBoundsInfo *visibleBounds)
virtual void _setHlmsSamplerblockCS(uint8 texUnit, const HlmsSamplerblock *samplerblock)
uint16 getChannel() const
Get the request channel (top level categorisation)
Definition: OgreWorkQueue.h:108
BufferDefinition(IdString _name, size_t _numElements, uint32 _bytesPerElement, uint32 _bindFlags, float _widthFactor, float _heightFactor)
Definition: OgreTextureDefinition.h:156
virtual_l2 void roll(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around the Z-axis.
TextureDefinitionBase(TextureSource defaultSource)
@ RSC_TEXTURE_CUBE_MAP_ARRAY
TEX_TYPE_CUBE_MAP_ARRAY is supported.
Definition: OgreRenderSystemCapabilities.h:203
SceneManager * getSceneManager() const
@ OT_PATCH_25_CONTROL_POINT
Definition: OgreHlmsPso.h:84
static const IdString LightsAreaApprox
Definition: OgreHlms.h:804
void setNamedConstant(const String &name, const Vector3 &vec)
Sets a Vector3 parameter to the program.
RenderToVertexBufferSharedPtr createRenderToVertexBuffer()
Create a render to vertex buffer.
size_t getTexBufferMaxSize(void) const
Definition: OgreVaoManager.h:363
static const String & getPointLightExtruderArbvp1Debug(void)
Get extruder program source for debug point lights, compatible with arbvp1.
Definition: OgreShadowVolumeExtrudeProgram.h:254
ConstVertexOffsetIterator getVertexOffsetIterator(void) const
Gets an iterator over all the vertex offsets.
void save(const String &filename)
Save the image as a file.
set< PCZSceneNode * >::type PCZSceneNodeList
Definition: OgreOctreeZoneOctree.h:49
virtual bool preCreateGpuPrograms(ProgramSet *programSet)=0
Called before creation of the GPU programs.
const_iterator begin() const
Definition: OgreFastArray.h:367
@ GCT_MATRIX_DOUBLE_3X2
Definition: OgreGpuProgramParams.h:101
void unregisterThread()
Unregister an additional thread which may make calls to rendersystem-related objects.
static size_t getComponentCount(PixelFormat fmt)
Returns the component count for a certain pixel format.
uint32 mMask
Mask to group probes.
Definition: OgreCubemapProbe.h:101
virtual ~Listener()
Definition: OgreCamera.h:91
virtual_l2 Matrix3 getLocalAxes(void) const
Gets a matrix whose columns are the local axes based on the nodes orientation relative to it's parent...
Struct collecting together the information for named constants.
Definition: OgreGpuProgramParams.h:477
Definition: OgreDefaultZone.h:49
ArrayMaskR intersects(const ArrayAabb &aabb) const
SLAB method See https://tavianator.com/fast-branchless-raybounding-box-intersections-part-2-nans/.
Definition: OgreArrayRay.h:48
iterator add(const T &item)
Definition: OgreVectorSetImpl.h:57
virtual HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)=0
Create a hardware index buffer.
void updateAtomicCounters(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object atomic counter buffers using data from GpuProgramParameters.
const AxisAlignedBox & getCastersBox(void) const
@See mCastersBox
Definition: OgreCompositorShadowNode.h:205
uint16 getEsmK(void) const
Definition: OgreHlmsPbs.h:275
bool hasAnimationState(const String &name) const
Tests if state for the named animation is present.
AnimationState(const String &animName, AnimationStateSet *parent, Real timePos, Real length, Real weight=1.0, bool enabled=false)
Normal constructor with all params supplied.
virtual void setRenderQueueGroup(uint8 queueID)
Sets the render queue group this object will be rendered through.
void updateParameters(GpuProgramParametersSharedPtr params, bool bForce)
const TextureAtlasAttib & getDefaultAtlasingAttributes() const
Returns the default attributes of texture atlas processing.
virtual unsigned int _getVertexCount(void) const
Reports the number of vertices passed to the renderer since the last _beginGeometryCount call.
Abstract interface which classes must implement if they wish to receive events from the render queue.
Definition: OgreRenderQueueListener.h:57
virtual void detachDepthBuffer()
void clearVisitingZonesMap(void)
Mesh::IndexMap::const_iterator boneIdxStart
Definition: OgreInstanceBatchHW_VTF.h:111
void updateAllControllers(void)
Updates all the registered controllers.
Base::value_type value_type
Definition: OgreMemorySTLAllocator.h:86
ImageDownsampler2D downscale2x_sRGB_XXX888
Definition: OgreImageDownsampler.h:181
virtual MaterialPtr generate(const Terrain *terrain)
Generate a material for the given terrain using the active profile.
Definition: OgreTerrainMaterialGenerator.h:295
virtual void setWidthChange(size_t chainIndex, Real widthDeltaPerSecond)
Set the change in ribbon width per second.
const Vector2 & getHalfSize(void) const
void setOverlayDimensions(Real width, Real height)
Set the size of the profiler overlay, in pixels.
virtual void * lock(size_t offset, size_t length, LockOptions options)
Lock the buffer for (potentially) reading / writing.
Real factor
Manual blending factor.
Definition: OgreBlendMode.h:160
static const IdString ForwardPlusFadeAttenRange
Definition: OgreHlms.h:834
void activate(void)
Makes a program object active by making sure it is linked and then putting it in use.
void connectExternalRT(const CompositorChannel &externalTexture, size_t inChannelA)
Connects (injects) an external RT into the given channel.
virtual ~AnimationState()
Real getElapsedTime(void) const
Return the elapsed time.
Real getWidth(void) const
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0.
Ogre::Radian angleBetween(const Ogre::Vector2 &other) const
Gets the angle between 2 vectors.
Definition: OgreVector2.h:555
void execute(IntersectionSceneQueryListener *listener)
See IntersectionSceneQuery.
void generateDualGrid(const OctreeNode *root, IsoSurface *is, MeshBuilder *mb, Real maxMSDistance, const Vector3 &totalFrom, const Vector3 &totalTo, bool saveDualCells)
Generates the dualgrid of the given octree root node.
virtual ~Parameter()
Class destructor.
Definition: OgreShaderParameter.h:320
@ SPC_POSTOLIGHT_VIEW_SPACE7
Definition: OgreShaderParameter.h:154
static void setSharedListener(Listener *listener)
Sets shared listener.
const Node * getChild(size_t index) const
Definition: OgreNode.h:555
bool operator!=(const StencilStateOp &other) const
Definition: OgreCommon.h:159
Specialisation of HardwareCounterBuffer for emulation.
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:125
@ FGT_PATCH
Definition: OgreStaticFaceGroup.h:47
EGLConfig * chooseGLConfig(const EGLint *attribList, EGLint *nElements)
@ SPC_TEXTURE_COORDINATE0
Texture coordinate set index 0-7.
Definition: OgreShaderParameter.h:288
void translateSharedParamNamed(ScriptCompiler *compiler, GpuSharedParameters *sharedParams, PropertyAbstractNode *prop, String pName, GpuConstantType constType)
bool getRemoveRenderQueueStructuresOnClear() const
Get whether the entire render queue structure should be emptied on clearing, or whether just the obje...
Definition: OgreRoot.h:357
void setNamedConstant(const String &name, const Vector4 &vec)
Sets a Vector4 parameter to the program.
virtual const String & getMovableType(void) const
Returns the type name of this object.
Camera * camera
The camera with respect to which the level of detail has changed.
Definition: OgreLodListener.h:50
virtual StagingStallType uploadWillStall(size_t sizeBytes)
Returns true if our next call to @map() with the same parameters will stall.
Real getTrueTypeSize(void) const
Gets the point size of the font used to generate the texture.
@ ID_SRC_CURRENT
Definition: OgreScriptCompiler.h:768
virtual void destroyOverlayElement(OverlayElement *pElement)
Destroys a OverlayElement which this factory created previously.
Definition: OgreOverlayElementFactory.h:66
static void deallocate(void *p)
Deallocate memory that allocated by this class.
Image * inputImage
Optional heightmap providing the initial heights for the terrain.
Definition: OgreTerrain.h:365
SmallVector(const SmallVector &RHS)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:965
String getName() const
See ParticleEmitterFactory.
Definition: OgreRingEmitterFactory.h:49
GLuint getStencilBuffer() const
Definition: OgreGL3PlusDepthBuffer.h:69
static const size_t c_ForwardPlusNumFloat4PerCubemapProbe
Definition: OgreForwardPlusBase.h:49
CubemapProbe(ParallaxCorrectedCubemap *creator)
int height
Definition: OgreX11EGLSupport.h:86
Real SpectralNorm() const
bool hasVertexAnimation(void) const
Returns whether or not this Item is either morph or pose animated.
Real valueAngleUnits() const
Definition: OgreMath.h:778
unordered_map< unsigned int, String >::const_iterator SubroutineIterator
Definition: OgreGpuProgramParams.h:1452
const Matrix4 & getInverseTransposeWorldViewMatrix(void) const
@ DEFORM_FUNC_WAVE
Definition: OgreQuake3Types.h:136
bool isLanguageSupported(const String &lang)
Returns whether a given high-level language is supported.
static uint32 getDefaultQueryFlags()
Get the default query flags for all future MovableObject instances.
Definition: OgreMovableObject.h:489
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
bool getPassTransformStates(void) const
Returns whether a vertex program wants transform state to be passed through fixed pipeline low level ...
virtual void destroy(void)
Destroys all the built geometry state (reverse of build).
void setBlendblock(const HlmsBlendblock *blendblock)
Calls to this function cannot be skipped unless you have a renderableHash.
MovableObject(ObjectData *objectDataPtrs)
Don't use this constructor unless you know what you're doing.
static const int RenderableBits
Definition: OgreHlms.h:892
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
void migrateTo(Transform &inOutTransform, size_t oldDepth, size_t newDepth, NodeMemoryManager *dstNodeMemoryManager)
Releases memory belonging to us, not before copying it into another manager.
void _unregisterContext(GL3PlusContext *context)
Unregister a render target->context mapping.
void migrateTo(BoneTransform &inOutTransform, size_t depth, BoneMemoryManager *dstBoneMemoryManager)
Releases memory belonging to us, not before copying it into another manager.
SubRenderStateSet::const_iterator SubRenderStateSetConstIterator
Definition: OgreShaderSubRenderState.h:163
RenderWindow * createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
virtual void removeMicrocodeFromCache(const String &source)
Removes a microcode for a program from the microcode cache.
void createWindowFromExternal(NSView *viewRef)
uint16 _getTextureIdx(uint8 texType) const
Returns the internal index to the array in a texture array.
Definition: OgreHlmsUnlitDatablock.h:201
size_t _getFinalBufferStart(void) const
Definition: OgreBufferPacked.h:290
Definition: OgreBitset.h:40
void buildFrom(const SubMesh *baseSubMesh, const RenderOperation &renderOperation)
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
static const uint32 CHUNK_ID
Definition: OgreGrid3DPageStrategy.h:125
float getBestTime(void) const
Definition: OgreFrameStats.h:64
void notifyDestroyed(const CompositorChannel &channel)
Call this function when caller has destroyed a RenderTarget in which the callee may have a reference ...
bool mSilenceMissingParameterWarnings
Don't log exceptions about missing parameters.
Definition: OgreShaderParams.h:143
const GpuConstantDefinition * _findNamedConstantDefinition(const String &name, bool throwExceptionIfMissing=false) const
Find a constant definition for a named parameter.
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
void _makeOrthoMatrix(const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
See RenderSystem.
@ ID_KEEP
Definition: OgreScriptCompiler.h:917
bool execute(ObjectData objData, size_t numNodes, RaySceneQueryListener *listener)
void bindGpuProgramParameters(GpuProgramType gptype, GpuProgramParametersSharedPtr params, uint16 mask)
Bind Gpu program parameters.
bool getUpdateShadowNode(void) const
Definition: OgreCompositorPassScene.h:101
@ ID_COMPUTE_HQ
Definition: OgreScriptCompiler.h:944
String file
Definition: OgreScriptCompiler.h:94
virtual size_t _asyncDownload(BufferPacked *source, size_t srcOffset, size_t srcLength)
Copies the GPU data in BufferPacked to the StagingBuffer so that it can be later read by the CPU usin...
void findNodesIn(const Sphere &sphere, PCZSceneNodeList &list, PCZone *startZone, PCZSceneNode *start=0)
Recurses the scene, adding any nodes intersecting with the sphere into the given list.
PCPlane()
Standard constructor.
DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
Simple profiler that will produce a CSV file for offline analysis once dumpProfileResults is called.
Definition: OgreOfflineProfiler.h:28
void setMetalness(float value)
Value for Metalness. Must be in range [0; 1].
D3D11BufferInterfaceBase(size_t vboPoolIdx, ID3D11Buffer *d3dBuffer)
Definition: OgreSceneManager.h:866
ParticleAffector * getAffector(unsigned short index) const
Retrieves an affector by it's index (zero-based).
size_t getSectionCount() const
Get the number of sections this world has.
Definition: OgrePagedWorld.h:154
virtual ~AndroidEGLContext()
uint8 type
Definition: OgreHlmsDiskCache.h:163
@ GCT_MATRIX_2X2
Definition: OgreGpuProgramParams.h:80
void setBuildEdgesEnabled(bool b)
list< SceneQuery::WorldFragment * >::type SceneQueryResultWorldFragmentList
Definition: OgreSceneQuery.h:198
HLMS stands for "High Level Material System".
Definition: OgreHlmsManager.h:75
@ CpuWrite
Notifies we've been writing from CPU to resource.
Definition: OgreResourceTransition.h:67
PbsMobileTextureTypes
Definition: OgreHlmsPbsMobilePrerequisites.h:54
static const IdString MaxTextureSlot
Definition: OgreHlmsCompute.h:203
virtual void _threadMain()
Main function for each thread spawned.
Class defining a single pass of a Technique (of a Material), i.e.
Definition: OgrePass.h:67
void removeSubRenderStateFactory(SubRenderStateFactory *factory)
Remove sub render state factory.
uint32 getDepth(void) const
Gets the depth of the image.
static const ArrayReal fRad2Deg
Definition: OgreMathlibC.h:56
Class that allows listening in on the various stages of material serialization process.
Definition: OgreMaterialSerializer.h:78
void setDefaultMaterialGenerator(TerrainMaterialGeneratorPtr gen)
Set the default material generator.
void setValue(Real value)
Sets the frame number as a parametric value in the range [0,1]; the actual frame number is (value * n...
Definition: OgreD3D11NullTexture.h:79
bool getLoop(void) const
Gets whether or not this animation loops
Definition: OgreAnimationState.h:121
VertexMorphKeyFrame * getVertexMorphKeyFrame(unsigned short index) const
Returns the morph KeyFrame at the specified index.
T value_type
Definition: OgreProperty.h:219
void advanceCullLightPack()
Advances all pointers needed by MovableObject::cullLights to the next pack, i.e.
Definition: OgreObjectData.h:218
static String eventType
Definition: OgreScriptCompiler.h:542
ResourceAccess::ResourceAccess access
Definition: OgreCompositorPassComputeDef.h:88
Viewport * getViewport() const
Definition: OgreCompositorPass.h:169
void doSet(void *target, const String &val)
@ PBSM_BLEND_LIGHTEN
Definition: OgreHlmsPbsPrerequisites.h:89
ShaderFunctionList::const_iterator ShaderFunctionConstIterator
Definition: OgreShaderFunction.h:223
Real getValue(void) const
ControllerValue implementation.
void _refreshAnimationState(AnimationStateSet *animSet)
Refresh an animation set suitable for use with this skeleton.
MetalTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, MetalDevice *device)
Matrix4 getTransposeWorldViewProjMatrix() const
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
static const IdString UvDiffuse7
Definition: OgreUnlitProperty.h:82
vector< ManualObjectSection * >::type SectionList
Definition: OgreManualObject2.h:311
void createRenderTexture()
virtual void doSet(void *target, const String &val)=0
void allowToVisit(bool yesno)
Definition: OgrePCZSceneNode.h:97
ObjectMemoryManager * getTwin() const
Note the return value can be null.
Definition: OgreObjectMemoryManager.h:91
virtual void bakeLodLevel(LodData *data, int lodIndex)=0
void transformAffine(const Matrix4 &matrix)
Transforms the box according to the matrix supplied.
NormalMapSpace getNormalMapSpace() const
Return the normal map space.
Definition: OgreShaderExNormalMapLighting.h:130
int mNumModels
Definition: OgreQuake3Level.h:124
CompositorPassClear(const CompositorPassClearDef *definition, SceneManager *sceneManager, const CompositorChannel &target, CompositorNode *parentNode)
virtual void _renderEmulatedNoBaseInstance(const CbDrawCallStrip *cmd)
Definition: OgreRenderSystem.h:1094
void _refreshAnimationState(AnimationStateSet *animSet)
Refresh an animation set suitable for use with this mesh.
::GLXContext mContext
Definition: OgreGLXContext.h:53
void _setPointParameters(Real size, bool attenuationEnabled, Real constant, Real linear, Real quadratic, Real minSize, Real maxSize)
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:285
void setCreationPolicy(D3D9ResourceCreationPolicy creationPolicy)
@ M_ANIMATIONS
Definition: OgreMeshFileFormat.h:157
#define Window
Definition: OgreX11EGLSupport.h:83
#define OGRE_HASH_FUNC
Definition: OgreIdString.h:38
OldSkeletonInstance * getSkeleton(void) const
Get this Entity's personal skeleton instance.
Definition: OgreEntity.h:483
static String toString(int val, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts an int to a String.
void _readRawConstants(size_t physicalIndex, size_t count, float *dest)
Read a series of floating point values from the underlying float constant buffer at the given physica...
Real getNearClipDistance(void) const
Sets the position of the near clipping plane.
Definition: OgreShaderParams.h:63
Real z
Definition: C/OgreArrayQuaternion.h:68
void setProjectiveTexturing(bool enabled, const Frustum *projectionSettings=0)
Enables or disables projective texturing on this texture unit.
void setDiffuse(Real red, Real green, Real blue, Real alpha)
Sets the diffuse colour reflectance properties of every Pass in every Technique.
#define OGRE_EXCEPT_EX(code, num, desc, src)
Definition: OgreException.h:294
static const String & getPointLightExtruderArbvp1FiniteDebug(void)
Get FINITE extruder program source for debug point lights, compatible with arbvp1.
Definition: OgreShadowVolumeExtrudeProgram.h:302
Implements the uniform shadow mapping algorithm in focused mode.
Definition: OgreShadowCameraSetupFocused.h:56
String doGet(const void *target) const
void *RESTRICT_ALIAS_RETURN map(size_t elementStart, size_t elementCount, bool bAdvanceFrame=true)
Maps the specified region to a pointer the CPU can access.
Real getMaxHeight() const
Get the maximum height of the terrain.
void add2D(OverlayContainer *cont)
Adds a 2D 'container' to the overlay.
bool isStereoEnabled(const String &renderWindowName) const
D3D9Device * getDevice(UINT index)
uint32 getQueryFlags(void) const
Get the default query flags for terrains.
Definition: OgreTerrain.h:2013
virtual void unload()
Unload this page.
Camera * getCameraInProgress(void) const
Gets the current camera being rendered (advanced use only, only valid during viewport update.
Definition: OgreSceneManager.h:3116
STLAllocator(STLAllocator< U, P > const &)
cast
Definition: OgreMemorySTLAllocator.h:121
String doGet(const void *target) const
MovableObjectFactory * getMovableObjectFactory(const String &typeName)
Get a MovableObjectFactory for the given type.
@ FET_TAN_HALF_ANGLES
Represet extents as tan of the half angles in radians (ie FoV)
Definition: OgreFrustum.h:87
std::pair< bool, Real > intersects(const Ray &ray)
Intersection test with a Ray.
Definition: OgrePlaneBoundedVolume.h:121
void cleanUnfencedHazards(void)
const CompositorChannel & getGlobalTexture(IdString name) const
void setAssociatedNode(Node *node)
Sets the associated OldNode object which will be automatically affected by calls to 'apply'.
const Radian & getSpotlightInnerAngle(void) const
Returns the angle covered by the spotlights inner cone.
Definition: OgreLight.h:310
static DistanceLodSphereStrategy * getSingletonPtr(void)
Override standard Singleton retrieval.
A LODBucket is a collection of smaller buckets with the same LOD.
Definition: OgreStaticGeometry.h:310
virtual bool removeRenderWindow(const String &renderWindowName)
static String toString(const Vector2 &val)
Converts a Vector2 to a String.
const String & getCompatibleTarget(void) const
Gets the shader target promoted to the first compatible, e.g.
GLSL Language program processor class.
Definition: OgreShaderGLSLProgramProcessor.h:47
virtual bool resourceCollision(Resource *resource, ResourceManager *resourceManager)=0
This event is called when a resource collides with another existing one in a resource manager.
virtual void _addToRenderQueue(Camera *cam, RenderQueue *q, bool onlyShadowCasters, VisibleObjectsBoundsInfo *visibleBounds)
Adds all the attached scenenodes to the render queue.
TextureFilterOptions
High-level filtering options providing shortcuts to settings the minification, magnification and mip ...
Definition: OgreCommon.h:214
vector< Block >::type BlockVec
Definition: OgreNULLVaoManager.h:80
void _setProjectionMatrix(const Matrix4 &m)
See RenderSystem.
ManualResourceLoader()
Definition: OgreResource.h:517
Vector3 renderableCenter
Definition: OgrePlanarReflections.h:81
void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera, list< Particle * >::type ¤tParticles, bool cullIndividually, RenderableArray &outRenderables)
Delegated to by ParticleSystem::_updateRenderQueue.
@ SPC_LIGHTPOSITION_WORLD_SPACE3
Definition: OgreShaderParameter.h:220
float getPowerScale(void) const
Definition: OgreIrradianceVolume.h:117
An instance of a layer, with specific texture names.
Definition: OgreTerrain.h:302
virtual ~ShaderProgramWriterHLSLFactory()
Definition: OgreShaderHLSLProgramWriter.h:123
size_t indexSize
Definition: OgreLodData.h:136
@ PBSM_DETAIL0_NM
Definition: OgreHlmsPbsPrerequisites.h:67
@ FlagsNone
Default behaviour.
Definition: OgreProfilerCommon.h:37
virtual bool isVisible(const Vector3 &vert, FrustumPlane *culledBy=0) const
Tests whether the given vertex is visible in the Frustum.
void addTranslatorManager(ScriptTranslatorManager *man)
Adds the given translator manager to the list of managers.
String mType
Definition: OgreScriptCompiler.h:350
void stop()
GL3PlusSupport::stop
virtual void freeInternalResources(void)
Frees internal texture resources for this texture.
void setLeftBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the left edge of the border.
String getDisplayName(void)
void copyConstantsFrom(const GpuProgramParameters &source)
Copies the values of all constants (including auto constants) from another GpuProgramParameters objec...
Specialisation of the Archive class to allow reading of files from filesystem folders / directories.
Definition: OgreFileSystem.h:50
virtual void createInternalResources(void)
Creates the internal texture resources for this texture.
void _switchContext(GL3PlusContext *context)
Switch GL context, dealing with involved internal cached states too.
void doSet(void *target, const String &val)
@ LBX_BLEND_TEXTURE_ALPHA
as LBX_BLEND_DIFFUSE_ALPHA, but use alpha from texture
Definition: OgreBlendMode.h:97
virtual void _notifyParticleMoved(list< Particle * >::type ¤tParticles)
Optional callback notified when particles moved.
Definition: OgreParticleSystemRenderer.h:92
HardwareBuffer(Usage usage, bool systemMemory, bool useShadowBuffer)
Constructor, to be called by HardwareBufferManager only.
Definition: OgreHardwareBuffer.h:163
PageStrategyData * createData()
Create a PageStrategyData instance containing the data specific to this PageStrategy.
virtual void buildFrom(const SubMesh *baseSubMesh, const RenderOperation &renderOperation)
Instancing consumes significantly more GPU memory than regular rendering methods.
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
const Vector3 & getCentre(void) const
Get the centre point of the region.
Definition: OgreStaticGeometry.h:409
double extraParamValue
Definition: OgreShaderParams.h:65
bool _shouldUpdateShadowMapIdx(uint32 shadowMapIdx) const
GpuProgramType mProgramType
Definition: OgreScriptCompiler.h:552
uint32 stride
Definition: OgreNULLVaoManager.h:98
void construct(pointer p, const T &val)
Definition: OgreMemorySTLAllocator.h:167
ForwardPlusBase * getForwardPlus(void)
Definition: OgreSceneManager.h:1346
virtual OverlayElement * createOverlayElement(const String &instanceName)=0
Creates a new OverlayElement instance with the name supplied.
void setEntryPoint(const String &entryPoint)
Sets the entry point for this program ie the first method called.
Definition: OgreD3D11HLSLProgram.h:327
@ VES_TEXTURE_COORDINATES
Texture coordinates.
Definition: OgreVertexElements.h:54
uint32 depth
Definition: OgreImageCodec.h:63
void setRandomness(Real force)
Sets the randomness to apply to the particles in a system.
ID3D11Buffer * getD3DBuffer(void)
Get the D3D-specific buffer.
Definition: OgreD3D11HardwareBuffer.h:83
String resourceName
Definition: OgreResourceGroupManager.h:276
Vector3 getScale(void) const
Gets the scale of the node relative to its parent.
@ FGT_UNKNOWN
Definition: OgreStaticFaceGroup.h:48
FFPLighting()
Class default constructor.
void _initialise(bool forceReinitialise=false)
Try to initialise the Item from the underlying resources.
static const String & getPointLightExtruderVs_glslDebug(void)
Get extruder program source for debug point lights, compatible with glsl.
Definition: OgreShadowVolumeExtrudeProgram.h:260
void setFog(FogMode mode, const ColourValue &colour, Real expDensity, Real linearStart, Real linearEnd)
virtual const String & getFSAAHint() const
Gets the FSAA hint (.
Definition: OgreRenderTarget.h:343
Bone * getParent(void) const
Gets this Bones's parent (NULL if this is the root).
Definition: OgreBone.h:142
virtual void queueBindUAV(uint32 slot, UavBufferPacked *buffer, ResourceAccess::ResourceAccess access=ResourceAccess::ReadWrite, size_t offset=0, size_t sizeBytes=0)
See other overload.
static const IdString DetailOffsetsD1
Definition: OgreHlmsPbsMobile.h:128
virtual bool getHasInstanceData() const
Returns true if this binding has an element that contains instance data.
virtual void bindBufferGS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
virtual void setHoldRadius(Real sz)
Set the Holding radius.
@ LB_BlendColor
Definition: OgreShaderExLayeredBlending.h:77
The details of a topological region which is the highest level of partitioning for this class.
Definition: OgreStaticGeometry.h:364
std::vector< T, A >::const_iterator const_iterator
Definition: OgrePrerequisites.h:617
const AutoConstantList & getAutoConstantList() const
Get a reference to the list of auto constant bindings.
Definition: OgreGpuProgramParams.h:1924
@ SPC_BLEND_WEIGHTS
Blending weights.
Definition: OgreShaderParameter.h:240
TechniqueIterator getSupportedTechniqueIterator(void)
Gets an iterator over all the Techniques which are supported by the current card.
const String & getName(void) const
Get the name of the pass.
Definition: OgrePass.h:213
bool hasComputeProgram(void) const
Returns true if this pass uses a programmable compute pipeline.
Definition: OgrePass.h:196
void _notifyMovableObjectLodChanged(MovableObjectLodChangedEvent &evt)
Notify that a movable object LOD change event has occurred.
ElementType elementType
The type of the constant in the program.
Definition: OgreGpuProgramParams.h:1400
virtual void read(Node *node, size_t count=1)
void setTexture(uint8 texType, uint16 arrayIndex, const TexturePtr &newTexture, const HlmsSamplerblock *refParams=0)
Sets a new texture for rendering.
static std::pair< bool, Real > intersects(const Ray &ray, const Vector3 &a, const Vector3 &b, const Vector3 &c, const Vector3 &normal, bool positiveSide=true, bool negativeSide=true)
Ray / triangle intersection, returns boolean result and distance.
virtual void _updateFromShadow(void)
Updates the real buffer from the shadow buffer, if required.
Definition: OgreHardwareBuffer.h:307
FastArray< ReadRequests > ReadRequestsArray
Definition: OgreVertexIndexData.h:251
TexturePtr texture
Definition: OgreHlmsUnlitDatablock.h:49
ID3D11InputLayout * inputLayout
Definition: OgreD3D11HlmsPso.h:48
D3D11_PRIMITIVE_TOPOLOGY topology
Definition: OgreD3D11HlmsPso.h:47
String doGet(const void *target) const
@ VRM_PROPORTIONAL
Percentage of vertexes to be removed from each submesh.
Definition: OgreLodConfig.h:65
void bindParameters(GpuProgramParametersSharedPtr params, uint16 mask)
Execute the param binding functions for this shader.
virtual void discardFrameBuffer(unsigned int buffers)=0
Instructs the viewport to 'discard' the buffers.
@ Undefined
Definition: OgreResourceTransition.h:112
vector< LodLevel >::type LodLevelList
Lod strategy to use.
Definition: OgreLodConfig.h:130
T operator++(void)
Definition: OgreAtomicScalar.h:445
void *RESTRICT_ALIAS_RETURN map(size_t start, size_t count, size_t &outTicket)
Assumes mVboName is already bound to GL_COPY_WRITE_BUFFER!!!
virtual_l2 const Matrix4 & _getFullTransformUpdated(void)
@See _getDerivedScaleUpdated remarks.
Definition: OgreLodData.h:129
bool succeeded() const
Return whether this is a successful response.
Definition: OgreWorkQueue.h:140
@ RSC_FBO
Support for Frame Buffer Objects (FBOs)
Definition: OgreRenderSystemCapabilities.h:223
SharedPtr< LodCollapseCost > LodCollapseCostPtr
Definition: OgreLodPrerequisites.h:62
@ LBS_MANUAL
a colour supplied manually as a separate argument
Definition: OgreBlendMode.h:123
const Ogre::v1::MeshPtr & _getMeshReference(void) const
Definition: OgreInstanceBatch.h:260
@ ACT_LIGHT_ATTENUATION_ARRAY
Array of light attenuation parameters, Vector4(range, constant, linear, quadric) (count set by extra ...
Definition: OgreGpuProgramParams.h:1071
virtual void scale(const Vector3 &scale)
Scales the OldNode, combining it's current scale with the passed in scaling factor.
FastArray< unsigned short > IndexMap
Definition: OgreMesh.h:106
@ VERTEX_BUFFER
Definition: OgreD3D11HardwareBuffer.h:45
void lock()
Acquires the exclusive lock.
std::pair< size_t, size_t > VertexSplit
Definition: OgreTangentSpaceCalc.h:56
Abstract class which is command object which gets/sets parameters.
Definition: OgreStringInterface.h:79
void init(AxisAlignedBox &box, int depth)
Init function carried over from OctreeSceneManager.
virtual void bindToFramebuffer(GLenum attachment, uint32 zoffset)
Bind surface to frame buffer.
virtual void freeInternalResources(void)
Frees internal texture resources for this texture.
static ParameterPtr getParameterByName(const ShaderParameterList ¶meterList, const String &name)
Get parameter by a given name from the given parameter list.
virtual unsigned int _getBatchCount(void) const
Reports the number of batches rendered since the last _beginGeometryCount call.
virtual void _render(const CbDrawCallIndexed *cmd)
Renders the VAO. Assumes _setVertexArrayObject has already been called.
String doGet(const void *target) const
Terrain::ImportData * importData
Import data, if this is to be defined based on importing.
Definition: OgreTerrainGroup.h:309
void setAmalgamatedProfiling(bool bEnabled)
When building with OGRE_PROFILING enabled, setting this option to true will cause the profiler to col...
Definition: OgreCompositorWorkspace.h:181
@ SPC_POSTOLIGHT_OBJECT_SPACE7
Definition: OgreShaderParameter.h:134
MaterialBucket(LODBucket *parent, const String &materialName)
virtual void setMaterialName(const String &matName)
Sets the name of the material this element will use.
virtual ~GLES2RTTManager()
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
virtual ResourceHandle getHandle(void) const
Definition: OgreResource.h:329
Command object for area emitter size (see ParamCommand).
Definition: OgreAreaEmitter.h:66
bool isBatchFull(void) const
Definition: OgreInstanceBatch.h:265
bool isVisible(const Sphere &bound, FrustumPlane *culledBy=0) const
Tests whether the given container is visible in the Frustum.
Region * getParent(void)
Definition: OgreStaticGeometry.h:332
void gpuProgramRefEventRaised(MaterialSerializer *ser, SerializeEvent event, bool &skip, const String &attrib, const GpuProgramPtr &program, const GpuProgramParametersSharedPtr ¶ms, GpuProgramParameters *defaultParams)
Called when GPU program reference section event raised.
Definition: OgreMaterialSerializer.h:125
EdgeData * getEdgeList(unsigned short lodIndex=0)
Return the edge list for this mesh, building it if required.
SceneCtlAllocatedObject NodeAlloc
Definition: OgreMemoryAllocatorConfig.h:315
@ ParallaxCorrectedCubemap
Definition: OgreSceneFormatBase.h:74
void _collectIdentityOldNodeTracks(TrackHandleList &tracks) const
Internal method for collecting identity node tracks.
SubEntity * getSubEntity(const String &name)
Gets a pointer to a SubEntity by name.
A collection of OldBone objects used to animate a skinned mesh.
Definition: OgreSkeleton.h:87
virtual const ColourValue & getColourRangeStart(void) const
Gets the minimum colour of particles to be emitted.
void _setBounds(const AxisAlignedBox &bounds, bool pad=true)
Manually set the bounding box for this Mesh.
virtual void setUserAny(const Any &anything)
Definition: OgreOldNode.h:727
virtual void _setTextureCS(uint32 slot, bool enabled, Texture *texPtr)
Binds a regular texture to a Compute Shader.
X11EGLWindow(X11EGLSupport *glsupport)
virtual void save(StreamSerialiser &stream)
Save this section to a stream.
Real getCurrentFrame(void) const
Gets the current animation frame, in frames.
Definition: OgreSkeletonAnimation.h:110
CreateMaterialScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup)
Definition: OgreScriptCompiler.h:544
ImageBlur2D separableBlur_XX88
Definition: OgreImageDownsampler.h:101
bool isLast
Definition: OgreTerrainLodManager.h:81
HlmsMacroblock macroblock
Definition: OgreHlmsDiskCache.h:150
static D3D11_FILTER get(const FilterOptions minification, const FilterOptions magnification, const FilterOptions mips, const bool comparison=false)
return a D3D11 state type for Ogre FilterOption min/mag/mip values
@ FFP_LIGHTING
Definition: OgreShaderFFPRenderState.h:73
void swap(FastArray< T > &other)
Definition: OgreFastArray.h:107
uint32 getQueryFlags(void) const
Get the query flags for this terrain.
Definition: OgreTerrain.h:1362
void _deinitialise(void)
Tear down the internal structures of this Entity, rendering it uninitialised.
virtual void _setNullDatablock(void)
Sets the datablock to a null pointer.
friend class CPreprocessor::Macro
Definition: OgreGLSLPreprocessor.h:204
const Vector3 & getMinimum(void) const
Gets the minimum corner of the box.
Definition: OgreAxisAlignedBox.h:149
void addFrameListener(FrameListener *newListener)
Registers a FrameListener which will be called back every frame.
bool isTimeStampEnabled() const
Get whether time stamps are printed for this log.
Definition: OgreLog.h:139
GLSLESProgramCommon(GLSLESShader *vertexProgram, GLSLESShader *fragmentProgram)
Constructor should only be used by GLSLESLinkProgramManager and GLSLESProgramPipelineManager.
CbDrawCall(uint16 cmdType)
SceneBlendFactor getColourBlendFallbackSrc(void) const
Get the multipass fallback for colour blending operation source factor.
const T * const_iterator
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:234
void endProfile(const String &profileName, uint32 groupID=(uint32) OGREPROF_USER_DEFAULT)
Ends a profile.
~AntiPortalFactory()
Definition: OgreAntiPortal.h:57
virtual bool hasNonZeroKeyFrames(void) const
Method to determine if this track has any KeyFrames which are doing anything useful - can be used to ...
void getInitialState(Vector3 *outPosition, Quaternion *outOrientation, Vector3 *outScale)
Get the initial state of the node for this track.
OverlayElement * createOverlayElement(const String &instanceName)
See OverlayElementFactory.
Definition: OgreOverlayElementFactory.h:90
static void processQueuedUpdates(void)
Process queued 'needUpdate' calls.
Definition: OgreHlmsDiskCache.h:135
bool getEnableBackwardsCompatibility(void) const
Gets whether backwards compatibility is enabled.
Definition: OgreD3D11HLSLProgram.h:350
@ CE_STRINGEXPECTED
Definition: OgreScriptCompiler.h:206
bool hasCapability(const Capabilities c) const
Checks for a capability.
Definition: OgreRenderSystemCapabilities.h:581
virtual void blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
@ D3D_ERROR
Definition: OgreD3D11Device.h:92
T::key_type KeyType
Type you expect to get by funktions like peekNextKey.
Definition: OgreIteratorWrapper.h:265
void useSkeletonInstanceFrom(Item *master)
Starts using the SkeletonInstance from 'master' instead of using our own.
ColourValue colourArg1
Manual colour value for manual source1.
Definition: OgreBlendMode.h:152
virtual const String & getType() const
@ LB_BlendDifference
Definition: OgreShaderExLayeredBlending.h:58
@ ID_LOD_UPDATE_LIST
Definition: OgreScriptCompiler.h:868
void setComputeProgramConstantFloatCount(ushort c)
The number of floating-point constants compute programs support.
Definition: OgreRenderSystemCapabilities.h:913
static String Type
Definition: OgreShaderFFPAlphaTest.h:107
TextureType textureType
Definition: OgreTextureDefinition.h:78
Command object for force vector (see ParamCommand).
Definition: OgreLinearForceAffector.h:56
void remove(iterator it)
Definition: OgreVectorSetImpl.h:47
InstancingThreadedCullingMethod
There are two Instancing techniques that perform culling of their own: HW Basic HW VTF Frustum cullin...
Definition: OgreSceneManager.h:128
virtual void windowMovedOrResized()
Notify that the window has been resized.
Definition: OgreRenderWindow.h:130
ushort maxWeightCount
Definition: OgreShaderExHardwareSkinning.h:67
bool isNaN() const
Check whether this vector contains valid values.
Definition: OgreVector2.h:546
@ ID_MATERIAL_SCHEME
Definition: OgreScriptCompiler.h:872
Definition: OgreScriptCompiler.h:563
virtual void setQueryMask(uint32 mask)
Sets the mask for results of this query.
size_t mNumRayBounces
In range [0; inf).
Definition: OgreInstantRadiosity.h:142
virtual String getParameter(const String &name) const
Generic parameter retrieval method.
Definition: OgreStringInterface.h:271
virtual void _setHlmsHashes(uint32 hash, uint32 casterHash)
Manually sets the hlms hashes. Don't call this directly.
GL3PlusDefaultHardwareCounterBuffer(HardwareBufferManagerBase *mgr, const String &name)
static DXGI_FORMAT get(VertexElementType vType)
Get vertex data type.
void addBoneAssignment(const VertexBoneAssignment &vertBoneAssign)
Assigns a vertex to a bone with a given weight, for skeletal animation.
SmallVectorImpl(unsigned N)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:458
TextureVec const * textures
Definition: OgreCompositorPass.h:54
static GLsync waitFor(GLsync fenceName)
Will stall undefinitely until GPU finishes (signals the sync object).
BufferType
Definition: OgreBufferPacked.h:37
virtual void _hlmsComputePipelineStateObjectCreated(HlmsComputePso *newPso)
Definition: OgreRenderSystem.h:810
@See HlmsPso.
Definition: OgreGLES2HlmsPso.h:46
MeshSerializerImpl_v1_3()
@ ACT_INVERSE_VIEWPORT_HEIGHT
This variable represents 1.0/ViewportHeight.
Definition: OgreGpuProgramParams.h:1234
void setColourWrite(bool colourWrite)
Chunk()
Definition: OgreStreamSerialiser.h:103
Matrix4 concatenate(const Matrix4 &m2) const
Definition: OgreMatrix4.h:223
@ GPU_QUALCOMM
Definition: OgreRenderSystemCapabilities.h:303
EdgeData * getEdgeList(void)
Implement this method to enable stencil shadows.
#define MANAGED_RESOURCE
Definition: OgreGLES2ManagedResource.h:63
void _setSeparateSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha, SceneBlendOperation op, SceneBlendOperation alphaOp)
void addRequestToQueue(LodWorkQueueRequest *request)
@ LB_BlendReflect
Definition: OgreShaderExLayeredBlending.h:73
bool isMipmapsDirty(void) const
Definition: OgreRenderTarget.h:356
String currentValue
Definition: OgreConfigOptionMap.h:52
virtual void clearUAVs(void)
By default queueBindUAV will keep all other slots intact.
static ArrayQuaternion nlerp(ArrayReal fT, const ArrayQuaternion &rkP, const ArrayQuaternion &rkQ)
@See Quaternion::nlerp
void doSet(void *target, const String &val)
Definition: OgreLod0Stripifier.h:65
void _setTextureCoordSet(size_t stage, size_t index)
See RenderSystem.
bool compile(const bool checkErrors=false)
Compile source into shader object.
DeflateStream(const DataStreamPtr &compressedStream, const String &tmpFileName="", size_t avail_in=0)
Constructor for creating unnamed stream wrapping another stream.
Convenience class to make it easy to step through all particles in a ParticleSystem.
Definition: OgreParticleIterator.h:46
size_t doubleBufferSize
Total size of the double buffer required.
Definition: OgreGpuProgramParams.h:481
GLenum sourceBlend
Definition: OgreGLES2HlmsPso.h:55
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
virtual bool getUseAccurateFacing(void) const
Gets whether or not billboards use an 'accurate' facing model based on the vector from each billboard...
Definition: OgreBillboardSet.h:691
virtual void save(StreamSerialiser &stream)=0
Save the content to a stream.
RenderWindow * createWindow(bool autoCreateWindow, GLES2RenderSystem *renderSystem, const String &windowTitle)
Definition: OgreRenderSystem.h:902
int build
Definition: OgreRenderSystemCapabilities.h:251
void buildEdgeList(void)
Builds an edge list for this mesh, which can be used for generating a shadow volume among other thing...
String doGet(const void *target) const
virtual void setBindingPose(void)
Sets the current position / orientation to be the 'binding pose' i.e.
virtual void postFindVisibleObjects(SceneManager *source, IlluminationRenderStage irs, Viewport *v)
Called after searching for visible objects in this SceneManager.
Definition: OgreSceneManager.h:363
size_t tell(void) const
Returns the current byte offset from beginning.
Definition: OgreColourImageAffector.h:41
SubRenderStateFactory * getSubRenderStateFactory(size_t index)
Returns a sub render state factory by index.
uint16 getEsmK(void) const
Definition: OgreHlmsUnlit.h:136
void _beginFrame(void)
Signifies the beginning of a frame, i.e.
SendAllDualQuatTexture(float *RESTRICT_ALIAS dstPtr, size_t floatsPerEntity, size_t entitiesPerPadding, size_t widthFloatsPadding, const Mesh::IndexMap *indexMap)
Definition: OgreInstanceBatchHW_VTF.h:131
@ SBF_ONE_MINUS_DEST_COLOUR
Definition: OgreBlendMode.h:240
bool operator==(const LayerBlendModeEx &rhs) const
Definition: OgreBlendMode.h:162
@ SPC_POSTOLIGHT_VIEW_SPACE2
Definition: OgreShaderParameter.h:149
void _writeRawConstants(size_t physicalIndex, const int *val, size_t count)
Write a series of integer values into the underlying integer constant buffer at the given physical in...
size_t elementCount
Definition: OgreGpuProgramParams.h:1398
ParamDictionary * getParamDictionary(void)
Retrieves the parameter dictionary for this class.
Definition: OgreStringInterface.h:218
MapIterator< ParticleSystemRendererFactoryMap > ParticleRendererFactoryIterator
Definition: OgreParticleSystemManager.h:335
Definition: OgreMathlibC.h:43
LayerBlendType
Type of texture blend mode.
Definition: OgreBlendMode.h:45
@ Scale
Definition: OgreArrayMemoryManager.h:295
bool getPoseNormals()
Definition: OgreSubMesh2.h:209
static const IdString IrradianceVolumes
Definition: OgreHlmsPbs.h:401
D3D11Driver * findByName(const String &name)
const CompositorNodeDef * getNodeDefinition(IdString nodeDefName) const
Returns the node definition with the given name. Throws if not found.
void setPointMinSize(Real min)
Set the minimum point size, when point attenuation is in use.
virtual void execute(const Camera *lodCamera)
PCZ implementation of IntersectionSceneQuery.
Definition: OgrePCZSceneQuery.h:48
void updateGeometry()
Performs an update on all terrain geometry.
void addTextureUnitState(TextureUnitState *state)
Adds the passed in TextureUnitState, to the existing Pass.
virtual void _render(const v1::CbDrawCallStrip *cmd)
void addZoneToVisitingZonesMap(PCZone *zone)
virtual void _setComputePso(const HlmsComputePso *pso)
Unlike _setPipelineStateObject, the RenderSystem will check if the PSO has changed to avoid redundant...
void addSample(uint64 timeMs)
Adds a new measured time, in microseconds
Definition: OgreFrameStats.h:91
ArrayVector3 zAxis(void) const
Returns the Z orthonormal axis defining the quaternion.
AntiPortalFactory()
Definition: OgreAntiPortal.h:56
virtual void _resumeFrame(RenderSystemContext *context)
Resume rendering for a frame.
@ ID_TARGET
Definition: OgreScriptCompiler.h:845
void _setViewport(Viewport *vp)
Sets the provided viewport as the active one for future rendering operations.
virtual ~MetalDepthTextureTarget()
size_t getPoseCount(void) const
Get the number of poses.
Definition: OgreMesh.h:1009
bool isClosed() const
Indicates whether the window has been closed by the user.
Definition: OgreD3D9RenderWindow.h:52
set< SubRenderState * >::type SubRenderStateSet
Definition: OgreShaderSubRenderState.h:161
Implement a sub render state which performs dual quaternion hardware skinning.
Definition: OgreShaderExDualQuaternionSkinning.h:59
void setFixedYawAxis(bool useFixed, const Vector3 &fixedAxis=Vector3::UNIT_Y)
Tells the node whether to yaw around it's own local Y axis or a fixed axis of choice.
virtual void allocateVertexBuffers(Terrain *forTerrain, size_t numVertices, HardwareVertexBufferSharedPtr &destPos, HardwareVertexBufferSharedPtr &destDelta)=0
Allocate (or reuse) vertex buffers for a terrain LOD.
GLES2HardwareBufferManagerBase()
GLSLShader * hullShader
Definition: OgreGL3PlusHlmsPso.h:65
CbShaderBuffer(ShaderType shaderType, uint16 _slot, ConstBufferPacked *_bufferPacked, uint32 _bindOffset, uint32 _bindSizeBytes)
const String & getName(void) const
Get the name of this archive.
Definition: OgreArchive.h:108
virtual unsigned short getNumWorldTransforms(void) const
Returns the number of world transform matrices this renderable requires.
Definition: OgreRenderable.h:144
virtual void _hlmsSamplerblockDestroyed(HlmsSamplerblock *block)
int XCreateColormap(Display *nativeDisplayType, Window nativeWindowType, int visual, int allocNone)
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
virtual void initializeSession()
bool _getUseVertexCompression() const
Whether we're using vertex compression or not.
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
const RawSimdUniquePtr< ArrayMatrixAf4x3, MEMCATEGORY_ANIMATION > & getReverseBindPose(void) const
Definition: OgreSkeletonDef.h:148
PixelFormatFlags
Flags defining some on/off properties of pixel formats.
Definition: OgrePixelFormat.h:369
static OldSkeletonManager * getSingletonPtr(void)
Override standard Singleton retrieval.
const Light * getLightAssociatedWith(uint32 shadowMapIdx) const
Note: May return null if there is no such shadowMapIdx, or if there is no light that could be linked ...
virtual void load(SceneNode *parent, SceneManager *sceneManager, const String &filename, bool validSourceResult=false, MeshBuilderCallback *lodCallback=0, const String &resourceGroup=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Loads a TextureSource volume scene from a config file.
String getMaterialName(void) const
Definition: OgreSubMesh2.h:188
static bool isNumber(const String &val)
Checks the String is a valid number value.
Real w
Definition: OgreDualQuaternion.h:166
void setStereoModeType(StereoModeType stereoMode)
Definition: OgreWin32GLSupport.h:88
uint32 mLightMask
Definition: OgreInstantRadiosity.h:134
void setSetting(BatchSettingId id, bool enabled, IdString materialName=IdString())
Applies a setting for all batches using the same material_ existing ones and those that will be creat...
@ PF_PVRTC_RGBA2
PVRTC (PowerVR) RGBA 2 bpp.
Definition: OgrePixelFormat.h:148
T height() const
Definition: OgreCommon.h:757
static ArrayReal Cmov4(ArrayReal arg1, ArrayReal arg2, ArrayMaskR mask)
Branchless conditional move for 4 floating point values.
Definition: OgreMathlibC.h:94
static int parseInt(const String &val, int defaultValue=0)
Converts a String to a whole number.
virtual ~D3D9StereoDriverAMD()
void addNodeToOctree(PCZSceneNode *, Octree *octree, int depth=0)
Adds the Octree Node, starting at the given octree, and recursing at max to the specified depth.
Side
The "positive side" of the plane is the half space to which the plane normal points.
Definition: OgrePlane.h:85
static const IdString EnvProbeMap
Definition: OgreHlmsPbsMobile.h:110
void touch(void)
'Touches' the resource to indicate it has been used.
Definition: OgreShaderExHardwareSkinning.h:60
void setElapsedTime(Real elapsedTime)
void setName(const String &name)
Sets a custom name for this node.
Definition: OgreNode.h:202
void _markDirty()
Mark the shared set as being dirty (values modified and not yet updated in render system).
Abstract base class representing a high-level program (a vertex or fragment program).
Definition: OgreHighLevelGpuProgram.h:64
RenderTarget * source
The source of the event being raised.
Definition: OgreRenderTargetListener.h:47
CompositorShadowNodeDef * getShadowNodeDefinitionNonConst(IdString nodeDefName) const
@See getShadowNodeDefinition.
virtual bool setDrawBuffer(ColourBufferType colourBuffer)=0
ParameterPtr resolveLocalParameter(Parameter::Semantic semantic, int index, const String &name, GpuConstantType type)
Resolve local parameter of this function
bool setStatic(bool bStatic)
Turns this Node into static or dynamic.
@ ID_TRANSPARENCY_CASTS_SHADOWS
Definition: OgreScriptCompiler.h:627
String doGet(const void *target) const
void determineFSAASettings(IDirect3DDevice9 *d3d9Device, size_t fsaa, const String &fsaaHint, D3DFORMAT d3dPixelFormat, bool fullScreen, D3DMULTISAMPLE_TYPE *outMultisampleType, DWORD *outMultisampleQuality)
Take in some requested FSAA settings and output supported D3D settings.
ArrayReal getMinComponent() const
Returns the smallest value between x, y, z; min( x, y, z )
virtual void notifyCamera(Camera *cam)
Notify a section of the current camera.
void advanceLodPack()
Definition: OgreObjectData.h:239
PoseRef(ushort p, Real i)
Definition: OgreKeyFrame.h:212
v1::GLES2HardwarePixelBuffer * buffer
Definition: OgreGLES2RenderTexture.h:44
MemoryDataStream(DataStream &sourceStream, bool freeOnClose=true, bool readOnly=false)
Create a stream which pre-buffers the contents of another stream.
virtual ~TextureManager()
void addSubRenderStateFactory(SubRenderStateFactory *factory)
Add sub render state factory.
bool operator==(const PbsBakedTexture &_r) const
Definition: OgreHlmsPbsDatablock.h:65
Real *RESTRICT_ALIAS mWorldRadius
Ours is mWorldRadius[mIndex].
Definition: OgreObjectData.h:72
virtual void setRepeatDelay(Real min, Real max)
Sets the range of random duration for this emitter.
eTexturePlayMode getPlayMode() const
Gets currently set play mode.
Definition: OgreExternalTextureSource.h:125
@ DEFORM_FUNC_BULGE
Definition: OgreQuake3Types.h:135
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
Definition: OgreOverlayElement.h:437
virtual void bindBufferGS(uint16 slot)=0
void save(StreamSerialiser &stream)
Save terrain data in native form to a serializing stream.
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
Definition: OgreNaClWindow.h:39
void append(size_type NumInputs, const T &Elt)
append - Add the specified range to the end of the SmallVector.
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:565
Portal(const String &name, const PORTAL_TYPE type=PORTAL_TYPE_QUAD)
void setTessellationHullProgram(const String &name, bool resetParams=true)
Support for shader model 5.0, hull and domain shaders.
void _initialise(void)
Initialises the manager, only to be called by OGRE internally.
void _render(const v1::RenderOperation &op)
Render something to the active viewport.
void fillConstBufferData(const CubemapProbe &probe, const Matrix4 &viewMatrix, const Matrix3 &invViewMat3, float *RESTRICT_ALIAS passBufferPtr) const
@ ACT_VIEWPORT_WIDTH
viewport-related values
Definition: OgreGpuProgramParams.h:1222
virtual void _beginFrame(void)=0
Signifies the beginning of a frame, i.e.
OGRE_MUTEX(mTexUnitChangeMutex)
void removeSubRenderStateInstance(SubRenderState *subRenderState) const
Remove SubRenderState instance to this accessor.
Definition: OgreShaderSubRenderState.h:184
@ TID_VARIABLE
Definition: OgreScriptLexer.h:51
void setMaximum(Real x, Real y, Real z)
Definition: OgreAxisAlignedBox.h:220
static const IdString UvDiffuse13
Definition: OgreUnlitProperty.h:88
ShaderType
Definition: OgreCommon.h:363
uint16 getInputLayoutId(void) const
Definition: OgreVertexArrayObject.h:104
void setColourAdjust(size_t index, ColourValue colour)
const_iterator end() const
Definition: OgreCommon.h:505
virtual void getRenderOperation(v1::RenderOperation &op, bool casterPass)=0
Gets the render operation required to send this object to the frame buffer.
Vector3 mHalfSize
Vector containing the dimensions of this octree / 2.
Definition: OgreOctree.h:94
virtual size_t getConstBufferSize(void) const
Returns the amount of bytes that fillConstBufferData is going to fill.
size_t getTotalNumObjects() const
Retrieves the sum of the number of objects in all render queues.
Definition: OgreObjectMemoryManager.h:160
virtual ~InstanceManager()
@ ACT_INVERSE_TRANSPOSE_PROJECTION_MATRIX
Provides inverse transpose of projection matrix.
Definition: OgreGpuProgramParams.h:942
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
PsoCacheHelper(RenderSystem *renderSystem)
static const IdString UseParallaxCorrectCubemaps
Definition: OgreHlmsPbs.h:400
virtual void notifyWorldGeometryRenderQueue(uint8 qid)
Called by PCZSM during setWorldGeometryRenderQueue()
const std::type_info & getType() const
Definition: OgreAny.h:121
static Vector2 parseVector2(const String &val, const Vector2 &defaultValue=Vector2::ZERO)
Parses a Vector2 out of a String.
int8 kernelStart
Definition: OgreImageDownsampler.h:225
void _setTextureMatrix(size_t unit, const Matrix4 &xform)
Sets the texture coordinate transformation matrix for a texture unit.
@ IM_LINEAR
Values are interpolated along straight lines.
Definition: OgreAnimation.h:99
@ PF_ASTC_SRGB8A8_10X8_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 10x8)
Definition: OgrePixelFormat.h:309
bool isNormalMap
Definition: OgreHlmsTextureManager.h:103
void getCustomAttribute(const String &name, void *pData)
Get a custom, GTK specific attribute.
void setShaderCachePath(String path)
Set shader cache path.
Definition: OgreGL3PlusSupport.h:106
DeflateStream(const String &name, const DataStreamPtr &compressedStream, const String &tmpFileName="", size_t avail_in=0)
Constructor for creating named stream wrapping another stream.
void _setRenderSystemData(const Any &data) const
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:2440
size_t getNumInputChannels(void) const
This has O(N) complexity! (not cached, we look in mNameToChannelMap)
static ColourBufferType parseColourBuffer(const String &val, ColourBufferType defaultValue=CBT_BACK)
Converts a String to a ColourBufferType.
virtual void _render(const v1::CbDrawCallStrip *cmd)=0
Real mCellSize
Controls how we cluster multiple VPLs into one averaged VPL.
Definition: OgreInstantRadiosity.h:149
void _popCurrentSceneManager(SceneManager *sm)
Pops the scene manager currently being used to render.
HlmsJsonPbs(HlmsManager *hlmsManager, HlmsJsonListener *listener, const String &additionalExtension)
static const IdString MaterialsPerBuffer
Definition: OgreUnlitProperty.h:45
virtual void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
void doSet(void *target, const String &val)
LayeredBlending()
Class default constructor.
@ FLAG_LEGACY_MATH
Definition: OgreHlmsPbsDatablock.h:77
void doSet(void *target, const String &val)
Definition: OgreQuake3Types.h:161
virtual void setDesiredBitDepths(ushort integerBits, ushort floatBits)
Sets desired bit depth for integer and float pixel format.
void updateCompositeMap()
Performs an update on the terrain composite map based on its dirty region.
virtual VertexElementType getColourVertexElementType(void) const
Get the native VertexElementType for a compact 32-bit colour value for this rendersystem.
virtual void _saveJson(const HlmsDatablock *datablock, String &outString, HlmsJsonListener *listener, const String &additionalTextureExtension) const
GLuint getGLBufferId(void) const
Definition: OgreGL3PlusHardwareIndexBuffer.h:70
const GL3PlusSurfaceDesc & getSurface(size_t attachment)
Definition: OgreGL3PlusFrameBufferObject.h:83
CompositorNode * findNode(IdString aliasName, bool includeShadowNodes=false) const
Finds a node instance with the given aliased name.
void setFromSphere(const Sphere &sphere, size_t index)
Definition: C/OgreArraySphere.h:94
void pushOperand(ParameterPtr parameter, Operand::OpSemantic opSemantic, int opMask=Operand::OPM_ALL, int indirectionLevel=0)
Push a new operand (on the end) to the function.
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:207
PCZone * getHomeZone(void)
bool isFsaaResolveDirty(void) const
Definition: OgreRenderTarget.h:345
@ FB_BACK
Definition: OgreRenderTarget.h:87
virtual void execute(SceneQueryListener *listener)=0
Executes the query and returns each match through a listener interface.
void setCubicTexture(const TexturePtr *const texPtrs, bool forUVW=false)
Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube...
~LodCollapseCostOutside()
virtual void resourceLoadStarted(const ResourcePtr &resource)=0
This event is fired when a declared resource is about to be loaded.
String doGet(const void *target) const
@ LB_BlendHardLight
Definition: OgreShaderExLayeredBlending.h:64
static std::pair< bool, Real > intersects(const Ray &ray, const AxisAlignedBox &box)
Ray / box intersection, returns boolean result and distance.
Specialisation of HighLevelGpuProgram to provide support for CG.
Definition: OgreGLSLESCgProgram.h:40
Definition: OgreCbTexture.h:36
bool setOption(const String &strKey, const void *pValue)
Method for setting a specific option of the Timer.
Definition: Android/OgreTimerImp.h:60
PageProvider * getPageProvider() const
Get the PageProvider which can provide streams for Pages in this world.
Definition: OgrePagedWorld.h:177
Definition: OgreOSXGL3PlusSupport.h:39
void setInnerSize(Real x, Real y, Real z)
Sets the size of the clear space inside the area from where NO particles are emitted.
virtual bool hasBone(const String &name) const
Returns whether this skeleton contains the named bone.
Page class.
Definition: OgrePage.h:51
@ SO_PHONG
Definition: OgreCommon.h:252
Inner class which should also be subclassed to provide profile-specific material generation.
Definition: OgreTerrainMaterialGenerator.h:168
virtual void _addPortal(Portal *newPortal)
Add a portal to the zone.
IDirect3DPixelShader9 * getPixelShader(void)
Gets the pixel shader.
static String getMaskAsString(int mask)
Returns the given mask as string representation.
@ GCT_MATRIX_DOUBLE_2X3
Definition: OgreGpuProgramParams.h:99
SubMesh * clone(const String &newName, Mesh *parentMesh=0)
Makes a copy of this submesh object and gives it a new name.
virtual const String & getGroup(void) const
Gets the group which this resource is a member of.
Definition: OgreResource.h:419
bool isFullyVisible(const AxisAlignedBox &bound) const
String name
Definition: OgreShaderParams.h:79
Struct containing information about a mesh LOD change event for entities.
Definition: OgreLodListener.h:55
unsigned int getColourDepth() const
void _setHeight(Real height)
Sets the height of this element in relation to the screen (where 1.0 = screen width)
virtual void registerThread()
Register the an additional thread which may make calls to rendersystem-related objects.
void _setVaoManager(VaoManager *vaoManager)
will manually set the vao manager the mesh will use when it loads.
Definition: OgreMesh2.h:472
const String & getName(void) const
Returns the name of the emitter.
int getGroupExecutionOrder() const
Get the group execution order of this function atom.
@ ACT_COSTIME_0_1
Cosine of "Time0_1". Equivalent to RenderMonkey's "CosTime0_1".
Definition: OgreGpuProgramParams.h:1190
static void uninitialized_copy(It1 I, It1 E, It2 Dest)
uninitialized_copy - Copy the range [I, E) onto the uninitialized memory starting with "Dest",...
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:418
void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
virtual RaySceneQuery * createRayQuery(const Ray &ray, uint32 mask=0xFFFFFFFF)
Creates a RaySceneQuery for this scene manager.
ID3D11Texture2D * GetTex2D()
Definition: OgreD3D11Texture.h:81
virtual void read(String *string)
virtual String getType() const
Returns the type of the codec as a String.
int input
Definition: OgreX11EGLSupport.h:87
void destroyNodeTrack(unsigned short handle)
Destroys the node track with the given handle.
virtual ~NULLHardwarePixelBuffer()
@ ACT_SPOTLIGHT_PARAMS_ARRAY
Spotlight parameters array of Vector4(innerFactor, outerFactor, falloff, isSpot) innerFactor and oute...
Definition: OgreGpuProgramParams.h:1099
@ GCT_SAMPLER_WRAPPER1D
Definition: OgreGpuProgramParams.h:115
virtual void techniqueEventRaised(MaterialSerializer *ser, MaterialSerializer::SerializeEvent event, bool &skip, const Technique *tech)
virtual void objectDestroyed(MovableObject *)
MovableObject is being destroyed.
Definition: OgreMovableObject.h:77
Common subclass of DataStream for handling data from chunks of memory.
Definition: OgreDataStream.h:315
ImageDownsamplerCube downscale2x_Signed_A8_cube
Definition: OgreImageDownsampler.h:126
AndroidEGLContext(EGLDisplay eglDisplay, const EGLSupport *glsupport, ::EGLConfig fbconfig, ::EGLSurface drawable)
std::pair< bool, Real > intersects(const Sphere &s) const
Tests whether this ray intersects the given sphere.
Definition: OgreRay.h:101
Vector3 getHalfSize(void) const
Gets the half-size of the box.
Definition: OgreAxisAlignedBox.h:725
@ SPC_LIGHTDIRECTION_VIEW_SPACE5
Definition: OgreShaderParameter.h:192
void setMaxActiveActors(uint8 maxActiveActors, IdString workspaceName, bool useAccurateLighting, uint32 width, uint32 height, bool withMipmaps, PixelFormat pixelFormat, bool mipmapMethodCompute)
Setups how many actors can be active at the same time.
Definition: OgreD3D9ResourceManager.h:54
HighLevelGpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
void seek(size_t pos)
Repositions the read point to a specified byte.
StrangeData l[3]
Definition: OgreX11EGLSupport.h:93
int shaderIndex
Definition: OgreQuake3Types.h:248
static const IdString UvDiffuse
Definition: OgreHlmsPbsMobile.h:137
Defines the functionality of a 3D API.
Definition: OgreRenderSystem.h:99
This is a container class for sub render state class.
Definition: OgreShaderRenderState.h:50
static ResourceBackgroundQueue & getSingleton(void)
Override standard Singleton retrieval.
Specialized viewpoint from which an Octree can be rendered.
Definition: OgreOctreeCamera.h:59
ResourceAllocatedObject SubMeshAlloc
Definition: OgreMemoryAllocatorConfig.h:337
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
void loadResource(Resource *res)
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
void merge(const ArrayAabb &rhs)
Merges the passed in box into the current box.
Real y
Definition: OgreVector3.h:54
SkinningType skinningType
Definition: OgreShaderExHardwareSkinning.h:68
virtual void finializeSession()=0
All internal resources should be deleted here.
bool areFixedFunctionLightsInViewSpace() const
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:262
GLenum polygonMode
Definition: OgreGL3PlusHlmsPso.h:51
virtual void unmap(UnmapOptions unmapOption, size_t flushStartElem=0, size_t flushSizeElem=0)
void setAmbientLight(float r, float g, float b)
float getTargetLanguageVersion() const
Return the target shader language version currently in use.
Definition: OgreShaderGenerator.h:152
virtual void read(Matrix4 *m, size_t count=1)
Visibility
Definition: OgrePCZFrustum.h:74
Real getFogStart(void) const
Returns the fog start distance for this pass.
Definition: OgreException.h:203
@ GPU_3DLABS
Definition: OgreRenderSystemCapabilities.h:295
AsyncTicketPtr asyncTicket
Definition: OgreVertexArrayObject.h:187
virtual void _resumeFrame(RenderSystemContext *context)
Resume rendering for a frame.
Factory class for particle emitter of type "Ellipsoid".
Definition: OgreEllipsoidEmitterFactory.h:44
virtual bool _unloadProceduralPage(Page *page, PagedWorldSection *section)
Give a world the opportunity to unload page content procedurally.
Listener(void)
Definition: OgreMovableObject.h:74
static bool createDirectory(const Ogre::String &name)
Create a directory.
@ TU_UAV_NOT_SRV
Texture can be used as an UAV, but not as a regular texture.
Definition: OgreTexture.h:74
virtual void setBlendMode(SkeletonAnimationBlendMode state)
Sets the animation blending mode this skeleton will use.
bool hasScalingShearingSupport()
Only applicable for dual quaternion skinning.
IndirectBufferPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface)
void _cullScenePhase01(const Camera *lodCamera, Viewport *vp, uint8 firstRq, uint8 lastRq)
Tells the Camera to contact the SceneManager to render from it's viewpoint.
virtual void _hlmsPipelineStateObjectCreated(HlmsPso *newPso)
Definition: OgreRenderSystem.h:799
@ PT_MATRIX4
Definition: OgreStringInterface.h:60
void _setViewport(Viewport *vp)
Definition: OgreSceneManager.h:2039
virtual ~SphereSceneQuery()
void needUpdate(bool forceParentUpdate=false)
static const IdString DecalsNormals
Definition: OgreHlms.h:844
@ GPT_COMPUTE_PROGRAM
Definition: OgreGpuProgram.h:55
FORCEINLINE const SimpleMatrixAf4x3 & _getFullTransform(void) const
Gets the full transformation matrix for this node.
Definition: OgreBone.h:288
ImageBlur2D separableBlur_Signed_XXX888
Definition: OgreImageDownsampler.h:134
SharedPtr< AnimableValue > AnimableValuePtr
Definition: OgrePrerequisites.h:345
For GL3+, most (if not all) buffers, can be treated with the same code.
Definition: OgreGLES2BufferInterface.h:42
size_t vertexStart
The base vertex index to start from.
Definition: OgreVertexIndexData.h:89
uint16 variability
The variability of this parameter (see GpuParamVariability)
Definition: OgreGpuProgramParams.h:1432
bool watchForLimit(Real limit, bool greaterThan=true)
Definition: OgreProfiler.h:313
static const IdString DiffuseMapCount12
Definition: OgreHlmsUnlitMobile.h:120
void setPiece(IdString pieceName, const String &pieceContent)
Defines a piece, i.e.
FastArray< MovableObject::MovableObjectArray > VisibleObjectsPerRq
Definition: OgreSceneManager.h:133
virtual void setPosition(const Vector3 &pos)
Sets the position of this emitter relative to the particle system center.
Matrix4 operator*(Real scalar) const
Definition: OgreMatrix4.h:566
GLES2NullPixelBuffer(GLES2NullTexture *parentTexture, const String &baseName, uint32 width, uint32 height, uint32 Null, PixelFormat format)
virtual void setClipPlanes(const PlaneList &clipPlanes)
Sets the user clipping region.
PreApplyTextureAliasesScriptCompilerEvent(Material *material, AliasTextureNamePairList *aliases)
Definition: OgreScriptCompiler.h:503
uint16 maxTexturesPerArray
Unknown means assign based on the individual texture.
Definition: OgreHlmsTextureManager.h:99
void shutdown(void)
Shuts down the system manually.
void loadFromSource(void)
Overridden from GLSLESProgram.
@ CE_UNEXPECTEDTOKEN
Definition: OgreScriptCompiler.h:215
virtual GpuProgram * _getBindingDelegate(void)
Returns the GpuProgram which should be bound to the pipeline.
Definition: OgreGpuProgram.h:278
Real * ptr()
Pointer accessor for direct copying.
Definition: OgreDualQuaternion.h:123
bool getOptionKeys(StringVector &refKeys)
Method for getting all the implementation-specific options of the scene manager.
void setBlendblock(const HlmsBlendblock &blendblock)
Changes the current blendblock for a new one. Pointer can't be null.
void bindGpuProgramParameters(GpuProgramType gptype, GpuProgramParametersSharedPtr params, uint16 mask)
Bind Gpu program parameters.
const Vector3 & getTo(void) const
Gets the front upper right corner of the cell.
Definition: OgreVolumeOctreeNode.h:217
static ArrayInt Or(ArrayInt a, ArrayInt b)
Returns the result of "a | b".
Definition: OgreMathlibC.h:214
static const IdString EnvMapScale
Definition: OgreHlmsPbs.h:396
const Matrix4 & getInverseTransposeWorldMatrix(void) const
void destroyVertexArrayObject(VertexArrayObject *vao)
Destroys the input pointer.
static const uint8 DERIVED_DATA_LIGHTMAP
Definition: OgreTerrain.h:1194
void doSet(void *target, const String &val)
void unset(size_t position)
Definition: OgreBitset.h:71
@ ID_LOD_BIAS
Definition: OgreScriptCompiler.h:867
RotationInterpolationMode
The types of rotational interpolation available.
Definition: OgreAnimation.h:106
virtual ~SceneManagerFactory()
Definition: OgreSceneManager.h:3348
static void mergeContiguousBlocks(BlockVec::iterator blockToMerge, BlockVec &blocks)
@ D3D_INFO
Definition: OgreD3D11Device.h:94
Entity * getDualGrid(SceneManager *sceneManager)
Gets the lazily created entity of the dualgrid debug visualization.
FastArray< UnlitBakedTexture > UnlitBakedTextureArray
Definition: OgreHlmsUnlitDatablock.h:62
SimpleMatrixAf4x3()
Definition: C/OgreArrayMatrixAf4x3.h:196
void _render(const v1::RenderOperation &op)
See RenderSystem.
ArrayAabb *RESTRICT_ALIAS mLocalAabb
Bounding box in local space.
Definition: OgreObjectData.h:54
BindingType
The type of unit to bind the texture settings to.
Definition: OgreTextureUnitState.h:443
void setDirection(Real x, Real y, Real z)
Sets the camera's direction vector.
virtual bool _loadProceduralPage(Page *page)
Give a section the opportunity to prepare page content procedurally.
OldSkeletonInstance(const SkeletonPtr &masterCopy)
Constructor, don't call directly, this will be created automatically when you create an Entity based ...
uint8 kernel[5][5]
Definition: OgreImageDownsampler.h:216
static const IdString macOS
Definition: OgreHlms.h:864
static DynLibManager * getSingletonPtr(void)
Override standard Singleton retrieval.
void setAmbient(const ColourValue &ambient)
Sets the ambient colour reflectance properties of this pass.
CategorisedAllocPolicy< Ogre::MEMCATEGORY_SCENE_OBJECTS > SceneObjAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:269
virtual void setComputeGroupDimensions(Vector3 dimensions)
Sets the number of process groups dispatched by this compute program.
Definition: OgreGpuProgram.h:372
@ ID_ADD_SIGNED
Definition: OgreScriptCompiler.h:759
virtual void destroyAllMovableObjects(void)
Destroy all MovableObjects.
static const IdString BlendModeIndex3
Definition: OgreHlmsPbsMobile.h:159
virtual TagPoint * _createTagPoint(SceneNode *parent, NodeMemoryManager *nodeMemoryManager)
Don't call this function directly.
virtual String toString() const =0
bool isDriverOlderThanVersion(const DriverVersion &v) const
Definition: OgreRenderSystemCapabilities.h:460
const GpuProgramPtr & getTessellationHullProgram(void) const
Gets the Tessellation Hull program used by this pass, only available after _load().
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
virtual ~TerrainMaterialGenerator()
#define ASSUME_NOEXCEPT
Definition: OgreComPtr.h:68
ConstVectorIterator< NodeList > NodeIterator
Definition: OgreRibbonTrail.h:89
virtual void defineTerrain(long x, long y, float constantHeight)
Define a 'slot' in the terrain grid - in this case a flat terrain.
ZoneData * getZoneData(PCZone *zone)
ConstTextureUnitStateIterator getTextureUnitStateIterator(void) const
Get an iterator over the TextureUnitStates contained in this Pass.
OverlayElement * createOverlayElement(const String &instanceName)
See OverlayElementFactory.
Definition: OgreOverlayElementFactory.h:103
SceneBlendFactor mSourceBlendFactorAlpha
Definition: OgreHlmsDatablock.h:174
virtual size_t _asyncDownload(BufferPacked *source, size_t srcOffset, size_t srcLength)
Copies the GPU data in BufferPacked to the StagingBuffer so that it can be later read by the CPU usin...
ArrayReal intersects(const ArrayVector3 &v) const
Returns whether or not this sphere intersects another sphere.
@ TLSS_ALBEDO
Albedo colour (diffuse reflectance colour)
Definition: OgreTerrainMaterialGenerator.h:59
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:81
virtual const String & getType() const
virtual_l2 void setInheritScale(bool inherit)
Tells the node whether it should inherit scaling factors from it's parent node.
String DriverName() const
virtual void finalTargetResized(const RenderTarget *finalTarget)
Called by CompositorManager2 when (i.e.) the RenderWindow was resized, thus our RTs that depend on th...
String devicePattern
Definition: OgreTechnique.h:106
BoneAssignmentIterator getBoneAssignmentIterator(void)
Gets an iterator for access all bone assignments.
Render window creation parameters.
Definition: OgreCommon.h:930
void saveConfig(void)
Saves the details of the current configuration.
bool hasMinVersion(int minMajor, int minMinor) const
Definition: OgreRenderSystemCapabilities.h:280
void setCurrentViewport(const Viewport *viewport)
Sets the current viewport.
static Real ColapseMax(ArrayReal a)
Returns the maximum value of all elements in a.
Definition: OgreMathlibC.h:317
@ FILTER_BILINEAR
Definition: OgreImage.h:453
Utility class to generate a sequentially numbered series of names.
Definition: OgreNameGenerator.h:57
PrePassMode getCurrentPrePassMode(void) const
Definition: OgreSceneManager.h:1384
virtual void setHorizontalAlignment(GuiHorizontalAlignment gha)
Sets the horizontal origin for this element.
@ SKELETON_ANIMATION_LINK
Definition: OgreSkeletonFileFormat.h:104
void bindDrawId(uint32 bindSlotId)
Binds the Draw ID to the currently bound vertex array object.
bool generateMipmaps(bool gammaCorrected, Filter filter=FILTER_BILINEAR)
Generates the mipmaps for this image.
virtual ~FileSystemArchiveFactory()
Definition: OgreFileSystem.h:130
virtual void _render(const v1::RenderOperation &op)
Render something to the active viewport.
size_t getBoolLogicalIndexForPhysicalIndex(size_t physicalIndex)
Retrieves the logical index relating to a physical index in the bool buffer, for programs which suppo...
virtual uint8 waitForTailFrameToFinish(void)
See VaoManager::waitForTailFrameToFinish.
uint8 getBlendTextureCount(uint8 numLayers) const
Get the number of blend textures needed for a given number of layers.
@ ID_MODULATE_X4
Definition: OgreScriptCompiler.h:758
virtual void _destroyVisualData(ParticleVisualData *vis)
Destroy a ParticleVisualData instance.
Definition: OgreParticleSystemRenderer.h:110
virtual bool isCompatible(RenderTarget *renderTarget, bool exactFormatMatch) const
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is,...
virtual size_t getNumFaces() const
Return the number of faces this texture has.
int mNumBrushes
Definition: OgreQuake3Level.h:153
void _notifyWorldGeometryStageEnded(void)
Notify this manager that one stage of world geometry loading has been completed.
Definition: OgreLodOutputProviderCompressedBuffer.h:41
void setSpotlightNearClipDistance(Real nearClip)
Set the near clip plane distance to be used by spotlights that use light clipping,...
Definition: OgreLight.h:340
@ BCT_FLOAT
Definition: OgreGpuProgramParams.h:51
virtual ~TerrainGlobalOptions()
Definition: OgreTerrain.h:1937
Real getFogDensity(void) const
Returns the fog density for this pass.
bool isTemplate(String strName) const
Definition: OgreOverlayManager.h:216
HardwareSkinningTechnique()
Class default constructor.
virtual bool getPolygonModeOverrideable(void) const
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
Definition: OgrePass.h:602
static bool isValidExtent(size_t width, size_t height, size_t depth, PixelFormat format)
Return whether a certain image extent is valid for this image format.
size_t getRequiredIndexCount(void) const
Based on a previous call to defineSurface, establishes the number of indexes required to hold this pa...
bool isCaseSensitive(void) const
Returns whether this archive is case sensitive in the way it matches files.
Definition: OgreZip.h:74
virtual PageID getPageID(const Vector3 &worldPos, PagedWorldSection *section)=0
Get the page ID for a given world position.
Utility class for provides optimised functions.
Definition: OgreOptimisedUtil.h:48
void _changeRenderSystem(RenderSystem *newRs)
Vector2 getDerivedRectSize(void) const
virtual void setAnimationState(const AnimationStateSet &animSet)
Changes the state of the skeleton to reflect the application of the passed in collection of animation...
Real skyDomeCurvature
Definition: OgreSceneManager.h:306
virtual void _notifyParticleRotated(void)
Internal callback used by Particles to notify their parent that they have been rotated.
iterator end()
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:253
@ OT_PATCH_15_CONTROL_POINT
Definition: OgreHlmsPso.h:74
void setBlueAdjust2(float blue)
RenderableArray mRenderables
Definition: OgreMovableObject.h:84
static const IdString UvDiffuseSwizzle5
Definition: OgreUnlitProperty.h:97
float posU
Definition: OgreShaderExTextureAtlasSampler.h:59
virtual OldBone * createBone(void)
Creates a brand new OldBone owned by this Skeleton.
void _getWorldTransforms(Matrix4 *xform) const
Used to transform the overlay when scrolling, scaling etc.
GLSLSeparableProgram * getCurrentSeparableProgram(void)
Get the program pipeline that combines the current program objects.
virtual GL3PlusFBORenderTexture * createRenderTexture(const String &name, const GL3PlusSurfaceDesc &target, bool writeGamma, uint fsaa)
Create a texture rendertarget object.
bool operator==(const VertexElement2 _r) const
Definition: OgreVertexBufferPacked.h:52
void addListener(Listener *lis)
Register a listener on this resource.
@ ID_POINTS
Definition: OgreScriptCompiler.h:696
SceneBlendFactor blendDest
Definition: OgreQuake3Shader.h:76
virtual RenderSystemContext * _pauseFrame(void)
Pause rendering for a frame.
Definition: OgreUnlitProperty.h:130
bool getSplitRotated() const
Sets whether or not to split vertices when tangent space rotates more than 90 degrees around a vertex...
Definition: OgreTangentSpaceCalc.h:157
Definition: OgreGpuProgramManager.h:56
BaseInstanceBatchVTF(IdType id, ObjectMemoryManager *objectMemoryManager, InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap)
uint16 variability
How this parameter varies (bitwise combination of GpuProgramVariability)
Definition: OgreGpuProgramParams.h:160
uint32 numDraws
Definition: OgreCbDrawCall.h:64
virtual unsigned short getNumKeyFrames(void) const
Returns the number of keyframes in this animation.
@ NO_SIDE
Definition: OgrePlane.h:86
virtual void _notifyParentNodeMemoryChanged(void)
@See Node::_callMemoryChangeListeners
@ PCF_4x4
High quality.
Definition: OgreHlmsPbs.h:73
virtual void resize(unsigned int widthPt, unsigned int heightPt)=0
Alter the size of the window.
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
virtual ~CompositorWorkspaceDef()
Definition: OgreCompositorWorkspaceDef.h:127
Real getLoadingOrder(void) const
Gets the relative loading order of scripts of this type.
size_t offset
Definition: OgreGL3PlusVaoManager.h:103
PlanarReflectionActor * addActor(const PlanarReflectionActor &actor)
Adds an actor plane that other objects can use as source for reflections if they're close enough to i...
static const IdString InputLayoutId
Definition: OgreHlms.h:881
@ CB_START_V1_LEGACY_RENDERING
Definition: OgreCbCommon.h:63
FunctionAtomInstanceList::iterator FunctionAtomInstanceIterator
Definition: OgreShaderFunctionAtom.h:256
void setBlendMode(uint8 texType, UnlitBlendModes blendMode)
Sets the blending mode (how the texture unit gets layered on top of the previous texture units).
@ BB_FLAG_INDEX
Definition: OgreBufferPacked.h:96
@ OPS_OUT
The parameter is a output parameter.
Definition: OgreShaderFunctionAtom.h:88
virtual bool getEnabled(void) const
Gets the flag indicating if this emitter is enabled or not.
PropertyDef(const String &name, const String &desc, PropertyType pType)
Construct a property.
Definition: OgreProperty.h:141
virtual void notifyRecreated(const CompositorChannel &oldChannel, const CompositorChannel &newChannel)
@See CompositorNode::notifyRecreated
SharedPtr< T > dynamic_pointer_cast(SharedPtr< U > const &r)
Definition: OgreSharedPtr.h:375
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
virtual const StringVector & getRenderSystemEvents(void) const
Gets a list of the rendersystem specific events that this rendersystem can raise.
Definition: OgreRenderSystem.h:1351
IDirect3DSurface9 * getFSAASurface(IDirect3DDevice9 *d3d9Device)
Accessor for AA surface.
For GL3+, most (if not all) buffers, can be treated with the same code.
Definition: OgreGL3PlusBufferInterface.h:42
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
ConstMapIterator< ChildOldNodeMap > ConstChildOldNodeIterator
Definition: OgreOldNode.h:80
uint32 getNumThreadGroupsX(void) const
Definition: OgreHlmsComputeJob.h:207
GLint getBaseInstanceLocation() const
Definition: OgreGLSLESProgramCommon.h:109
FastArray< Light * > LightArray
Definition: OgreCommon.h:663
bool intersects(const Plane &p) const
Tests whether this box intersects a plane.
Definition: OgreAxisAlignedBox.h:667
@ VECTOR4
Definition: OgreAnimable.h:82
void setConstant(size_t index, const ColourValue &colour)
Sets a ColourValue parameter to the program.
@ GCT_BOOL1
Definition: OgreGpuProgramParams.h:111
CategorisedAllocPolicy< Ogre::MEMCATEGORY_SCENE_CONTROL > SceneCtlAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:268
virtual void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Overridden - see RenderTarget.
std::pair< ResourcePtr, bool > ResourceCreateOrRetrieveResult
Definition: OgreResourceManager.h:150
@ SPC_POSTOLIGHT_OBJECT_SPACE4
Definition: OgreShaderParameter.h:131
virtual void _dispatch(const HlmsComputePso &pso)
virtual void finalize(LodData *data)
Definition: OgreLodOutputProviderMesh.h:46
virtual uint32 fillBuffersForV2(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)=0
MapIterator< ArchiveMap > ArchiveMapIterator
Definition: OgreArchiveManager.h:91
void setUseIdentityView(bool useIdentityView)
Sets whether or not to use an 'identity' view.
Definition: OgreRenderable.h:214
Pose * getPose(ushort index)
Retrieve an existing Pose by index.
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create counter buffer.
Definition: OgreHardwareBufferManager.h:471
@ DisableSort
Definition: OgreRenderQueue.h:113
virtual ~ManualObjectSection()
uint32 getBrdf(void) const
void getFilenameAndResourceGroup(String const **outFilename, String const **outResourceGroup) const
A staging buffer is a buffer that resides on the GPU and be written to/from both CPU & GPU However th...
Definition: OgreGL3PlusStagingBuffer.h:46
static ParameterPtr createConstParamVector3(Vector3 val)
virtual void notifyBeginRenderScene(void)=0
Called when a _renderScene is called in the SceneManager.
virtual unsigned int getPoolSize(void) const
Returns the current size of the billboard pool.
static ProgramWriterManager & getSingleton()
Override standard Singleton retrieval.
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:109
void _defragmentBatch(bool optimizeCulling, InstancedEntityVec &usedEntities, CustomParamsVec &usedParams)
Matrix3(Real fEntry00, Real fEntry01, Real fEntry02, Real fEntry10, Real fEntry11, Real fEntry12, Real fEntry20, Real fEntry21, Real fEntry22)
Definition: OgreMatrix3.h:84
Definition: OgreTerrainAutoUpdateLod.h:92
#define _OgreTerrainExport
Definition: OgreTerrainPrerequisites.h:65
Encapsulates the result of a background queue request.
Definition: OgreResourceBackgroundQueue.h:52
virtual WorldFragmentType getWorldFragmentType(void) const
Gets the current world fragment types to be returned from the query.
@ ACT_LIGHT_POSITION_OBJECT_SPACE
A light position in object space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1042
@ ID_RENDER_SCENE
Definition: OgreScriptCompiler.h:849
void addRenderableV2(size_t threadIdx, uint8 renderQueueId, bool casterPass, Renderable *pRend, const MovableObject *pMovableObject)
Add a renderable (Ogre v2.0, i.e.
TexturePtr getBlendCubemap(void) const
Definition: OgreParallaxCorrectedCubemap.h:223
Real mSurvivingRayFraction
In range (0; 1]; how many rays that fired in the previous bounce should survive for a next round of b...
Definition: OgreInstantRadiosity.h:145
IdString name
Definition: OgreTextureDefinition.h:131
virtual void scriptParseStarted(const String &scriptName, bool &skipThisScript)=0
This event is fired when a script is about to be parsed.
Strategy for determining level of detail.
Definition: OgreLodStrategy.h:54
const Vector4 & getLodCameraPositionObjectSpace(void) const
Real x
Definition: OgreDualQuaternion.h:166
WireAabb(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
void _compileBoneAssignments(void)
Must be called once to compile bone assignments into geometry buffer.
DualQuaternionSkinning()
Class default constructor.
@ FILTER_GAUSSIAN
Applies gaussian filter over the image, then a point sampling reduction This is done at the same time...
Definition: OgreImage.h:459
@See CompositorWorkspace.
Definition: OgreCompositorWorkspaceDef.h:56
size_t find_first_of(const char *val, size_t pos=0) const
Definition: OgreLwConstString.h:127
Main system for managing Render Targets through the use of nodes.
Definition: OgreCompositorManager2.h:104
PCZoneFactoryIterator getPCZoneFactoryIterator(void)
Return an iterator over the PCZone factories currently registered.
@ BlinnPhongFullLegacy
Implements traditional / the original non-PBR blinn phong:
Definition: OgreHlmsPbsDatablock.h:178
void destroyAllSections()
Destroy all world sections.
virtual void _notifyParentNodeMemoryChanged(void)
@See Node::_callMemoryChangeListeners
MeshSerializerImpl_v2_1_R1(VaoManager *vaoManager)
static const Real fDeg2Rad
Definition: OgreMath.h:742
Command object for red adjust (see ParamCommand).
Definition: OgreColourImageAffector.h:45
@ TextureDepth
Definition: OgreResourceTransition.h:50
const Degree & operator+() const
Definition: OgreMath.h:115
virtual void bindBufferGS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Real squaredDistance(const Vector3 &v) const
Returns the square of the minimum distance between a given point and any part of the box.
void attachDepthBuffer(DepthBuffer *depthBuffer)
This function acts very similar to.
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
@ ERR_RENDERINGAPI_ERROR
Definition: OgreException.h:111
void makeCeil(const Vector2 &cmp)
Sets this vector's components to the maximum of its own and the ones of the passed in vector.
Definition: OgreVector2.h:473
float vOffset
Definition: OgrePbsMobileShaderCreationData.h:48
MeshPtr load(const String &filename, const String &groupName, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexBufferShadowed=true, bool indexBufferShadowed=true)
Loads a mesh from a file, making it immediately available for use.
Technique * getSupportedTechnique(unsigned short index)
Gets the indexed supported technique.
Definition: OgreHlmsTextureManager.h:145
void _notifyCounterBufferDestroyed(HardwareCounterBuffer *buf)
Notification that at hardware counter buffer has been destroyed.
static FORCEINLINE const T * rawOffsetPointer(const T *ptr, ptrdiff_t offset)
Returns raw offseted of the given pointer.
Definition: OgreOptimisedUtil.h:213
@ PBSM_REFLECTION
Definition: OgreHlmsPbsPrerequisites.h:72
@ ACT_TEXTURE_VIEWPROJ_MATRIX_ARRAY
Array of view/projection matrices of the first n texture projection frustums.
Definition: OgreGpuProgramParams.h:1146
virtual bool isAdjacencyInfoRequired(void) const
Returns whether this geometry program requires adjacency information from the input primitives.
Definition: OgreGpuProgram.h:368
Level of detail strategy based on distance from camera to an object's bounding sphere.
Definition: OgreDistanceLodStrategy.h:126
float getGreenAdjust2(void) const
virtual void setLodCamera(const Camera *lodCam)
Set a pointer to the camera which should be used to determine LOD settings.
size_t srcOffset
0-started offset relative to the mapped region
Definition: OgreStagingBuffer.h:87
unsigned long getLastVisibleFrame(void)
Definition: OgrePCZSceneNode.h:110
Definition: OgreNaClGLSupport.h:38
uint64 getMillisecondsCPU()
Returns milliseconds since initialisation or last reset, only CPU time measured.
static const String & getPointLightExtruderVs_4_0Debug(void)
Get extruder program source for debug point lights, compatible with vs_4_0.
Definition: OgreShadowVolumeExtrudeProgram.h:258
virtual void shadowTexturesUpdated(size_t numberOfShadowTextures)
Event raised after all shadow textures have been rendered into for all queues / targets but before an...
Definition: OgreSceneManager.h:380
Image & loadDynamicImage(uchar *data, uint32 width, uint32 height, uint32 depth, PixelFormat format, bool autoDelete=false, size_t numFaces=1, uint8 numMipMaps=0)
Stores a pointer to raw data in memory.
static const IdString BlendModeIdx4
Definition: OgreHlmsUnlitMobile.h:129
bool enabled
Definition: OgreCommon.h:171
uint16 batchSize
Number of vertices rendered down one side (not including skirts)
Definition: OgreTerrainQuadTreeNode.h:136
void reset(void)
Resets the object.
void removeReferencesToZone(PCZone *zone)
MultiheadUseType
Definition: OgreD3D9RenderSystem.h:56
float mVpWidth
Definition: OgreCompositorPassDef.h:96
SceneManager * createInstance(const String &instanceName, size_t numWorkerThreads, InstancingThreadedCullingMethod threadedCullingMethod)
Create a new instance of a SceneManager.
Camera const * lodCamera
Camera whose frustum we're to cull against. Must be const (read only for all threads).
Definition: OgreSceneManager.h:174
PlaneBoundedVolume(Plane::Side theOutside)
Constructor, determines which side is deemed to be 'outside'.
Definition: OgrePlaneBoundedVolume.h:59
virtual void OldNodeDestroyed(const OldNode *)
OldNode is being destroyed.
Definition: OgreOldNode.h:98
Default implementation of AxisAlignedBoxSceneQuery.
Definition: OgreSceneManager.h:3297
bool mScissorTestEnabled
Definition: OgreHlmsDatablock.h:79
Definition: OgreHlmsPso.h:297
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
@ TVC_DIFFUSE
Definition: OgreCommon.h:326
size_t getWorldMatrixCount(void) const
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
static const uint16 WORKQUEUE_PREPARE_REQUEST
Definition: OgrePage.h:191
@ PF_FLOAT16_R
16-bit pixel format, 16 bits (float) for red
Definition: OgrePixelFormat.h:122
OverlayElement(const String &name)
Constructor: do not call direct, use OverlayManager::createElement.
static MaterialManager * getSingletonPtr(void)
Override standard Singleton retrieval.
void determineGridLocation(const Vector2 &gridpos, int32 *x, int32 *y)
Convert a grid position into a row and column index.
void getRenderOperation(RenderOperation &op, bool casterPass)
void setAnimationMatrix(uint8 textureUnit, const Matrix4 &matrix)
@ ID_WIREFRAME
Definition: OgreScriptCompiler.h:695
Quaternion(const Vector3 *akAxis)
Construct a quaternion from 3 orthonormal local axes.
Definition: OgreQuaternion.h:87
bool compile(const bool checkErrors=false)
Compile source into shader object.
bool getInitialized()
Definition: OgreGLES2Context.h:58
ForwardPlusBase.
Definition: OgreForwardPlusBase.h:53
ID3D11Buffer * getVboName(void) const
Definition: OgreD3D11BufferInterfaceBase.h:53
@ BP_TYPE_TEX
Definition: OgreBufferPacked.h:87
@ ACT_TRANSPOSE_VIEWPROJ_MATRIX
Provides transpose of concatenated view and projection matrices.
Definition: OgreGpuProgramParams.h:954
GeometryBucket(MaterialBucket *parent, const String &formatString, const VertexData *vData, const IndexData *iData)
@ ACT_FAR_CLIP_DISTANCE
This variable provides the far clip distance as a floating point value.
Definition: OgreGpuProgramParams.h:1264
GLint mU
Definition: OgreGLES2HlmsSamplerblock.h:54
@ VET_INT2
Definition: OgreVertexElements.h:96
virtual ~STBIImageCodec()
Definition: OgreSTBICodec.h:56
void dump(std::ofstream &of) const
Dump contents for diagnostics.
Ogre::Real outsideWalkAngle
If outsideWeight is enabled, this will set the angle how deep the algorithm can walk inside the mesh.
Definition: OgreLodConfig.h:162
@ ID_STARTING_SLOT
Definition: OgreScriptCompiler.h:931
TextureUnitState::TextureAddressingMode addressMode
Definition: OgreQuake3Shader.h:79
NULLHardwarePixelBuffer(uint32 inWidth, uint32 inHeight, uint32 inDepth, PixelFormat inFormat, bool hwGamma, HardwareBuffer::Usage usage)
Matrix4()
Default constructor.
Definition: OgreMatrix4.h:98
virtual int32 getCellRangeMaxX() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:169
int getActualWidth(void) const
Gets one of the actual dimensions of the viewport, a value in pixels.
OptimisedUtil(void)
Definition: OgreOptimisedUtil.h:64
virtual GLint getAttributeIndex(VertexElementSemantic semantic, uint index)
Get the index of a non-standard attribute bound in the linked code.
AnyNumeric(const AnyNumeric &other)
Definition: OgreAny.h:239
static bool isCompressed(PixelFormat format)
Shortcut method to determine if the format is compressed.
virtual Real _getDerivedTop(void)
Gets the 'top' position as derived from own left and that of parents.
Definition: OgreGL3PlusNullTexture.h:69
Profile(TerrainMaterialGenerator *parent, const String &name, const String &desc)
Definition: OgreTerrainMaterialGenerator.h:174
Definition: OgreHlmsPbsDatablock.h:57
virtual void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
iterator erase(iterator first, iterator last)
Definition: OgreFastArray.h:245
@ ACT_DERIVED_SCENE_COLOUR
The derived scene colour, with 'r', 'g' and 'b' components filled with sum of derived ambient light c...
Definition: OgreGpuProgramParams.h:1110
bool requiresTextureFlipping() const
Definition: OgreGLES2RenderTexture.h:58
@ NO_CORNERS
Definition: OgreCompositorPassQuadDef.h:72
@ CB_SET_TEXTURE_BUFFER_INVALID
Definition: OgreCbCommon.h:59
virtual void read(Vector3 *vec, size_t count=1)
@ WFT_PLANE_BOUNDED_REGION
Return pointers to convex plane-bounded regions.
Definition: OgreSceneQuery.h:81
@ INTERSECT_NO_CROSS
Definition: OgrePortalBase.h:165
virtual Chunk * createInstance(void)
Overridable factory method.
@ ID_SCENE_BLEND_OP
Definition: OgreScriptCompiler.h:663
void setDoubleSided(bool bDoubleSided)
For area lights and custom 2d shapes, specifies whether the light lits in both directions (positive &...
#define ACCUM3(x, y, z, factor)
list< OptimisedSubMeshGeometry * >::type OptimisedSubMeshGeometryList
Definition: OgreStaticGeometry.h:150
ForwardClustered(uint32 width, uint32 height, uint32 numSlices, uint32 lightsPerCell, uint32 decalsPerCell, float minDistance, float maxDistance, SceneManager *sceneManager)
VertexElementSemantic mSemantic
The meaning of the element.
Definition: OgreVertexBufferPacked.h:42
GLSLShader * getFragmentShader() const
Definition: OgreGLSLProgram.h:140
void setFrameSmoothingPeriod(Real period)
Sets the period over which OGRE smooths out fluctuations in frame times.
Definition: OgreRoot.h:996
vector< Brush * >::type NodeBrushList
Definition: OgreBspNode.h:152
void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
PageID calculatePageID(int32 x, int32 y, int32 z)
void doSet(void *target, const String &val)
static CgFxScriptLoader & getSingleton(void)
Override standard Singleton retrieval.
void loadFromAoS(const SimpleMatrix4 *RESTRICT_ALIAS src)
bool getMapL8toRGB8(void) const
OldBone(const String &name, unsigned short handle, Skeleton *creator)
Constructor, not to be used directly (use OldBone::createChild or Skeleton::createBone)
void attachChildShader(const String &name)
Attach another GLSL Shader to this one.
FastArray(size_t count, const T &value)
Creates an array pushing the value N times.
Definition: OgreFastArray.h:153
size_t mInstancesWritten
Definition: OgreInstanceBatchHW_VTF.h:93
EdgeGroupList edgeGroups
All edge groups of this edge list.
Definition: OgreEdgeListBuilder.h:132
void remove(const String &filename)
virtual Real getBoundingRadius() const
Overridden from MovableObject.
bool getPoseHalfPrecision() const
@ DEFORM_FUNC_MOVE
Definition: OgreQuake3Types.h:138
Command object for billboard type (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:64
virtual void _positionsOutOfDate(void)
Tell the object and its children to recalculate.
void addConfig(void)
Add any special config values to the system.
ImageBlur2D separableBlur_Signed_XX88
Definition: OgreImageDownsampler.h:135
const String & getFriendlyName(void) const
See RenderSystem.
GL3PlusDefaultHardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage)
PCZone * createZoneFromFile(const String &zoneTypeName, const String &zoneName, PCZSceneNode *parentNode, const String &filename)
Create a zone from a file (type of file depends on the zone type.
ImageDownsampler2D downscale2x_XXXA8888
Definition: OgreImageDownsampler.h:57
void licenseExpired(HardwareBuffer *buffer)
Overridden member from HardwareBufferLicensee.
Real getScope(void) const
Gets the scope (percentage of particles which are randomised).
Specialisation of HardwareIndexBuffer for emulation.
Definition: OgreDefaultHardwareBufferManager.h:77
virtual void addListener(Listener *l)
Add a listener to this camera.
void unlock()
Definition: OgreHardwareBuffer.h:375
@ SPFM_NONE
Don`t free resource at all, lifetime controlled externally.
Definition: OgreSharedPtr.h:52
Real getCachedDistanceToCameraAsReal(void) const
Returns the distance to camera as calculated in @cullFrustum.
@ GCT_UINT4
Definition: OgreGpuProgramParams.h:110
void setExtents(const Vector3 &min, const Vector3 &max)
Sets both minimum and maximum extents at once.
Definition: OgreAxisAlignedBox.h:248
Vector3 convertLocalToWorldDirectionUpdated(const Vector3 &localDir, bool useScale)
Definition: OgreNode.h:731
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
static PixelFormat _getClosestSupportedPF(PixelFormat ogrePF)
utility method, find closest Ogre pixel format that D3D11 can support
@ FILTER_BOX
Definition: OgreImage.h:454
ushort getComputeProgramConstantBoolCount(void) const
The number of boolean constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:938
Real getBoneBoundingRadius() const
Gets the radius used to inflate the bounding box around the bones.
virtual void processMaterialName(Mesh *mesh, String *name)=0
Called to override the loading of the given named material.
@ ET_USCROLL
Constant u scrolling effect.
Definition: OgreTextureUnitState.h:79
String name
Definition: OgreStringInterface.h:69
void setConfigOption(const String &name, const String &value)
virtual void _setTessellationHullTexture(size_t unit, const TexturePtr &tex)
MeshSerializerImpl_v1_2()
void _initParticle(Particle *pParticle)
See ParticleEmitter.
virtual bool hasMovableObject(MovableObject *m)
Returns if this SceneManager contains the specified MovableObject.
static GpuProgramManager * getSingletonPtr(void)
Override standard Singleton retrieval.
virtual void setFsaaResolved()
Definition: OgreGL3PlusNullTexture.h:108
void removeTagPoint(TagPoint *tagPoint)
static thread_local std::int64_t m_VarCounter
Definition: OgreThreadDefinesSTD.h:79
static const Vector3 UNIT_SCALE
Definition: OgreVector3.h:821
const String & getMovableType(void) const
Returns the type name of this object.
bool endRenderingQueued(void)
Check for planned end of rendering.
bool isVertexBufferShadowed(void) const
Gets whether or not this meshes vertex buffers are shadowed.
Definition: OgreMesh.h:638
static const IdString TwoSidedLighting
Definition: OgreHlmsPbs.h:346
const String & getUnsupportedTechniquesExplanation() const
Gets a string explaining why any techniques are not supported.
Definition: OgreMaterial.h:238
BufferPool(uint32 _hash, uint32 slotsPerPool, ConstBufferPacked *_materialBuffer, BufferPacked *_extraBuffer)
Definition: OgreNULLMultiSourceVertexBufferPool.h:40
bool getUseColumnMajorMatrices() const
Returns whether Ogre will pass auto-bound matrices as column-major.
Definition: OgreShaderProgram.h:190
uint16 getDepthLevel() const
Returns how deep in the hierarchy we are (eg. 0 -> root node, 1 -> child of root)
Definition: OgreNode.h:251
String doGet(const void *target) const
virtual void setVisible(bool visible)
Set the visibility state.
Definition: OgreRenderWindow.h:142
@ M_SUBMESH_M_GEOMETRY
Definition: OgreMeshFileFormat.h:86
bool hasMoreElements() const
Returns true if there are more items in the collection.
Definition: OgreIteratorWrapper.h:97
AmbientLightMode getAmbientLightMode(void) const
Definition: OgreHlmsPbs.h:278
ID3D11DomainShader * getDomainShader(void) const
static void softwareVertexMorph(Real t, const HardwareVertexBufferSharedPtr &b1, const HardwareVertexBufferSharedPtr &b2, VertexData *targetVertexData)
Performs a software vertex morph, of the kind used for morph animation although it can be used for ot...
const EntitySet * getSkeletonInstanceSharingSet() const
Returns a pointer to the set of entities which share a OldSkeletonInstance.
Definition: OgreEntity.h:572
virtual const String & getMovableType(void) const
Returns the type name of this object.
virtual const String & getTargetLanguage(void) const
Definition: OgreShaderCGProgramWriter.h:129
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
GLCounterBufferList::iterator GLCounterBufferIterator
Definition: OgreGLSLProgram.h:79
@ CB_LOW_LEVEL_MATERIAL
Definition: OgreCbCommon.h:69
void destroyTexBuffer(TexBufferPacked *texBuffer)
Destroys the given texture buffer created with createTexBuffer.
virtual ~InstanceBatchHW()
const String & getShaderProfile(void) const
Definition: OgreHlms.h:427
@ PBSM_METALLIC
Definition: OgreHlmsPbsPrerequisites.h:60
@ GCT_SAMPLER1D
Definition: OgreGpuProgramParams.h:72
vector< UavDependency >::type UavDependencyVec
Definition: OgreCompositorPassDef.h:158
Vector3 & getMinimum(void)
Gets a modifiable version of the minimum corner of the box.
Definition: OgreAxisAlignedBox.h:157
bool isVSyncEnabled() const
Indicates whether vertical sync is activated for the window.
@ SPC_LIGHTDIRECTION_WORLD_SPACE5
Definition: OgreShaderParameter.h:182
virtual ~EdgeListBuilder()
void copyDataImpl(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
void clear() const
Clear all user objects from this binding.
void destroy(const String &name)
Destroys an existing overlay by name.
bool isResourceGroupInGlobalPool(const String &name)
Checks the status of a resource group.
virtual const String & getMaterialName(void) const
Gets the name of the material this element uses.
Light(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
Normal constructor.
Definition: OgreGLES2VaoManager.h:58
D3D11DepthBuffer(uint16 poolId, D3D11RenderSystem *renderSystem, ID3D11Texture2D *depthStencilResource, ID3D11DepthStencilView *depthBufferView, ID3D11ShaderResourceView *depthTextureView, uint32 width, uint32 height, uint32 fsaa, uint32 multiSampleQuality, PixelFormat pixelFormat, bool isDepthTexture, bool isManual)
String getBottomRightBorderUVString() const
ImageBlur2D separableBlur_Signed_XXXA8888
Definition: OgreImageDownsampler.h:133
void _setGlTextureName(GLuint textureName)
SmallVectorTemplateBase(size_t Size)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:353
AreaOfInterest(const Aabb &_aabb, Real _sphereRadius)
Definition: OgreInstantRadiosity.h:184
virtual int32 getPageRangeMinY() const
get the index range of all Pages (values outside this will be ignored)
size_t getTextureAliasCount(void) const
Gets the number of texture aliases assigned to the sub mesh.
Definition: OgreSubMesh.h:230
@ TEX_TYPE_CUBE_MAP
3D cube map, used in combination with 3D texture coordinates
Definition: OgreTexture.h:97
void getAutoconfig(v1::MeshPtr &inMesh, LodConfig &outLodConfig)
Fills Lod Config with a config, which works on any mesh.
void setNumVertexBlendMatrices(ushort num)
Definition: OgreRenderSystemCapabilities.h:494
#define OGRE_MEMORY_TRACKER
Definition: OgrePrerequisites.h:46
int8 kernelStartX
Definition: OgreImageDownsampler.h:217
static const IdString ReceiveShadows
Definition: OgreHlmsPbs.h:347
map< VertexBufferPacked *, VertexBufferPacked * >::type SharedVertexBufferMap
When cloning Vaos, some vertex buffers are used multiple times for LOD'ing purposes (only the IndexBu...
Definition: OgreVertexArrayObject.h:43
virtual void _render(const v1::CbDrawCallStrip *cmd)
IlluminationRenderStage _getCurrentRenderStage() const
Definition: OgreSceneManager.h:3193
virtual bool isVisible(void) const
Indicates whether the window is visible (not minimized or obscured)
Definition: OgreRenderWindow.h:138
const String & getName() const
Definition: OgrePagedWorld.h:76
InstancedEntity(IdType id, ObjectMemoryManager *objectMemoryManager, InstanceBatch *batchOwner, uint32 instanceID, BoneMemoryManager *boneMemoryManager, InstancedEntity *sharedTransformEntity=NULL)
virtual void setCellSize(Real sz)
Set the size of the cells in the grid.
Factory object for creating WireAabb instances.
Definition: OgreWireAabb.h:63
bool getEnablePlanarReflection(uint8 textureUnit) const
@ SKELETON_ANIMATION_TRACK
Definition: OgreSkeletonFileFormat.h:90
HLSL program writer factory implementation.
Definition: OgreShaderHLSLProgramWriter.h:120
virtual void _renderEmulatedNoBaseInstance(const CbDrawCallIndexed *cmd)
Definition: OgreRenderSystem.h:1093
Definition: OgreGpuProgramManager.h:49
Definition: OgrePlanarReflections.h:45
Definition: OgreD3D11DepthTexture.h:37
const void * getShadowCopy(void) const
Definition: OgreBufferPacked.h:295
BillboardParticleRenderer(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *sceneManager)
virtual ~GLSLESProgramPipeline()
Abstract class defining common features of hardware buffers.
Definition: OgreHardwareBuffer.h:76
Camera(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *sm)
Standard constructor.
virtual void read(Plane *plane, size_t count=1)
int mesh_cp[2]
Definition: OgreQuake3Types.h:199
virtual bool _unprepareProceduralPage(Page *page, PagedWorldSection *section)
Give a world the opportunity to unprepare page content procedurally.
Definition: OgreHlmsCompute.h:194
virtual void apply(const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
Applies an animation track to the designated target.
const Vector3 getCenterFrontTop(void) const
Gets the center of the corners 6, 7.
Definition: OgreVolumeOctreeNode.h:364
@ SPFM_DELETE_T
Use OGRE_DELETE_T to free (only MEMCATEGORY_GENERAL supported)
Definition: OgreSharedPtr.h:48
static const Aabb BOX_ZERO
Definition: C/OgreAabb.h:169
String getTopLeftBorderUVString() const
bool operator==(const TerrainLayerDeclaration &dcl) const
Definition: OgreTerrainMaterialGenerator.h:136
@ UNLIT_BLEND_SCREEN
Definition: OgreHlmsUnlitPrerequisites.h:70
@ ID_STENCIL_VALUE
Definition: OgreScriptCompiler.h:905
static const size_t c_ForwardPlusNumFloat4PerDecal
Definition: OgreForwardPlusBase.h:48
bool useDefaultPool()
Will this texture need to be in the default pool?
virtual void collectLights(Camera *camera)
map< GpuResource *, ResourceAccess::ResourceAccess >::type ResourceAccessMap
Definition: OgreResourceTransition.h:138
vector< LightClosest >::type LightClosestVec
Definition: OgreCommon.h:718
CompositorManager2 * getCompositorManager2() const
Definition: OgreRoot.h:324
GpuConstantDefinitionMap map
Total size of the bool buffer required.
Definition: OgreGpuProgramParams.h:489
MaterialIterator getMaterialIterator(void)
Get an iterator over the materials in this LOD.
HardwareIndexBufferSharedPtr(HardwareIndexBuffer *buf)
size_t calculateSize(void) const
void saturate(void)
Clamps colour value to the range [0, 1].
Definition: OgreColourValue.h:111
const String & getType() const
Get the type of the object to be created.
Definition: OgrePortal.h:90
void _notifyEntityMeshLodChanged(EntityMeshLodChangedEvent &evt)
Notify that an entity mesh LOD change event has occurred.
@ OT_PATCH_17_CONTROL_POINT
Definition: OgreHlmsPso.h:76
StencilStateOp()
Definition: OgreCommon.h:136
Real _m[16]
Definition: OgreMatrix4.h:91
static const String & getDirectionalLightExtruderVs_glslesDebug(void)
Get extruder program source for debug directional lights, compatible with glsles.
Definition: OgreShadowVolumeExtrudeProgram.h:272
static const IdString RenderDepthOnly
Definition: OgreHlms.h:824
virtual void deinitGPUProfiling(void)
unsigned int useCount() const
Definition: OgreSharedPtr.h:286
uint8 mLastRq
Definition: OgreInstantRadiosity.h:132
~D3D9HardwareOcclusionQuery()
Object destructor.
OGRE_STATIC_MUTEX(msPassGraveyardMutex)
std::size_t size_type
Definition: OgreMemorySTLAllocator.h:91
v1::SubEntity * subEntity
The sub-entity whose material's level of detail has changed.
Definition: OgreLodListener.h:76
uint32 getNumBlocksX(void) const
Definition: OgreIrradianceVolume.h:120
bool _getErrorsFromQueue() const
virtual void _notifyAttached(Node *parent)=0
Delegated to by ParticleSystem::_notifyAttached.
const AxisAlignedBox & getAABB() const
Get the AABB (local coords) of the entire terrain.
virtual bool sortLightsAffectingFrustum(LightList &lightList)
Hook to allow the listener to override the ordering of lights for the entire frustum.
Definition: OgreSceneManager.h:422
String manualName
Only relevant if mIsLodManual is true, the name of the alternative mesh to use.
Definition: OgreMesh.h:1061
Hlms::RenderableCache mergedCache
Definition: OgreHlmsDiskCache.h:136
Container struct to allow params to safely & update shared list of logical buffer assignments.
Definition: OgreGpuProgramParams.h:573
static String DEFAULT_RESOURCE_GROUP_NAME
Default resource group name.
Definition: OgreResourceGroupManager.h:266
void setMaterialAtlasingAttributes(Ogre::Material *material, IndexPositionMode mode, ushort offset, bool autoAdjustBorders)
Set the default attributes concerning atlas texture processing for a specific material.
@ M_GEOMETRY_VERTEX_DECLARATION
Definition: OgreMeshFileFormat.h:214
long long int64
Definition: OgrePlatform.h:462
SharedPtr< LodInputProvider > LodInputProviderPtr
Definition: OgreLodPrerequisites.h:67
virtual RenderTarget * detachRenderTarget(const String &name)
Detaches the render target with the passed name from the render system and returns a pointer to it.
static const Real EPSILON
Definition: OgreMatrix3.h:266
@ ID_MIRROR
Definition: OgreScriptCompiler.h:740
unsigned int getNumOutputs(void) const
virtual const String & getType() const
vector< TextureAtlasRecord >::type TextureAtlasTable
Definition: OgreShaderExTextureAtlasSampler.h:68
Definition: OgreHlms.h:890
const D3D11_SIGNATURE_PARAMETER_DESC & getInputParamDesc(unsigned int index) const
void _setBoneBoundingRadius(Real radius)
Manually set the bone bounding radius.
void doSet(void *target, const String &val)
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
Definition: OgreCommon.h:728
virtual void abortRequestsByChannel(uint16 channel)
Abort all previously issued requests in a given channel.
@ TextureEffectPlay_ASAP
Video starts out paused.
Definition: OgreExternalTextureSource.h:63
size_t getUsedMemory() const
Gets used memory in bytes (not including waste)
Vector3 reflNormal
Definition: OgrePlanarReflections.h:80
bool hasShadowCasterVertexProgram(void) const
Returns true if this pass uses a shadow caster vertex program.
Definition: OgrePass.h:198
ImageDownsamplerCube downscale2x_XA88_cube
Definition: OgreImageDownsampler.h:81
bool hasShaderBasedTechnique(const String &materialName, const String &srcTechniqueSchemeName, const String &dstTechniqueSchemeName) const
Checks if a shader based technique has been created for a given technique.
void setVendor(GPUVendor v)
Definition: OgreRenderSystemCapabilities.h:444
ExceptionCodes
Static definitions of error codes.
Definition: OgreException.h:107
void _deleteInitialData(void)
GLuint vertexBufferVbo
Definition: OgreGL3PlusVaoManager.h:100
size_t getVboPoolIndex(void)
Definition: OgreGL3PlusBufferInterface.h:67
GlyphInfo(CodePoint id, const UVRect &rect, Real aspect)
Definition: OgreFont.h:147
VectorImpl::const_reference const_reference
Definition: OgreCommon.h:480
void assignVertexData(uint16 treeDepthStart, uint16 treeDepthEnd, uint16 resolution, uint sz)
Assign vertex data to the tree, from a depth and at a given resolution.
virtual void lodUpdateImpl(const size_t numNodes, ObjectData t, const Camera *camera, Real bias) const
virtual ~DefaultGpuBufferAllocator()
bool isNull()
Definition: OgreD3D11Device.h:59
GLuint getShaderID(void) const
Get the OGRE assigned shader ID.
Definition: OgreGLSLESShader.h:141
Octree * mOctant
Octree this node is attached to.
Definition: OgreOctreeZone.h:239
HlmsUnlitMobile(Archive *dataFolder, ArchiveVec *libraryFolders)
Block(size_t _offset, size_t _size)
Definition: OgreGL3PlusVaoManager.h:55
TerrainLodManager * requestee
Definition: OgreTerrainLodManager.h:69
size_t getDependencyCount() const
Get the number of external libs this program depends on.
@ SPC_POSTOLIGHT_TANGENT_SPACE6
Definition: OgreShaderParameter.h:163
void getValue(const String &name, T &value) const
Get a named property value.
Definition: OgreProperty.h:318
void addConfig()
Add any special config values to the system.
void importSkeleton(DataStreamPtr &stream, Skeleton *pDest)
Imports Skeleton and animation data from a .skeleton file DataStream.
virtual void findVisibleNodes(PCZCamera *, NodeList &visibleNodeList, RenderQueue *queue, VisibleObjectsBoundsInfo *visibleBounds, bool onlyShadowCasters, bool displayNodes, bool showBoundingBoxes)=0
Find and add visible objects to the render queue.
FrustrumExtentsType
Specify how the frustrum extents are represented.
Definition: OgreFrustum.h:83
GLSL program writer factory implementation.
Definition: OgreShaderGLSLProgramWriter.h:122
String token
Definition: OgreScriptCompiler.h:68
String path
Path name; separated by '/' and ending with '/'.
Definition: OgreArchive.h:58
Definition: OgreNULLVaoManager.h:95
PageContentCollectionFactory()
Definition: OgrePageContentCollectionFactory.h:50
virtual void setPreferredIntegerBitDepth(ushort bits, bool reloadTextures=true)
Sets preferred bit depth for integer pixel format textures.
Frustum const * frustum
Definition: OgreSceneManager.h:228
Atom XInternAtom(Display *nativeDisplayType, char *name, X11Bool isTrue)
GLES2Context * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
CSGNegateSource(void)
Constructor.
static D3DBLENDOP get(SceneBlendOperation sbo)
return a D3D9 equivalent for a Ogre SceneBlendOperation value
An animation sequence.
Definition: OgreAnimation.h:92
@ SPC_TEXTURE_ARRAY
Definition: OgreShaderParameter.h:296
virtual bool getOptionValues(const String &strKey, StringVector &refValueList)
Method for getting all possible values for a specific option.
Definition: OgreSceneManager.h:1891
virtual DataStreamPtr open(const String &filename, bool readOnly=true)=0
Open a stream on a given file.
void fillBuffer(Ogre::v1::IndexData *data)
if NULL, then the previous Lod level's buffer is used. (compression)
struct Ogre::Volume::ChunkRequest ChunkRequest
Data being passed around while loading.
Real getDistance(const Vector3 &rkPoint) const
This is a pseudodistance.
float getRedAdjust2(void) const
ConstVectorRange(const T &c)
Constructor.
Definition: OgreIteratorRange.h:192
CompositorShadowNode * findOrCreateShadowNode(IdString nodeDefName, bool &bCreated)
Finds a shadow node given it's definition name.
void load(DataStreamPtr &stream)
Loads constant definitions from a stream, compatible with GpuProgram::setManualNamedConstantsFile.
virtual void setRequestsAccepted(bool accept)=0
Set whether to accept new requests or not.
void _notifyStagingBufferLeftZeroRef(StagingBuffer *stagingBuffer)
virtual HardwareVertexBufferSharedPtr allocateVertexBufferCopy(const HardwareVertexBufferSharedPtr &sourceBuffer, BufferLicenseType licenseType, HardwareBufferLicensee *licensee, bool copyData=false)
Allocates a copy of a given vertex buffer.
virtual ConfigOptionMap & getConfigOptions(void)
Particle emitter which emits particles randomly from points inside an ellipsoid.
Definition: OgreEllipsoidEmitter.h:47
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:214
virtual ~ShadowCameraSetup()
Need virtual destructor in case subclasses use it.
Definition: OgreShadowCameraSetup.h:80
@ ID_COMP_FUNC
Definition: OgreScriptCompiler.h:915
virtual void addMicrocodeToCache(const String &source, const Microcode µcode)
Adds a microcode for a program to the microcode cache.
Command object for setting the caption.
Definition: OgreTextAreaOverlayElement.h:167
@ FFP_PS_TEXTURING
Definition: OgreShaderFFPRenderState.h:60
virtual bool isReloadable(void) const
Returns true if the Resource is reloadable, false otherwise.
Definition: OgreResource.h:286
virtual void clearUAVs(void)=0
By default queueBindUAV will keep all other slots intact.
static const ArrayReal INFINITEA
Definition: OgreMathlibC.h:59
Definition: OgreQuake3Types.h:245
virtual ~NULLAsyncTicket()
void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
GL3PlusMultiSourceVertexBufferPool(size_t vboPoolIndex, GLuint vboName, const VertexElement2VecVec &vertexElementsBySource, size_t maxVertices, BufferType bufferType, size_t internalBufferStart, VaoManager *vaoManager)
void skip(long count)
Skip a defined number of bytes.
Vector3 mC0
Definition: OgreVolumeDualGridGenerator.h:45
@ VET_USHORT4
Definition: OgreVertexElements.h:94
virtual Page * getPage(PageID pageID)
Retrieves a Page.
CbBase(uint16 cmdType)
Definition: OgreCbCommon.h:77
@ PT_UNSIGNED_INT
Definition: OgreStringInterface.h:52
SubEntity * getSubEntity(size_t index)
Gets a pointer to a SubEntity, ie a part of an Entity.
bool isValid() const
Definition: OgreCompositorChannel.h:65
Real getBoneWeight(IdString boneName) const
Gets the current per-bone weight of a particular bone.
bool hasVertexProgram(void) const
Returns true if this pass uses a programmable vertex pipeline.
Definition: OgrePass.h:186
Definition: OgreCompositorNamedBuffer.h:47
virtual void bakeLodLevel(LodData *data, int lodIndex)
const IteratorType & begin()
Bookmark to the begin of the underlying collection.
Definition: OgreIteratorWrapper.h:110
bool hasClosedHull(void) const
Checks if the body has a closed hull.
void setTextureNameAlias(const String &name)
Set the alias name used for texture frame names.
Real distance
Distance along the ray.
Definition: OgreSceneQuery.h:352
virtual void destroyAllAnimationStates(void)
Removes all animation states created using this SceneManager.
GL3PlusTextureManager(GL3PlusSupport &support)
SuperClass::iterator iterator
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:454
const CompositorPass * getCurrentCompositorPass(void) const
Note: May be null.
Definition: OgreSceneManager.h:2824
uint8 getShadowMapSupportedLightTypes(void) const
Definition: OgreCompositorPassDef.h:222
virtual void resize(unsigned int width, unsigned int height)
Alter the size of the window.
static const IdString LightsDirectional
Definition: OgreHlms.h:800
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreGLES2DepthTexture.h:108
virtual uint8 waitForTailFrameToFinish(void)=0
Returns the current frame # (which wraps to 0 every mDynamicBufferMultiplier times).
void setSpaceWidth(Real width)
IndexMap blendIndexToBoneIndexMap
Definition: OgreSubMesh.h:116
~HardwareBufferLockGuard()
Definition: OgreHardwareBuffer.h:373
static CmdBlueAdjust msBlueCmd
Definition: OgreColourFaderAffector.h:135
@ PF_ETC2_RGB8
ETC2 (Ericsson Texture Compression)
Definition: OgrePixelFormat.h:248
ArrayVector3 xAxis(void) const
Returns the X orthonormal axis defining the quaternion.
void increaseLodLevel(long x, long y, bool synchronous=false)
Loads terrain's next LOD level.
void removeInstancedEntity(InstancedEntity *instancedEntity)
Removes an InstancedEntity from the scene retrieved with getNewInstancedEntity, putting back into a q...
void getMinMaxDepthRange(const Frustum *shadowMapCamera, Real &outMin, Real &outMax) const
@See CompositorShadowNode::getMinMaxDepthRange
DefaultHardwareVertexBuffer(size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage)
ArrayVector3 yAxis(void) const
Returns the Y orthonormal axis defining the quaternion.
void clearAutoConstants(void)
Clears all the existing automatic constants.
virtual ~GLES2MultiSourceVertexBufferPool()
virtual void setStencilBufferParams(uint32 refValue, const StencilParams &stencilParams)
This method allows you to set all the stencil buffer parameters in one call.
uint32 getHeight(void) const
Returns the height of the texture.
Definition: OgreTexture.h:221
ScriptCompilerListener * getListener()
Returns the currently set listener used for compiler instances.
list< Plane >::type * planes
Planes bounding a convex region, only applicable for WFT_PLANE_BOUNDED_REGION.
Definition: OgreSceneQuery.h:109
String getRenderSystemName(void) const
Get the identifier of the rendersystem from which these capabilities were generated.
Definition: OgreRenderSystemCapabilities.h:822
uint32 getNumThreadGroupsY(void) const
Definition: OgreHlmsComputeJob.h:208
void setLocalAabb(const Aabb box)
Sets the local axis-aligned bounding box for this object.
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create a counter buffer.
void setProfiles(const StringVector &profiles)
Sets the Cg profiles which can be supported by the program.
static AbsolutePixelCountLodStrategy * getSingletonPtr(void)
Override standard Singleton retrieval.
void setAutoBuildEdgeLists(bool autobuild)
Sets whether or not this Mesh should automatically build edge lists when asked for them,...
Definition: OgreMesh.h:921
virtual ~RenderSystem()
Destructor.
PageManager * getManager() const
Definition: OgrePageStrategy.h:88
SharedPtr< Parameter > ParameterPtr
Definition: OgreShaderPrerequisites.h:72
virtual const AxisAlignedBox & getWorldBoundingBox(bool derive=false) const
Retrieves the axis-aligned bounding box for this object in world coordinates.
void doSet(void *target, const String &val)
virtual void setInheritOrientation(bool inherit)
Tells the OldNode whether it should inherit orientation from it's parent OldNode.
virtual void getBottomLeftGridSpace(int32 x, int32 y, int z, Vector3 &bl)
Get the (grid space) bottom-left of a cell.
virtual void _setSkyDome(bool enable, const String &materialName, uint8 renderQueue, Real curvature=10, Real tiling=8, Real distance=4000, const Quaternion &orientation=Quaternion::IDENTITY, int xsegments=16, int ysegments=16, int ysegments_keep=-1, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Enables / disables a 'sky dome' i.e.
int color
Definition: OgreQuake3Types.h:213
virtual void setDuration(Real duration)
Sets the duration of the emitter.
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
Create an instance of the SubRenderState based on script properties.
Definition: OgreShaderSubRenderState.h:253
void initWorkspace(float cameraNear=0.5f, float cameraFar=500.0f, IdString workspaceDefOverride=IdString())
Initializes the workspace so we can actually render to the cubemap.
FogMode
Fog modes.
Definition: OgreCommon.h:257
const AxisAlignedBox & getBoundingBox() const
virtual void addConfig()=0
Add any special config values to the system.
RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
bool hasRenderState(const String &schemeName) const
Tells if a given render state exists.
virtual void worldGeometryStageStarted(const String &description)=0
This event is fired when a stage of loading linked world geometry is about to start.
WaveformType
Enumerates the wave types usable with the Ogre engine.
Definition: OgreCommon.h:294
Param * findParameter(const String &name)
Finds a parameter.
void clearBoneAssignments(void)
Removes all bone assignments for this mesh.
size_t firstBoneIndex
Definition: OgreSkeletonDef.h:74
String validateConfig(void)
Make sure all the extra options are valid.
static bool isBool(GpuConstantType c)
Definition: OgreGpuProgramParams.h:267
Codec specialized in images loaded using FreeImage.
Definition: OgreFreeImageCodec.h:49
virtual void setSkyPlane(bool enable, const Plane &plane, const String &materialName, Real scale=1000, Real tiling=10, bool drawFirst=true, Real bow=0, int xsegments=1, int ysegments=1, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Enables / disables a 'sky plane' i.e.
void updateZones(PCZone *defaultZone, unsigned long frameCount)
Update the list of zones the light affects.
static ResourceGroupManager & getSingleton(void)
Override standard Singleton retrieval.
virtual void setOrigin(const Vector3 &worldOrigin)
Set the origin of the grid in world space.
@ SPC_TEXTURE_COORDINATE6
Definition: OgreShaderParameter.h:294
void _updateFromShadow(void)
See HardwareBuffer.
void merge(const Vector3 &point)
Extends the box to encompass the specified point (if needed).
Definition: OgreAxisAlignedBox.h:410
const NodeTrackList & _getNodeTrackList(void) const
Fast access to NON-UPDATEABLE node track list.
Helper template which is the base for our ConstParameters.
Definition: OgreShaderParameter.h:574
@ GPU_IMAGINATION_TECHNOLOGIES
Definition: OgreRenderSystemCapabilities.h:297
void _update(void)
Updates the workspace's nodes.
const ColourValue & getColourBottom(void) const
Gets the colour of the bottom of the letters.
void _applyBaseKeyFrame(const VertexPoseKeyFrame *base)
void bindGpuProgramParameters(GpuProgramType gptype, GpuProgramParametersSharedPtr params, uint16 mask)
See RenderSystem.
Real squaredDistance(const Vector3 &v) const
Returns the squared minimum distance between a given point and any part of the box.
Definition: OgreAxisAlignedBox.h:763
@ LB_BlendVividLight
Definition: OgreShaderExLayeredBlending.h:70
bool prepare(DataStreamPtr &stream)
Prepare terrain data from saved data.
Interface used to by the Terrain instance to allocate GPU buffers.
Definition: OgreTerrain.h:537
vector< GPUDeviceNameRule >::type GPUDeviceNameRuleList
Definition: OgreTechnique.h:115
virtual void copyFrom(const SubRenderState &rhs)
list< ConcreteNodePtr >::type ConcreteNodeList
Definition: OgreScriptCompiler.h:64
Definition: OgreInstantRadiosity.h:53
static const IdString UseSsr
Definition: OgreHlms.h:829
list< Portal * >::type PortalList
Definition: OgrePCZone.h:71
void _notifyObjectMoved(const MovableObject *mov, const Vector3 &pos)
Internal method for tagging BspNodes with objects which intersect them.
void _updateBoneStartTransforms(void)
Updates the contents of @mBoneStartTransforms.
OGRE_DEPRECATED void copyContentsToMemory(const PixelBox &dst, FrameBuffer buffer=FB_AUTO)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: OgreRenderTarget.h:293
~RadixSort()
Definition: OgreRadixSort.h:238
virtual ~LodStrategy()
Virtual destructor.
virtual ~GL3PlusVaoManager()
Information about predefined program constants.
Definition: OgreGpuProgramParams.h:147
map< String, OverlayContainer * >::type ChildContainerMap
Definition: OgreOverlayContainer.h:61
virtual void calculateLightFacing(const Vector4 &lightPos, const Vector4 *faceNormals, char *lightFacings, size_t numFaces)=0
Calculate the light facing state of the triangle's face normals.
Implementation of GL 3 as a rendering system.
Definition: OgreGL3PlusRenderSystem.h:56
static ParameterPtr createConstParamVector2(Vector2 val)
AtomicScalar< unsigned > useCount
Definition: OgreSharedPtr.h:62
@ PF_BYTE_LA
2 byte pixel format, 1 byte luminance, 1 byte alpha
Definition: OgrePixelFormat.h:59
@ PF_ASTC_RGBA_10X8_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 10x8)
Definition: OgrePixelFormat.h:281
~Item()
Default destructor.
static IDirect3D9 * getDirect3D9()
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
void setActiveDevice(D3D9Device *device)
void destroyController(Controller< Real > *controller)
Removes & destroys the controller passed in as a pointer.
Template class for creating single-instance global classes.
Definition: OgreSingleton.h:65
const VertexElement & addElement(unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
See VertexDeclaration.
bool queryResult(MovableObject *obj, Real distance)
Self-callback in order to deal with execute which returns collection.
Real getSpeedFactor(void) const
Gets the 'speed factor' on this particle system.
Definition: OgreParticleSystem.h:406
ImageDownsamplerCube downscale2x_Signed_XXX888_cube
Definition: OgreImageDownsampler.h:123
bool isLoaded() const
Return whether the terrain is loaded.
Definition: OgreTerrain.h:755
static const Any & getEmptyUserAny()
Returns empty user any object.
Definition: OgreUserObjectBindings.h:100
DeflectorPlaneAffector(ParticleSystem *psys)
Default constructor.
float texture[2]
Definition: OgreQuake3Types.h:210
virtual void clearUAVs(void)
By default queueBindUAV will keep all other slots intact.
GPUVendorRuleIterator getGPUVendorRuleIterator() const
Get an iterator over the currently registered vendor rules.
static String Type
The type of this class.
Definition: OgreShaderFunctionAtom.h:246
Factory object for creating Entity instances.
Definition: OgreRectangle2D.h:100
void setSkeletonName(const String &skelName)
Calculates.
Definition of a Plane that may be attached to a node, and the derived details of it retrieved simply.
Definition: OgreMovablePlane.h:55
Real getCharHeight() const
virtual void reloadFrom(Archive *newDataFolder, ArchiveVec *libraryFolders=0)
Destroys all the cached shaders and in the next opportunity will recreate them from the new location.
String getNameStr(void) const
Definition: OgreCompositorWorkspaceDef.h:130
uint32 instanceCount
Definition: OgreCbDrawCall.h:107
static const uint16 WORKQUEUE_LOAD_LOD_DATA_REQUEST
Definition: OgreTerrainLodManager.h:90
void addRequestToQueue(LodConfig &lodConfig, LodCollapseCostPtr &cost, LodDataPtr &data, LodInputProviderPtr &input, LodOutputProviderPtr &output, LodCollapserPtr &collapser)
void destroy(pointer p)
Definition: OgreMemorySTLAllocator.h:173
const Vector4 getCenterValue(void) const
Gets the center value.
Definition: OgreVolumeOctreeNode.h:517
void _unload(void)
Internal method for unloading this pass.
bool operator>=(const ComPtr< T > &a, const ComPtr< T > &b) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:251
const Vector3 & getPositionForViewUpdate(void) const
Get the derived position of this frustum.
int numElements
The number of vertex indices.
Definition: OgreStaticFaceGroup.h:99
ValueType peekNext() const
Returns the next(=current) element in the collection, without advancing to the next.
Definition: OgreIteratorWrapper.h:158
@ ID_SCALE_Y
Definition: OgreScriptCompiler.h:789
const Vector3 & getOrigin(void) const
Gets the origin of the ray.
Definition: OgreRay.h:58
SceneObjAllocatedObject FXAlloc
Definition: OgreMemoryAllocatorConfig.h:310
void scrollAnimation(bool translateU, bool translateV)
scrollAnimation.
virtual void freeVertexBuffers(const HardwareVertexBufferSharedPtr &posbuf, const HardwareVertexBufferSharedPtr &deltabuf)=0
Free (or return to the pool) vertex buffers for terrain.
virtual bool removeRenderWindow(const String &renderWindowName)
static UINT _getTextureMiscFlags(UINT bindflags, TextureType textype, TextureUsage usage)
GLint isLinked(void)
Return the shader link status.
Definition: OgreGLSLShader.h:199
PixelFormat getNativeFormat(TextureType ttype, PixelFormat format, int usage)
Gets the format which will be natively used for a requested format given the constraints of the curre...
String translateWGLError()
Definition: OgreD3D11GpuProgramManager.h:38
ushort getStencilBufferBitDepth(void) const
Determines the bit depth of the hardware accelerated stencil buffer, if supported.
Definition: OgreRenderSystemCapabilities.h:533
bool isNaN() const
Check whether this quaternion contains valid values.
Definition: OgreQuaternion.h:323
virtual ~PageProvider()
Definition: OgrePageManager.h:61
vector< Library >::type LibraryVec
Definition: OgreHlms.h:183
void set(const T &v)
Definition: OgreAtomicScalar.h:432
bool operator<(const SmallVectorImpl &RHS) const
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:750
virtual Real getShadowDirectionalLightExtrusionDistance(void) const
Gets the distance a shadow volume is extruded for a directional light.
virtual const String & getTypeName(void) const
See OverlayElementFactory.
virtual Camera * findCameraNoThrow(IdString name) const
Finds the camera with the given name.
void setInheritScale(bool inherit)
Tells the node whether it should inherit scaling factors from it's parent node.
IndexData * gpuIndexData
Index data on the gpu.
Definition: OgreTerrainQuadTreeNode.h:138
void destroyIndirectBuffer(IndirectBufferPacked *indirectBuffer)
Destroys the given indirect buffer created with createIndirectBuffer.
void unmap(const Destination *destinations, size_t numDestinations)
virtual ~GLES2TextureManager()
String doGet(const void *target) const
ConstVectorIterator< LinkedSkeletonAnimSourceList > LinkedSkeletonAnimSourceIterator
Definition: OgreSkeleton.h:347
ElementType
Defines the base element type of the auto constant.
Definition: OgreGpuProgramParams.h:1383
static D3DTEXTUREADDRESS get(TextureUnitState::TextureAddressingMode tam, const D3DCAPS9 &devCaps)
return a D3D9 equivalent for a Ogre TextureAddressingMode value
virtual FileInfoListPtr listFileInfo(bool recursive=true, bool dirs=false)=0
List all files in the archive with accompanying information.
static const Vector3 NEGATIVE_UNIT_X
Definition: OgreVector3.h:818
RenderStateList::const_iterator RenderStateConstIterator
Definition: OgreShaderRenderState.h:131
void push_back(const T &val)
Definition: OgreFastArray.h:182
static const IdString SignedIntTex
Definition: OgreUnlitProperty.h:44
@ BT_DYNAMIC_PERSISTENT_COHERENT
Same as BT_DYNAMIC_PERSISTENT, but mapping will be persistent and cache coherent.
Definition: OgreBufferPacked.h:62
static const IdString FresnelWorkflow
Definition: OgreHlmsPbs.h:344
HlmsDatablock * getDefaultDatablock(void) const
Datablock to use when another datablock failed or none was specified.
HardwareOcclusionQuery * createHardwareOcclusionQuery()
Create an object for performing hardware occlusion queries.
void _setCustomCamera(Camera *camera)
Definition: OgreCompositorPassScene.h:96
float heightFactor
Definition: OgreTextureDefinition.h:86
void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
D3D11HardwareBufferManagerBase as a Singleton.
Definition: OgreD3D11HardwareBufferManager.h:69
GL3PlusOldVertexArrayObject * getVertexArrayObject()
Definition: OgreGLSLProgram.h:142
virtual void _hlmsBlendblockCreated(HlmsBlendblock *newBlock)
bool mReadOnlyDepth
Definition: OgreCompositorPassDef.h:123
Real z
Definition: OgreVector4.h:48
Definition: OgreGL3PlusVaoManager.h:51
void destroyRenderTarget(const String &name)
Destroys a render target of any sort.
virtual void applyRebase(uint16 level, const MemoryPoolVec &newBasePtrs, const ArrayMemoryManager::PtrdiffVec &diffsList)
Called when the manager already grew it's memory pool to honour more node requests.
static PropertyType getTypeForValue(const short &val)
Definition: OgreProperty.h:156
int lm_offset[2]
Definition: OgreQuake3Types.h:194
MeshSerializerImpl_v1_1()
static bool intersects(const Sphere &sphere, const AxisAlignedBox &box)
Sphere / box intersection test.
SceneBlendFactor
Blending factors for manually blending objects with the scene.
Definition: OgreBlendMode.h:235
RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
LARGE_INTEGER GetDriverVersion()
Definition: OgreD3D11Device.h:64
@ GCT_SUBROUTINE
Definition: OgreGpuProgramParams.h:93
@ PF_ASTC_RGBA_12X12_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 12x12)
Definition: OgrePixelFormat.h:287
@ PF_R16G16B16_UINT
48-bit pixel format, 16 bits red (unsigned int), 16 bits blue (unsigned int), 16 bits green (unsigned...
Definition: OgrePixelFormat.h:172
bool isTransparent(void) const
Determines if the material has any transparency with the rest of the scene (derived from whether any ...
const ResourceAccessMap & getUavsAccess(void) const
Definition: OgreCompositorWorkspace.h:188
@ LBX_DOTPRODUCT
dot product of color1 and color2
Definition: OgreBlendMode.h:103
GeneralAllocatedObject FactoryAlloc
Definition: OgreMemoryAllocatorConfig.h:309
@ SPC_NORMAL_OBJECT_SPACE
Normal in object space.
Definition: OgreShaderParameter.h:103
D3DDISPLAYMODE getDisplayMode() const
Definition: OgreD3D9VideoMode.h:58
void setPointRenderingEnabled(bool enabled)
Set whether or not the BillboardSet will use point rendering rather than manually generated quads.
@ PF_SHORT_RGB
48-bit pixel format, 16 bits for red, green and blue
Definition: OgrePixelFormat.h:144
Real skyDomeTiling
Definition: OgreSceneManager.h:307
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
Definition: OgreSDLWindow.h:37
virtual void _setVertexArrayObject(const VertexArrayObject *vao)
Part of the low level rendering interface.
virtual const String & getName(void) const
Returns the name of the rendering system.
Definition: OgreLodCollapseCostOutside.h:43
@ VET_SHORT4_SNORM
Definition: OgreVertexElements.h:107
virtual void bindBufferDS(uint16 slot, size_t offset=0, size_t sizeBytes=0)=0
vector< Vector4 >::type CustomParamsVec
Definition: OgreInstanceBatch.h:95
HlmsCache(uint32 _hash, HlmsTypes _type, const HlmsPso &_pso)
Definition: OgreHlmsCommon.h:191
void setNamedConstant(const String &name, const int *val, size_t count, size_t multiple=4)
Sets a multiple value constant integer parameter to the program.
~PCZLightFactory()
Definition: OgrePCZLight.h:126
OldNodeAnimationTrack * createOldNodeTrack(unsigned short handle)
Creates a OldNodeAnimationTrack for animating a OldOldNode.
String resourceName
Definition: OgreHlmsTextureManager.h:159
void _beginFrame(void)
See RenderSystem.
BSP specialisation of RaySceneQuery.
Definition: OgreBspSceneManager.h:238
virtual ~ASTCCodec()
Definition: OgreASTCCodec.h:59
Real z
Z coordinate of the position.
Definition: OgreVolumeMeshBuilder.h:51
uint32 type
This is the id associated with the lexeme, which comes from a lexeme-token id mapping.
Definition: OgreScriptLexer.h:67
StencilParams mStencilParams
Definition: OgreCompositorPassStencilDef.h:49
@ BT_DYNAMIC_DEFAULT
Read access from GPU.
Definition: OgreBufferPacked.h:56
virtual void load()=0
Loads the archive.
virtual BackgroundProcessTicket prepare(const String &resType, const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *loadParams=0, Listener *listener=0)
Prepare a single resource in the background.
#define OGRE_FRAME_STATS_SAMPLES
Definition: OgreFrameStats.h:42
void setTargetMode(TargetMode m)
Set the target mode.
Definition: OgreAnimationTrack.h:665
void * rsData
Definition: OgreHlmsPso.h:317
const FloatConstantList & getFloatConstantList() const
Get a reference to the list of float constants.
Definition: OgreGpuProgramParams.h:1893
Real ArrayReal
Definition: OgreArrayConfig.h:161
The definition of the information each layer will contain in this terrain.
Definition: OgreTerrainMaterialGenerator.h:132
virtual void writeChunkEnd(uint32 id)
End writing a chunk.
virtual bool getUseRenderingDistance(void) const
Get whether this camera should use the 'rendering distance' on objects to exclude distant objects fro...
Definition: OgreCamera.h:648
virtual void setDisplaySceneNodes(bool display)
Tells the SceneManager whether it should render the SceneNodes which make up the scene as well as the...
Real getRadius() const
Retrieve the radius of the portal (calculates if necessary for quad portals)
static const uint16 CHUNK_VERSION
Definition: OgrePagedWorld.h:64
void setVertexShaderOutputsCompactPolicy(VSOutputCompactPolicy policy)
Set the vertex shader outputs compaction policy.
Definition: OgreShaderGenerator.h:469
Factory object for creating Portal instances.
Definition: OgrePortal.h:80
Real distance
Definition: OgreCommon.h:675
Structure used to define a box in a 3-D integer space.
Definition: OgreCommon.h:838
virtual_l2 Vector3 convertLocalToWorldDirection(const Vector3 &localDir, bool useScale)
Gets the world direction of a point in the node local space useful for simple transforms that don't r...
Class to provide aligned memory allocate functionality.
Definition: OgreAlignedAllocator.h:60
static void removeEmbbeddedFile(const String &name)
Remove an embedded file to the embedded file list.
static Matrix4 makeViewMatrix(const Vector3 &position, const Quaternion &orientation, const Matrix4 *reflectMatrix=0)
SharedPtr< Material > MaterialPtr
Definition: OgrePrerequisites.h:355
CbLowLevelMaterial(bool _casterPass, HlmsLowLevel *_hlmsLowLevel, const MovableObject *_movableObject, Renderable *_renderable)
@ ID_UAV_EXTERNAL
Definition: OgreScriptCompiler.h:929
virtual void blitFromMemory(const PixelBox &src_orig, const Box &dstBox)
Hardware implementation of blitFromMemory.
static const IdString DetailMap3
Definition: OgreHlmsPbs.h:337
void setColourAt(ColourValue const &cv, size_t x, size_t y, size_t z)
Set colour value at a certain location in the PixelBox.
Definition: OgreCompositorPassDef.h:190
int getCurrentLod() const
Get the current LOD index (only valid after calculateCurrentLod)
Definition: OgreTerrainQuadTreeNode.h:248
MemoryCategory
A set of categories that indicate the purpose of a chunk of memory being allocated.
Definition: OgreMemoryAllocatorConfig.h:160
static ID3D11Query * createFence(D3D11Device &device)
size_t batchCount
Definition: OgreRenderTarget.h:80
virtual ChildIterator getChildIterator(void)
Gets an object for iterating over all the children of this object.
void addFactory(SceneManagerFactory *fact)
Register a new SceneManagerFactory.
bool mDirty
True if we must re-render to update the texture's contents. False when we don't.
Definition: OgreCubemapProbe.h:85
SceneManager * createInstance(const String &instanceName)
Sphere *RESTRICT_ALIAS boundingSphere
Definition: OgreCommon.h:708
D3D9GpuFragmentProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
virtual SceneNode * createChildSceneNode(SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC, const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates an unnamed new SceneNode as a child of this node.
float *RESTRICT_ALIAS mDest
Definition: OgreInstanceBatchHW_VTF.h:66
GLSLShader * getDomainShader() const
Definition: OgreGLSLProgram.h:138
size_t avail() const
Returns number of bytes available for reading in cache after rewinding.
Definition: OgreDataStream.h:138
D3D9RenderWindow(HINSTANCE instance)
Constructor.
@ SOP_ZERO
Set the stencil value to zero.
Definition: OgreCommon.h:114
virtual ~GL3PlusRTTManager()
RenderTarget * getTarget(void) const
Retrieves a pointer to the render target for this viewport.
std::pair< bool, Vector3 > rayIntersects(const Ray &ray, bool cascadeToNeighbours=false, Real distanceLimit=0)
Test for intersection of a given ray with the terrain.
Some utility functions for packing and unpacking pixel data.
Definition: OgrePixelFormat.h:406
virtual void _updateFromParent(void)
Updates this elements transform based on it's parent.
virtual const Vector3 & _getDerivedScale(void) const
Gets the scaling factor of the OldNode as derived from all parents.
static const IdString UvRoughness
Definition: OgreHlmsPbsMobile.h:140
Real getMaxDistance() const
Definition: OgreShadowCameraSetup.h:83
virtual Real getSquaredViewDepth(const Camera *cam) const
Helper function, get the squared view depth.
void setListener(Listener *listener)
Sets a listener for this object.
Definition: OgreMovableObject.h:532
IdString inNode
Definition: OgreCompositorWorkspaceDef.h:64
virtual ~SubRenderStateFactory()
@ GPT_HULL_PROGRAM
Definition: OgreGpuProgram.h:53
bool hasLightList() const
Definition: OgreAutoParamDataSource.h:176
Real getValue(void) const
bool getFineLightMaskGranularity(void) const
Definition: OgreForwardPlusBase.h:231
bool mIsResolve
When true, the user is telling Ogre this pass just performs a custom FSAA resolve filter.
Definition: OgreCompositorPassQuadDef.h:95
Matrix4 getInverseTransposeViewProjMatrix() const
static StereoModeType parseStereoMode(const String &val, StereoModeType defaultValue=SMT_NONE)
Converts a String to a StereoModeType.
static const IdString NumShadowMapLights
Definition: OgreHlms.h:815
virtual void _beginFrame(void)
ComPtr & operator=(const ComPtr< U > &other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:170
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
void setVertexBufferBinding(VertexBufferBinding *binding)
virtual Response * handleRequest(const Request *req, const WorkQueue *srcQ)=0
The handler method every subclass must implement.
Real mFrame
Definition: OgreSkeletonTrack.h:42
virtual Real getFarClipDistance(void) const
Retrieves the distance from the frustum to the far clipping plane.
virtual uint32 getFsaa() const
SceneManager * getSceneManager() const
Definition: OgreInstanceManager.h:165
~D3D9HardwareBufferManagerBase()
ParticleType
Type of particle.
Definition: OgreParticle.h:72
This is the main starting point for the new instancing system.
Definition: OgreInstanceManager.h:66
void pitch(const Radian &angle)
Pitches the camera up/down anticlockwise around it's local z axis.
ObjectMemoryManager & _getEntityMemoryManager(SceneMemoryMgrTypes sceneType)
Retrieves the main entity memory manager.
Definition: OgreSceneManager.h:1399
size_t getIndexSize(void) const
Get the size in bytes of each index.
Definition: OgreHardwareIndexBuffer.h:74
static const uint16 TERRAINGENERALINFO_CHUNK_VERSION
Definition: OgreTerrain.h:293
@ ID_ROTATE
Definition: OgreScriptCompiler.h:782
void setLightCountPerIteration(unsigned short c)
If light iteration is enabled, determine the number of lights per iteration.
void importMesh(DataStreamPtr &stream, Mesh *pDest)
Imports Mesh and (optionally) Material data from a .mesh file DataStream.
ConvexBody(const ConvexBody &cpy)
void removeResourceGroupListener(ResourceGroupListener *l)
Removes a ResourceGroupListener.
const value_type & const_reference
Definition: OgreMemorySTLAllocator.h:90
virtual ~HlmsUnlitDatablock()
@ SPC_DEPTH_VIEW_SPACE
Depth in view space.
Definition: OgreShaderParameter.h:282
@ PF_ASTC_SRGB8A8_4X4_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 4x4)
Definition: OgrePixelFormat.h:289
void destroy(Overlay *overlay)
Destroys an existing overlay.
TexturePtr getNullShadowTexture(PixelFormat format)
Get an appropriately defined 'null' texture, i.e.
GPUDeviceNameRule(const String &pattern, IncludeOrExclude ie, bool caseSen)
Definition: OgreTechnique.h:111
@ GPU_PROGRAM
Definition: OgreScriptCompiler.h:514
Real getScaleY(void) const
Gets the current Y scale value.
void setStart(size_t newStart)
Definition: OgreHlmsCommon.h:122
Real y
Definition: OgreVector2.h:53
TerrainLayerSamplerElement(uint8 src, TerrainLayerSamplerSemantic sem, uint8 elemStart, uint8 elemCount)
Definition: OgreTerrainMaterialGenerator.h:93
virtual CompositorInstance::RenderSystemOperation * createOperation(CompositorInstance *instance, const CompositionPass *pass)=0
Create a custom composition operation.
DefaultRaySceneQuery(SceneManager *creator)
void setDiffuseColour(Real red, Real green, Real blue)
Sets the colour of the diffuse light given off by this source.
@ MethodForwardClustered
Definition: OgreForwardPlusBase.h:58
Camera * reflectionCamera
Definition: OgrePlanarReflections.h:46
virtual MovableObject * createInstance(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const NameValuePairList *params=0)
Create a new instance of the object.
void addIndexData(IndexData *i_in, OperationType opType=OT_TRIANGLE_LIST)
Add a set of index data that references the vertex data.
@ ANT_PROPERTY
Definition: OgreScriptCompiler.h:81
virtual void bindBufferDS(uint16 slot)
virtual const String & getFunctionAtomType()=0
Return the type of this atom instance implementation.
@ ACT_SURFACE_ALPHA_REJECTION_VALUE
Surface alpha rejection value, not as set in Pass::setAlphaRejectionValue, but a floating number betw...
Definition: OgreGpuProgramParams.h:1017
NSOpenGLPixelFormat * getPixelFormat()
Grab the NSOpenGLPixelFormat if it exists.
void fireDeviceEvent(D3D9Device *device, const String &name)
Fires a device related event.
String doGet(const void *target) const
void doSet(void *target, const String &val)
virtual void _timeUpdate(Real time)
Perform any fading / width delta required; internal method.
virtual PageProvider * getPageProvider() const
Get the PageProvider which can provide streams for Pages in this section.
Definition: OgrePagedWorldSection.h:271
void save(const String &filename)
Save world data to a file.
GL3PlusNullTextureTarget(GL3PlusNullTexture *ultimateTextureOwner, const String &name, v1::HardwarePixelBuffer *buffer, uint32 zoffset)
virtual TransformKeyFrame * createNodeKeyFrame(Real timePos)
Creates a new KeyFrame and adds it to this animation at the given time index.
virtual void _update(void)
D3D11DynamicBuffer(ID3D11Buffer *vboName, size_t vboSize, D3D11Device &device)
void setNumCustomParams(unsigned char numCustomParams)
Sets the number of custom parameters per instance.
virtual void _setSurfaceParams(const ColourValue &ambient, const ColourValue &diffuse, const ColourValue &specular, const ColourValue &emissive, Real shininess, TrackVertexColourType tracking=TVC_NONE)=0
Sets the surface properties to be used for future rendering.
virtual void setSource(const String &source)
Sets the source assembly for this program from an in-memory string.
void setActiveFragmentShader(GLSLShader *fragmentShader)
void setDetailNormalWeight(uint8 detailNormalMapIdx, Real weight)
Sets the normal mapping weight.
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Notifies the ultimate texture owner the buffer changed.
IdString textureName
Name of the texture (can come from input channel, local textures, or global ones) Not used if externa...
Definition: OgreCompositorPassUavDef.h:59
String getDescription() const
GpuProgramType progType
Definition: OgreMaterialSerializer.h:49
virtual void destroyVertexBufferBinding(VertexBufferBinding *binding)
Destroys a VertexBufferBinding.
GLSLMonolithicProgram(GLSLShader *vertexProgram, GLSLShader *hullProgram, GLSLShader *domainProgram, GLSLShader *geometryProgram, GLSLShader *fragmentProgram, GLSLShader *computeProgram)
Constructor should only be used by GLSLMonolithicProgramManager.
void * getProcAddress(const char *procname) const
Get the address of a function.
static size_t calculateLoadingStages(const String &levelName)
Calculate the number of loading stages required for a given level.
void _setMorphRequired(bool morph)
Request internal implementation options for the terrain material to use, in this case vertex morphing...
Definition: OgreTerrain.h:1480
virtual bool isBufferBound(unsigned short index) const
Gets whether a buffer is bound to the given source index.
void destroy(HighLevelGpuProgram *prog)
TexturePtr getTexture(PbsTextureTypes texType) const
@ RSC_ATOMIC_COUNTERS
Supports asynchronous hardware occlusion queries.
Definition: OgreRenderSystemCapabilities.h:192
virtual void unprepareImpl(void)
bool isSampler() const
Definition: OgreGpuProgramParams.h:281
const AxisAlignedBox & getBoundingBox(void) const
Overridden from MovableObject.
const TextureDefinitionVec & getLocalTextureDefinitions(void) const
Definition: OgreTextureDefinition.h:291
bool isCapabilityRenderSystemSpecific(const Capabilities c) const
Returns true if capability is render system specific.
Definition: OgreRenderSystemCapabilities.h:553
void removeSection(unsigned int idx)
Removes the section with given index.
vector< Pso >::type PsoVec
Definition: OgreHlmsDiskCache.h:158
virtual ~GLES2HardwarePixelBuffer()
static const String & getPointLightExtruderVs_glsles(void)
Get extruder program source for point lights, compatible with glsles.
Definition: OgreShadowVolumeExtrudeProgram.h:241
BufferType getIndexBufferDefaultType(void) const
Gets the usage setting for this meshes index buffers.
Definition: OgreMesh2.h:394
Command object for accurate facing(see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:106
Real x
Definition: OgreQuaternion.h:320
VertexArrayObject * createVertexArrayObject(const VertexBufferPackedVec &vertexBuffers, IndexBufferPacked *indexBuffer, OperationType opType)
Creates a VertexArrayObject that binds all the vertex buffers with their respective declarations,...
bool OrderParamVecByKey(const std::pair< IdString, String > &_left, const std::pair< IdString, String > &_right)
Definition: OgreHlmsCommon.h:156
virtual size_t calculateSize(void) const
Calculate the size of a resource; this will only be called after 'load'.
GL3PlusContext * _getMainContext()
Returns the main context.
Definition: OgreGL3PlusRenderSystem.h:516
String validateConfig()
Make sure all the extra options are valid.
@ MESH_VERSION_LATEST
Latest version available.
Definition: OgreMeshSerializer.h:45
bool getColumnMajorMatrices(void) const
Gets whether matrix packed in column-major order.
Definition: OgreD3D11HLSLProgram.h:346
void doSet(void *target, const String &val)
D3D11DepthTextureTarget(D3D11DepthTexture *ultimateTextureOwner, const String &name, v1::HardwarePixelBuffer *buffer, uint32 zoffset)
std::vector< Vector4, STLAllocator< Vector4, CategorisedAlignAllocPolicy< MEMCATEGORY_GEOMETRY > > > TriangleFaceNormalList
Array of 4D vector of triangle face normal, which is unit vector orthogonal to the triangles,...
Definition: OgreEdgeListBuilder.h:92
void toTransformationMatrix(Matrix4 &kTrans) const
Convert a dual quaternion to a 4x4 transformation matrix.
void destroy()
Delete any input data if this struct is set to do so.
Definition: OgreTerrain.h:479
virtual ProgramWriter * create(void)
Definition: OgreShaderHLSLProgramWriter.h:136
MapIterator< ParticleAffectorFactoryMap > ParticleAffectorFactoryIterator
Definition: OgreParticleSystemManager.h:333
const TextureSources & getTextureSources(void) const
Definition: OgreCompositorPassUavDef.h:133
Command object for specifying border sizes (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:193
virtual void setTextureNames(const String &textureNameFromX, const String &textureNameFromY, const String &textureNameFromZ)
Sets the texture names for the mapping.
void addDelegateProgram(const String &name)
Adds a new delegate program to the list.
Real mVplQuadAtten
Definition: OgreInstantRadiosity.h:204
void setActiveFragmentShader(GLSLESShader *fragmentShader)
Set the active fragment shader for the next rendering state.
SceneMemoryMgrTypes getMemoryManagerType() const
Definition: OgreNodeMemoryManager.h:88
const String & getName(void) const
Gets the name of this animation.
@ COLOUR
Definition: OgreAnimable.h:84
virtual bool isVertexCompressionSupported() const =0
Compressed vertex format supported?
static ArrayMaskI And(ArrayMaskI a, ArrayInt b)
Definition: OgreMathlibC.h:152
v1::MeshPtr mesh
Definition: OgreLodConfig.h:127
Vector3 getCenter(void) const
Gets the centre of the box.
Definition: OgreAxisAlignedBox.h:693
void invalidateMaterial(const String &schemeName, const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Invalidate specific material scheme.
ParticleAffector(ParticleSystem *parent)
Definition: OgreParticleAffector.h:82
static const Matrix3 IDENTITY
Definition: OgreMatrix3.h:268
void display(const String &errorMessage, String logName="")
static Real Sqrt(Real fValue)
Square root function.
Definition: OgreMath.h:423
virtual void getChunksOfLevel(const size_t level, VecChunk &result) const
Gathers all visible chunks (containing triangles) of a specific LOD level.
@ PF_L8
8-bit pixel format, all bits luminance.
Definition: OgrePixelFormat.h:48
virtual void getRenderOperation(v1::RenderOperation &op, bool casterPass) OGRE_OVERRIDE
ConstMapRange(const T &c)
Constructor.
Definition: OgreIteratorRange.h:295
void stopUsingSkeletonInstanceFromMaster()
Stops sharing the SkeletonInstance with other Items.
CompositorPassStencil(const CompositorPassStencilDef *definition, const CompositorChannel &target, CompositorNode *parentNode, RenderSystem *renderSystem)
Material * getParent(void) const
Gets the parent Material.
Definition: OgreTechnique.h:172
virtual Real computeEdgeCollapseCost(LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge)
Returns the collapse cost of the given edge.
void getManualValue(T &value) const
Returns the value.
Definition: OgreShaderParams.h:122
virtual v1::AnimationState * getAnimationState(const String &animName) const
Retrieves animation state as previously created using createAnimationState.
virtual void processSkeletonName(Mesh *mesh, String *name)=0
Called to override the reference to a skeleton.
void doSet(void *target, const String &val)
static const IdString BlendModeIndex7
Definition: OgreUnlitProperty.h:116
uint16 variability
How the contents of this slot vary.
Definition: OgreGpuProgramParams.h:563
singleton class for storing the capabilities of the graphics card.
Definition: OgreRenderSystemCapabilities.h:316
uint16 getDepthLevel() const
Returns how deep in the hierarchy we are (eg. 0 -> root node, 1 -> child of root)
Definition: OgreBone.h:125
@ ID_OUT
Definition: OgreScriptCompiler.h:821
@ ID_USE_PREPASS
Definition: OgreScriptCompiler.h:882
BspLevel(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Default constructor - used by BspResourceManager (do not call directly)
~LodOutputProviderCompressedMesh()
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
@ ID_CUSTOM_ID
Definition: OgreScriptCompiler.h:824
@ D3D_FUSAGE_MIN
min filter
Definition: OgreD3D9Mappings.h:61
void cleanUnfencedHazards(void)
@ GPT_DOMAIN_PROGRAM
Definition: OgreGpuProgram.h:54
EGLContext(EGLDisplay eglDisplay, const EGLSupport *glsupport, ::EGLConfig fbconfig, ::EGLSurface drawable)
ArrayVector3 mCenter
Definition: C/OgreArrayAabb.h:72
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
RenderWindow * createWindow(bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle)
void windowHasResized(void)
String manualMeshName
Set's a mesh as the Lod Level for given distance.
Definition: OgreLodConfig.h:110
virtual_l2 void setVisibilityMask(uint32 vmask)
Sets a mask which is bitwise 'and'ed with objects own visibility masks to determine if the object is ...
Definition: OgreSceneManager.h:3026
@ SHADER_NEEDCOLOURS
Definition: OgreQuake3Types.h:91
ImageDownsamplerCube downscale2x_Signed_XX88_cube
Definition: OgreImageDownsampler.h:124
void setStaticShadowMapDirty(size_t shadowMapIdx, bool includeLinked=true)
Tags a static shadow map as dirty, causing Ogre to update it on the next time this Shadow node gets e...
~D3D11HLSLProgramFactory()
bool isActive(void) const
Overridden from RenderTarget, flags invisible windows as inactive.
Hlms * getHlms(HlmsTypes type)
Returns a registered HLMS based on type. May be null.
Definition: OgreHlmsManager.h:139
PrePassMode mPrePassMode
This is a depth pre-pass.
Definition: OgreCompositorPassSceneDef.h:99
D3D9VideoMode(D3DDISPLAYMODE d3ddm)
Definition: OgreD3D9VideoMode.h:47
Factory for creating TextAreaOverlayElement instances.
Definition: OgreOverlayElementFactory.h:100
ConcreteNodeListPtr parseChunk(const ScriptTokenListPtr &tokens)
std::list< T, A >::const_iterator const_iterator
Definition: OgrePrerequisites.h:631
virtual void setFarClipDistance(Real farDist)
Sets the distance to the far clipping plane.
Defines the interface which all components wishing to supply OverlayElement subclasses must implement...
Definition: OgreOverlayElementFactory.h:59
virtual void _findNodes(const PlaneBoundedVolume &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
const uint * getUnsignedIntPointer(size_t pos) const
Get a pointer to the 'nth' item in the uint buffer.
Definition: OgreGpuProgramParams.h:775
SceneObjAllocatedObject MovableAlloc
Definition: OgreMemoryAllocatorConfig.h:314
virtual void setStencilBufferParams(uint32 refValue, const StencilParams &stencilParams)
See RenderSystem.
ParamDictionary()
Definition: OgreStringInterface.h:126
void merge(const ArrayVector3 &points)
Extends the box to encompass the specified point (if needed).
void removeLodLevels(void)
Removes all LOD data from this Mesh.
iterator end()
Definition: OgreFastArray.h:368
Quaternion()
Default constructor, initializes to identity rotation (aka 0°)
Definition: OgreQuaternion.h:60
String getType() const
Returns the type of the codec as a String.
virtual ~MeshLodGenerator()
virtual void setWriteOnly(bool writeOnly)
Same as setReadable, but with the invese scemantic.
Definition: OgreManualObject.h:186
virtual void escalateLoading()
Escalates the loading of a background loaded resource.
virtual void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer=FB_AUTO)
Error throwing implementation, it's not possible to write a MultiRenderTarget to disk.
virtual_l2 Vector3 getPosition(void) const
Gets the position of the node relative to it's parent.
static ArrayMaskI AndNot(ArrayMaskI a, ArrayInt b)
Definition: OgreMathlibC.h:195
void endOcclusionQuery()
Ends the hardware occlusion test.
Ogre::MaterialPtr getShadowCasterMaterial() const
return this material specific shadow casting specific material
bool isIndexBufferShadowed(void) const
Gets whether or not this meshes index buffers are shadowed.
Definition: OgreMesh.h:640
ushort getNumWorldMatrices(void) const
Definition: OgreRenderSystemCapabilities.h:505
uint32 getVisibilityMask(void) const
Gets a per-viewport visibility mask.
Definition: OgreViewport.h:305
virtual void _notifyManualBonesDirty(void)
Internal method for marking the manual bones as dirty.
void setResolveStageFlags(unsigned int flags)
Set the resolve stage flags that this sub render state will produce.
Definition: OgreShaderFFPColour.h:97
String doGet(const void *target) const
@ PrePassUse
This pass will be using the results of a previous pre-pass.
Definition: OgreCommon.h:90
Source which does a unary operation to another one.
Definition: OgreVolumeCSGSource.h:302
void setShowPortals(bool b)
Sets the portal visibility flag.
Definition: OgrePCZSceneManager.h:288
void setShaderLibraryPath(String path)
Set shader library path.
Definition: OgreGLES2Support.h:114
Records the state of all the vertex buffer bindings required to provide a vertex declaration with the...
Definition: OgreHardwareVertexBuffer.h:499
virtual void setCellRange(int32 minX, int32 minY, int32 maxX, int32 maxY)
Set the index range of all cells (values outside this will be ignored)
void _setRenderSystemData(const Any &data) const
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:793
Definition: OgreScriptTranslator.h:253
static const IdString EmissiveConstant
Definition: OgreHlmsPbs.h:380
Specialisation of HardwareVertexBuffer for D3D9.
Definition: OgreD3D9HardwareVertexBuffer.h:39
@ CMPF_GREATER_EQUAL
Definition: OgreCommon.h:103
uint32 getHlmsCasterHash(void) const
Definition: OgreRenderable.h:388
void importMesh(DataStreamPtr &stream, Mesh *pDest, MeshSerializerListener *listener)
Imports Mesh and (optionally) Material data from a .mesh file DataStream.
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
void addGPUDeviceNameRule(const GPUDeviceNameRule &rule)
Add a rule which manually influences the support for this technique based on a pattern that matches a...
static bool isDouble(GpuConstantType c)
Definition: OgreGpuProgramParams.h:201
static FORCEINLINE uint32 firstPO2From(uint32 n)
Returns the closest power-of-two number greater or equal to value.
Definition: OgreBitwise.h:139
@ SPC_POSTOLIGHT_VIEW_SPACE5
Definition: OgreShaderParameter.h:152
This abstract class defines an interface which is called back during resource group loading to indica...
Definition: OgreResourceGroupManager.h:87
VertexMorphKeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
Definition: OgreInstanceBatchVTF.h:206
virtual uint32 peekNextChunkID()
Call this to 'peek' at the next chunk ID without permanently moving the stream pointer.
void createBuffer(IDirect3DDevice9 *d3d9Device, D3DPOOL ePool, bool updateNewBuffer)
Real getNumFrames(void) const
Gets the frame count.
OperationType operationType
The type of operation to perform.
Definition: OgreRenderOperation.h:62
Matrix4(const Matrix3 &m3x3)
Creates a standard 4x4 transformation matrix with a zero translation part from a rotation/scaling 3x3...
Definition: OgreMatrix4.h:134
Real getAttenuationLinear(void) const
Returns the linear factor in the attenuation formula.
Definition: OgreLight.h:239
void blitFromMemory(const PixelBox &src, const Box &dstBox)
RegionIterator getRegionIterator(void)
Get an iterator over the regions in this geometry.
void rebind(v1::D3D11HardwarePixelBuffer *buffer)
void destroyBlendMask()
Destroy the currently set blend mask.
void compile(bool autoManageTextureUnits=true)
'Compiles' this Material.
virtual void load()=0
Load - will be called in main thread.
virtual void postLoadImpl()
overridden from Resource
static void optimizeForShadowMapping(const VertexShadowMapHelper::GeometryVec &inGeom, VertexShadowMapHelper::GeometryVec &outGeom)
Reads all the vertex & index buffer from all the LOD levels in inVao, optimizes the buffers for shado...
vector< Profile * >::type ProfileList
List of profiles - NB should be ordered in descending complexity.
Definition: OgreTerrainMaterialGenerator.h:212
ushort getMaximumResolution2D(void) const
Maximum resolution (width or height)
Definition: OgreRenderSystemCapabilities.h:737
@ PFF_FLOAT
This is a floating point format.
Definition: OgrePixelFormat.h:376
T * getPointer() const
Definition: OgreSharedPtr.h:294
const String & getPreprocessorDefines(void) const
Sets the preprocessor defines use to compile the program.
Definition: OgreGLSLESShader.h:90
void normalise(void)
Unlike Vector3::normalise(), this function does not return the length of the vector because such valu...
GeneralAllocatedObject FileSystemLayerAlloc
Definition: OgreMemoryAllocatorConfig.h:346
void _notifyDefaultDimensions(Real width, Real height)
Tells the renderer that the particle default size has changed.
Real getFrameSmoothingPeriod(void) const
Gets the period over which OGRE smooths out fluctuations in frame times.
Definition: OgreRoot.h:998
Definition: OgreX11EGLSupport.h:75
const MaterialPtr & getMaterial() const
Gets the material generated for this font, as a weak reference.
Definition: OgreFont.h:378
@ LBS_SPECULAR
the interpolated specular colour from the vertices
Definition: OgreBlendMode.h:121
Win32Window(Win32GLSupport &glsupport)
void _makeOrthoMatrix(const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
Builds an orthographic projection matrix suitable for this render system.
virtual void setDefaultHeight(Real height)
See setDefaultDimensions - this sets 1 component individually.
ColourValue fogColour
Definition: OgreQuake3Shader.h:113
Texture surface.
Definition: OgreMetalHardwarePixelBuffer.h:85
static const uint8 A_MASK
Definition: OgreHlmsUnlitDatablock.h:73
@ GCT_FLOAT2
Definition: OgreGpuProgramParams.h:69
SharedPtr< D3D11HLSLProgram > D3D11HLSLProgramPtr
Definition: OgreD3D11Prerequisites.h:116
@ ID_MAX_ANISOTROPY
Definition: OgreScriptCompiler.h:747
void setStartEnabled(bool enabled)
Whether the node should be start as enabled when instantiated.
Definition: OgreCompositorNodeDef.h:112
ImageDownsamplerCube downscale2x_sRGB_XXX888_cube
Definition: OgreImageDownsampler.h:194
@ SPC_LIGHTDIRECTION_VIEW_SPACE3
Definition: OgreShaderParameter.h:190
Definition: OgreCompositorPassMipmapDef.h:48
void doSet(void *target, const String &val)
void sh_hash_combine(uint32 &seed, T const &v)
Utility function with same style as boost::hash_combine.
Definition: OgreShaderPrerequisites.h:80
virtual void combineWithSource(CSGOperationSource *operation, Source *source, const Vector3 ¢er, Real radius)
Updates this grid with another source in a certain area.
virtual ~HardwareBufferLicensee()
Definition: OgreHardwareBufferManager.h:65
virtual void createInternalResources(void)
Creates the internal texture resources for this texture.
Class for serializing RenderSystemCapabilities to / from a .rendercaps script.
Definition: OgreRenderSystemCapabilitiesSerializer.h:47
UnlitBlendModes
Definition: OgreHlmsUnlitPrerequisites.h:61
StencilParams()
Definition: OgreCommon.h:178
A factory that enables creation of FFPFog instances.
Definition: OgreShaderFFPFog.h:177
size_t getNumShadowContentTextures(void) const
Definition: OgrePass.h:526
~GLSLMonolithicProgram(void)
A TerrainMaterialGenerator which can cope with normal mapped, specular mapped terrain.
Definition: OgreTerrainMaterialGeneratorA.h:53
@ ST_INTERIOR
Definition: OgreSceneManager.h:3320
Log::Stream stream(LogMessageLevel lml=LML_NORMAL, bool maskDebug=false)
Get a stream on the default log.
static const IdString NormalMapTex
Definition: OgreHlmsPbsMobile.h:107
virtual IntersectionSceneQueryResult & getLastResults(void) const
Gets the results of the last query that was run using this object, provided the query was executed us...
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information from this texture.
SmallVector(const SmallVector &RHS)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:928
ArchiveManager()
Default constructor - should never get called by a client app.
static const IdString UvDiffuse8
Definition: OgreUnlitProperty.h:83
int line
Definition: OgreScriptCompiler.h:198
virtual ~D3D9StereoDriverImpl()
Definition: OgreD3D9StereoDriverImpl.h:44
static Real Exp(Real fValue)
Definition: OgreMath.h:335
size_t indexCount
The number of indexes to use from the buffer.
Definition: OgreVertexIndexData.h:305
vector< TextureEntry >::type TextureEntryVec
Definition: OgreHlmsTexturePack.h:56
Callback class when the user needs information about the triangles of chunks of a LOD level.
Definition: OgreVolumeMeshBuilder.h:108
PCZone(PCZSceneManager *, const String &)
size_t getCurrentChunkDepth() const
Report the current depth of the chunk nesting, whether reading or writing.
Definition: OgreStreamSerialiser.h:154
@ SPC_LIGHTDIRECTION_OBJECT_SPACE6
Definition: OgreShaderParameter.h:173
@ ID_POLYGON_MODE_OVERRIDEABLE
Definition: OgreScriptCompiler.h:697
MovableObject const * movableObject
Definition: OgreCbLowLevelMaterial.h:39
virtual void destroyAllInstanceManagers(void)
virtual void scriptParseEnded(const String &scriptName, bool skipped)=0
This event is fired when the script has been fully parsed.
void exportMesh(const Mesh *pMesh, DataStreamPtr stream, MeshVersion version, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the stream specified, in a specific version format.
void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
Update the GPU programs constant parameters before a renderable is rendered.
void setShadingMode(ShadeOptions mode)
Sets the type of light shading required.
static const Matrix4 ZERO
Definition: OgreMatrix4.h:559
@ VIEW_SPACE_CORNERS_NORMALIZED
When normalized, then the corner is divided by the far plane.
Definition: OgreCompositorPassQuadDef.h:77
@ HLMS_USER2
Definition: OgreHlmsCommon.h:174
Material * mMaterial
Definition: OgreScriptCompiler.h:499
int elem_start
Definition: OgreQuake3Types.h:191
IndexType
Definition: OgreIndexBufferPacked.h:40
void FromOrthoDet1RotationMatrix(const ArrayReal *RESTRICT_ALIAS matrix)
void rotationAnimation(bool rotate)
rotationAnimation.
virtual const String & getType() const
static const IdString BlendModeIndex2
Definition: OgreHlmsPbs.h:387
bool hasEdgeList(void)
Overridden member from ShadowCaster.
const String & getTypeNameStr(void) const
Definition: OgreHlms.h:424
@ PASS_STENCIL
Definition: OgreCompositorPassDef.h:54
TextureMipmap
Enum identifying special mipmap numbers.
Definition: OgreTexture.h:107
String doGet(const void *target) const
vector< LodIndexBuffer >::type genIndexBuffers
Definition: OgreLodBuffer.h:76
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
void loadMaterial(const rapidjson::Value &json, const HlmsJson::NamedBlocks &blocks, HlmsDatablock *datablock)
bool watchForMin(void)
Definition: OgreProfiler.h:312
A compositor workspace is the main interface to render into an RT, be it a RenderWindow or an RTT (Re...
Definition: OgreCompositorWorkspace.h:85
void _update(void)
Internal method to update the element based on transforms applied.
void setVSyncEnabled(bool vsync)
RenderWindow::setVSyncEnabled
uint32 getNumThreadGroupsZ(void) const
Definition: OgreHlmsComputeJob.h:209
virtual void setAssociatedAnimable(const AnimableValuePtr &val)
Sets the associated animable object which will be automatically affected by calls to 'apply'.
@ ACT_VIEW_SIDE_VECTOR
This variable provides the view side vector (world space).
Definition: OgreGpuProgramParams.h:1248
GLSLSeparableProgramManager(const GL3PlusSupport &support)
CreateHighLevelGpuProgramScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup, const String &source, const String &language, GpuProgramType programType)
Definition: OgreScriptCompiler.h:569
static const IdString NumTextureSlots
Definition: OgreHlmsCompute.h:202
virtual const String & getSourceFile(void) const
Gets the name of the file used as source for this program.
Definition: OgreGpuProgram.h:266
OverlayElement * createOverlayElementFromFactory(const String &typeName, const String &instanceName)
void setCurrentFrame(unsigned int frameNumber)
Changes the active frame in an animated or multi-image texture.
String _compile(bool autoManageTextureUnits)
Internal compilation method; see Material::compile.
virtual bool isVisible(const AxisAlignedBox &bound, FrustumPlane *culledBy=0) const
Tests whether the given container is visible in the Frustum.
ConstVectorIterator(typename T::const_iterator start, typename T::const_iterator last)
Constructor.
Definition: OgreIteratorWrapper.h:223
static CompareFunction parseCompareFunction(const char *value)
void needUpdate(bool forceParentUpdate=false)
AbstractNodeList values
Definition: OgreScriptCompiler.h:133
const GpuNamedConstants & getConstantDefinitions() const
Get the full list of GpuConstantDefinition instances.
void copyMatchingNamedConstantsFrom(const GpuProgramParameters &source)
Copies the values of all matching named constants (including auto constants) from another GpuProgramP...
@ PF_ASTC_RGBA_8X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 8x6)
Definition: OgrePixelFormat.h:273
void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Overridden from OverlayElement.
@ DerivedOrientation
Definition: OgreArrayMemoryManager.h:297
Matrix4 getInverseWorldViewProjMatrix() const
VertexAnimationTrack(Animation *parent, unsigned short handle, VertexAnimationType animType, VertexData *targetData, TargetMode target=TM_SOFTWARE)
Constructor, associates with target VertexData and temp buffer (for software)
String name
Definition: OgreScriptCompiler.h:174
std::pair< bool, Real > intersects(const AxisAlignedBox &box) const
Tests whether this ray intersects the given box.
Definition: OgreRay.h:111
unsigned int uint32
Definition: OgrePlatform.h:450
IdString getReferencedTextureName() const
Gets the name of the texture in the compositor that this texture references.
Definition: OgreTextureUnitState.h:994
Definition: OgreRenderQueue.h:257
TextureUnitState(Pass *parent, const String &texName, unsigned int texCoordSet=0)
Name-based constructor.
@ M_MESH_BONE_ASSIGNMENT
Definition: OgreMeshFileFormat.h:230
virtual ~DefaultWorkQueueBase()
const ColourValue & getEmissive(void) const
Gets the self illumination colour of the pass.
Definition: OgrePass.h:443
void clear(void)
Clear all the current shaders.
Pass(Technique *parent, unsigned short index, const Pass &oth)
Copy constructor.
TexBufferPacked * createTexBuffer(PixelFormat pixelFormat, size_t sizeBytes, BufferType bufferType, void *initialData, bool keepAsShadow)
Creates an constant buffer based on the given parameters.
virtual void setOptimizationStrategy(OptimizationStrategy optimizationStrategy)
Not supported.
Definition: OgreHlmsUnlit.h:109
static void bulkPixelConversion(void *src, PixelFormat srcFormat, void *dst, PixelFormat dstFormat, unsigned int count)
Convert consecutive pixels from one format to another.
static GLuint getAttributeIndexFor(VertexElementSemantic semantic)
DepthBuffer(uint16 poolId, uint16 bitDepth, uint32 width, uint32 height, uint32 fsaa, const String &fsaaHint, PixelFormat pixelFormat, bool isDepthTexture, bool manual, RenderSystem *renderSystem)
GeneralAllocatedObject UtilityAlloc
Definition: OgreMemoryAllocatorConfig.h:341
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:228
@ VES_BLEND_WEIGHTS
Blending weights.
Definition: OgreVertexElements.h:43
static const IdString HwGammaRead
Definition: OgreHlmsPbs.h:315
void setMacroblock(const HlmsMacroblock ¯oblock)
Sets the macroblock every pass has with the existing contents of the scene.
static void bulkPixelVerticalFlip(const PixelBox &box)
Flips pixels inplace in vertical direction.
void FromEulerAnglesXZY(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
virtual void _renderNoBaseInstance(const v1::CbDrawCallIndexed *cmd)
Definition: OgreRenderSystem.h:1102
void addInputParameter(ParameterPtr parameter)
Add input parameter to this function.
Predefined controller value for setting a single floating- point value in a constant parameter of a v...
Definition: OgrePredefinedControllers.h:144
virtual void createInternalResourcesImpl(void)
void _cleanupDepthBuffers(IDirect3DSurface9 *manualSurface)
This function does NOT override RenderSystem::_cleanupDepthBuffers(bool) functionality.
unsigned int getWidth() const
Definition: OgreD3D9VideoMode.h:53
bool operator==(const HashedVector< T > &b)
Definition: OgreCommon.h:642
GeneralAllocatedObject TerrainAlloc
Definition: OgreTerrainPrerequisites.h:40
uint16 getDefaultGlobalColourMapSize() const
Get the default size of the terrain global colour map for a new terrain.
Definition: OgreTerrain.h:2068
uint8 mExecutionMask
Definition: OgreCompositorPassDef.h:131
CompositorNamedBuffer(IdString _name, UavBufferPacked *_buffer)
Definition: OgreCompositorNamedBuffer.h:52
virtual ObjectIterator getAttachedObjectIterator(void)
Retrieves an iterator which can be used to efficiently step through the objects attached to this node...
void removeAllPoses(void)
Destroy all poses.
uint16 mRefCount
Render-System specific data.
Definition: OgreHlmsDatablock.h:55
Definition: OgreCompositorPassComputeDef.h:50
Quaternion(const Radian &rfAngle, const Vector3 &rkAxis)
Construct a quaternion from an angle/axis.
Definition: OgreQuaternion.h:77
bool isProgrammable(void) const
Returns true if this pass is programmable i.e. includes either a vertex or fragment program.
Definition: OgrePass.h:182
vector< Triangle >::type TriangleList
Definition: OgreEdgeListBuilder.h:99
TerrainLayerBlendMap(Terrain *parent, uint8 layerIndex, HardwarePixelBuffer *buf)
Constructor.
@ SHADER_GEN_IDENTITY
Definition: OgreQuake3Types.h:120
virtual bool prepare(StreamSerialiser &ser)=0
Prepare data - may be called in the background.
Real getAttenuationConstant(void) const
Returns the constant factor in the attenuation formula.
Definition: OgreLight.h:235
virtual ~GLES2VaoManager()
Can either be used as an input or output value.
Definition: OgreController.h:105
void setGamma(float g)
Sets the gamma adjustment factor applied to this texture on loading the data.
Definition: OgreTexture.h:172
@ NONE
Definition: OgrePCZFrustum.h:75
virtual_l1 void triangle(uint32 i1, uint32 i2, uint32 i3)
Add a set of 3 vertex indices to construct a triangle; this is a shortcut to calling index() 3 times.
virtual void endCurrent()
This is called before another context is made current.
~DefaultHardwareIndexBuffer()
void _setAlphaRejectSettings(CompareFunction func, unsigned char value, bool alphaToCoverage)
virtual int getExecutionOrder() const
virtual void releaseContext()
Release the render context.
Definition: OgreGL3PlusContext.h:70
void setConsecutive()
Set the rowPitch and slicePitch so that the buffer is laid out consecutive in memory.
@ LightGatherForward
Definition: OgreHlms.h:87
virtual void _changeRenderSystem(RenderSystem *newRs)
@ ID_DIRECTIONAL
Definition: OgreScriptCompiler.h:713
virtual ~GLES2NullPixelBuffer()
CSGUnionSource(void)
Constructor, sets the sources to null.
void getTextureSource(IdString name, size_t &index, TextureSource &textureSource) const
Retrieves in which container to look for when looking to which texture is a given name associated wit...
virtual_l1 void textureCoord(Real u)
Add a texture coordinate to the current vertex.
void _switchContext(GLES2Context *context)
Switch GL context, dealing with involved internal cached states too.
virtual void calcViewMatrixRelative(const Vector3 &relPos, Matrix4 &matToUpdate) const
Calculate a view matrix for this frustum, relative to a potentially dynamic point.
Factory for creating PanelOverlayElement instances.
Definition: OgreOverlayElementFactory.h:74
GpuParamVariability
The variability of a GPU parameter, as derived from auto-params targeting it.
Definition: OgreGpuProgramParams.h:127
String doGet(const void *target) const
BillboardChain(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, size_t maxElements=20, size_t numberOfChains=1, bool useTextureCoords=true, bool useColours=true, bool dynamic=true)
Constructor (don't use directly, use factory)
FastArray< unsigned short > IndexMap
Definition: OgreSubMesh2.h:65
@ PF_ASTC_RGBA_10X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 10x6)
Definition: OgrePixelFormat.h:279
void _updateBounds(void)
Internal method for updating the bounds of the particle system.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:121
@ GPT_VERTEX_PROGRAM
Definition: OgreGpuProgram.h:50
Definition: OgreLodOutputProviderBuffer.h:42
#define OGRE_MAX_CUBE_PROBES
Definition: OgreParallaxCorrectedCubemap.h:41
bool isPoseAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform pose animation.
virtual void _notifyParticleCleared(list< Particle * >::type ¤tParticles)
Optional callback notified when particles cleared.
Definition: OgreParticleSystemRenderer.h:94
virtual const Vector3 * getWorldSpaceCorners(void) const
Gets the world space corners of the frustum.
virtual bool isStillOutstanding(void)=0
Lets you know when query is done, or still be processed by the Hardware.
Collects together the program parameters used for a GpuProgram.
Definition: OgreGpuProgramParams.h:888
@ RSC_TEXTURE_1D
Supports 1d textures.
Definition: OgreRenderSystemCapabilities.h:182
void execute(SceneQueryListener *listener)
See SceneQuery.
void _calcTempSquareDist(const Vector3 &worldPos)
Internal method for calculating current squared distance from some world position.
size_t getWastedMemory() const
Gets wasted memory (perform a cleanup to fix)
int * value
Definition: OgreX11EGLSupport.h:91
@ ID_COLOUR_BLEND
Definition: OgreScriptCompiler.h:651
Matrix4 mTrackedViewProjMatrix
When mTrackedPosition is not inside any probe, we'll use the view-projection matrix to select the clo...
Definition: OgreParallaxCorrectedCubemap.h:71
void setConstant(size_t index, const Matrix4 *m, size_t numEntries)
Sets a list of Matrix4 parameters to the program.
D3D11Device & _getDevice()
Definition: OgreD3D11RenderSystem.h:396
void setTo(Vector3 to)
Setter for the to-part of this cell.
Definition: OgreVolumeOctreeNode.h:166
void destroy(void)
Overridden - see RenderWindow.
const String & getRendererName(void) const
Gets the name of the ParticleRenderer to be used to render this particle system.
String getErrorDescription(long errorNumber) const
See RenderSystem.
virtual bool isStereoEnabled(const String &renderWindowName)
Definition: OgreD3D11ConstBufferPacked.h:38
void addGPUVendorRule(GPUVendor vendor, IncludeOrExclude includeOrExclude)
Add a rule which manually influences the support for this technique based on a GPU vendor.
virtual Camera * findCamera(IdString name) const
Finds the camera with the given name.
virtual void savingChangeTextureNameOriginal(const String &aliasName, String &inOutResourceName, String &inOutFilename)
Gives you a chance to completely change the name of the texture when saving a material.
Definition: OgreHlmsDatablock.h:219
static void gaussFilterZ(float *RESTRICT_ALIAS dstData, float *RESTRICT_ALIAS srcData, size_t texWidth, size_t texHeight, size_t texDepth, const float *RESTRICT_ALIAS kernel, int kernelStart, int kernelEnd)
virtual ~Listener()
Definition: OgreSceneManager.h:338
Default scene manager.
Definition: OgreSceneManagerEnumerator.h:61
virtual T calculate(T sourceValue)=0
void addConfig(void)
Add any special config values to the system.
SubRenderStateSet & getSubRenderStateInstanceSet()
Return a set of all instances of the template SubRenderState.
Definition: OgreShaderSubRenderState.h:195
virtual void setScale(Real x, Real y, Real z)
Sets the scaling factor applied to this OldNode.
HashedVector(size_type n)
Definition: OgreCommon.h:534
@ PM_WIREFRAME
Wireframe models are rendered.
Definition: OgreCommon.h:316
DefaultTextureParameters()
Definition: OgreHlmsTextureManager.h:117
@ OT_PATCH_24_CONTROL_POINT
Definition: OgreHlmsPso.h:83
const Vector3 getCenterRightTop(void) const
Gets the center of the corners 5, 6.
Definition: OgreVolumeOctreeNode.h:400
static CmdRotationSpeedRangeEnd msRotationSpeedRangeEndCmd
Definition: OgreRotationAffector.h:110
static ArrayReal InvSqrtNonZero4(ArrayReal f)
Returns the squared root of the reciprocal of x.
Definition: OgreMathlibC.h:364
void removeAllConstantDefinitions()
Remove a constant definition from this shared set of parameters.
size_t offset
Definition: OgreGLES2VaoManager.h:103
Definition: OgreShaderProgramWriterManager.h:62
static ArrayMaskR getMask(bool booleans[ARRAY_PACKED_REALS])
void setGlobalInstanceVertexBufferVertexDeclaration(v1::VertexDeclaration *val)
Sets vertex declaration for the global vertex buffer for the global instancing.
virtual void shutdown(void)
Shutdown the renderer and cleanup resources.
void stop(void)
Stop anything special.
@ RSC_TEXTURE_COMPRESSION
Supports compressed textures.
Definition: OgreRenderSystemCapabilities.h:136
float bbox[6]
Definition: OgreQuake3Types.h:197
virtual void preparePassHash(const CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager, Hlms *hlms)
Called right before creating the pass cache, to allow the listener to add/remove properties.
Definition: OgreHlmsListener.h:110
static unsigned short POSITION_BUFFER
Buffer binding used for holding positions.
Definition: OgreTerrainQuadTreeNode.h:261
@ PF_DXT5
DDS (DirectDraw Surface) DXT5 format.
Definition: OgrePixelFormat.h:120
size_t getIntLogicalIndexForPhysicalIndex(size_t physicalIndex)
Retrieves the logical index relating to a physical index in the int buffer, for programs which suppor...
@ LBX_BLEND_CURRENT_ALPHA
as LBX_BLEND_DIFFUSE_ALPHA, but use current alpha from previous stages
Definition: OgreBlendMode.h:99
void _addNode(OctreeNode *)
Adds an Octree scene node to this octree level.
void setAlwaysUpdateMainSkeleton(bool update)
The skeleton of the main entity will be updated even if the an LOD entity is being displayed.
Definition: OgreEntity.h:703
virtual void switchMode(uint &width, uint &height, short &frequency)=0
vector< VertexElement2Vec >::type VertexElement2VecVec
Definition: OgreVertexBufferPacked.h:83
This plugin subclass of ParticleAffector allows you to alter the scale of particles.
Definition: OgreScaleAffector.h:44
~D3D11BufferInterfaceBase()
BspNode * findLeaf(const Vector3 &point) const
Walks the entire BSP tree and returns the leaf which contains the given point.
map< uint32, uint32 >::type IndexToIndexMap
Definition: OgreSkeletonDef.h:81
void saveWorld(PagedWorld *world, const DataStreamPtr &stream)
Save a PagedWorld instance to a file.
TextureType
Enum identifying the texture type.
Definition: OgreTexture.h:89
virtual void _changeRenderSystem(RenderSystem *newRs)
bool mReinterpretingGS
Definition: OgreD3D11HLSLProgram.h:388
VertexElementSemantic semantic
Definition: OgreVertexIndexData.h:240
VertexData * vertexData[NumVertexPass]
Dedicated vertex data (only valid if useSharedVertices = false).
Definition: OgreSubMesh.h:91
uchar * getData(void)
Returns a pointer to the internal image buffer.
@ ID_QUAD_NORMALS
Definition: OgreScriptCompiler.h:886
void setDetailMapOffsetScale(uint8 detailMap, const Vector4 &offsetScale)
Sets the scale and offset of the detail map.
iterator erase(iterator toErase)
Definition: OgreFastArray.h:235
const Vector3 getCorner7(void) const
Gets the coordinate of corner 7.
Definition: OgreVolumeOctreeNode.h:499
ImageDownsamplerCube downscale2x_XXXA8888_cube
Definition: OgreImageDownsampler.h:76
virtual void getBestDepthStencil(PixelFormat depthFormat, PixelFormat fboFormat, GLenum *outDepthFormat, GLenum *outStencilFormat)
Get best depth and stencil supported for given internalFormat.
void setRotateAnimation(Real speed)
Sets up an animated texture rotation for this layer.
@ TEXTURE_TYPE_DETAIL_NORMAL_MAP
Definition: OgreHlmsTextureManager.h:139
void useFilename()
Set to use file name.
#define OGRE_LOCK_MUTEX(name)
Definition: OgreThreadDefinesBoost.h:34
void execute(RaySceneQueryListener *listener)
See RayScenQuery.
virtual const String & getType() const
uint8 mFresnelTypeSizeBytes
Definition: OgrePbsMobileShaderCreationData.h:57
static const String & getDirectionalLightExtruderVs_4_0Finite(void)
Get FINITE extruder program source for directional lights, compatible with vs_4_0.
Definition: OgreShadowVolumeExtrudeProgram.h:295
GLES2TexBufferEmulatedPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, GLES2BufferInterface *bufferInterface, Ogre::PixelFormat pf)
@ GCT_MATRIX_DOUBLE_3X4
Definition: OgreGpuProgramParams.h:103
void setExternalMicrocode(ID3DXBuffer *pMicrocode)
Tells the program to load from some externally created microcode instead of a file or source.
void _pushCurrentSceneManager(SceneManager *sm)
Pushes the scene manager currently being used to render.
virtual void estimateVertexCount(size_t vcount)
Estimate the number of vertices ahead of time.
@ ID_CONNECT_OUTPUT
Definition: OgreScriptCompiler.h:816
static const uint32 CHUNK_ID
Definition: OgrePagedWorld.h:63
HighLevelGpuProgramPtr createProgram(const String &name, const String &groupName, const String &language, GpuProgramType gptype)
Create a new, unloaded HighLevelGpuProgram.
virtual VertexMorphKeyFrame * createVertexMorphKeyFrame(Real timePos)
Creates a new morph KeyFrame and adds it to this animation at the given time index.
void lock(const SharedPtr< T > &p, size_t offset, size_t length, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:404
void getPositionAlign(Real x, Real y, Real z, Alignment align, Vector3 *outWSpos) const
Convert a position from terrain basis space to world space based on a specified alignment.
void _notifyManager(SceneManager *man)
Notify the object of it's manager (internal use only)
Definition: OgreMovableObject.h:164
String file
Definition: OgreScriptCompiler.h:68
@ Read
Definition: OgreResourceTransition.h:113
void setVertexFormat(const VertexElement2VecVec &vertexElements, OperationType operationType, bool enablePrimitiveRestart)
This function can be skipped if no vertex buffer is used (e.g.
static const IdString ThreadsPerGroupY
Definition: OgreHlmsCompute.h:196
@ ENDIAN_NATIVE
Use the platform native endian.
Definition: OgreSerializer.h:63
void exportQueued(const String &filename, const bool includeProgDef=false, const String &programFilename="")
Exports queued material(s) to a named material script file.
Matrix4 getTransposeProjectionMatrix() const
Real getSquaredViewDepth(const Camera *cam) const
void load(DataStreamPtr &dataStream, IdString &hashedString)
void setAutoHardwareBufferManagement(bool autoManagement)
Set/Get automatic hardware buffers management.
Definition: OgreD3D9ResourceManager.h:92
Builds the union between two sources.
Definition: OgreVolumeCSGSource.h:247
void setSplitPadding(Real pad)
Set the padding factor to apply to the near & far distances when matching up splits to one another,...
Definition: OgreShadowCameraSetupPSSM.h:103
@ TU_RENDERTARGET
This texture will be a render target, i.e.
Definition: OgreTexture.h:66
virtual void synchroniseBaseSettingsWith(const Camera *cam)
Synchronise core camera settings with another.
@ PBSM_BLEND_MULTIPLY2X
Definition: OgreHlmsPbsPrerequisites.h:86
void destroySection(PagedWorldSection *sec)
Destroy a section of world.
static ArrayMaskI AndNot(ArrayInt a, ArrayMaskI b)
Definition: OgreMathlibC.h:200
Class for serialising skeleton data to/from an OGRE .skeleton file.
Definition: OgreSkeletonSerializer.h:71
virtual bool getUseIdentityViewProjMatrixIsDynamic(void) const
Returns whether the Hlms implementation should evaluate getUseIdentityProjection per object at runtim...
Definition: OgreRenderable.h:178
static const AutoConstantDefinition * getAutoConstantDefinition(const String &name)
gets the auto constant definition associated with name if found else returns NULL
@ GCT_SAMPLER_WRAPPERCUBE
Definition: OgreGpuProgramParams.h:118
virtual void bindBufferDS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
void setConfigOption(const String &name, const String &value)
See RenderSystem.
static void fillResourcesLayout(ResourceLayoutMap &outResourcesLayout, const CompositorChannelVec &compositorChannels, ResourceLayout::Layout layout)
Overrides a resource with the given layout if it's already in outResourcesLayout.
virtual bool getAutoextend(void) const
Returns true if the billboard pool automatically extends.
virtual Animation * createAnimation(const String &name, Real length)
Creates a new Animation object for animating this skeleton.
RenderTarget * detachRenderTarget(const String &name)
Detaches a named RenderTarget from the active render system and returns a pointer to it.
static Quaternion SlerpExtraSpins(Real fT, const Quaternion &rkP, const Quaternion &rkQ, int iExtraSpins)
void initialiseExtensions(void)
Initialises GL extensions, must be done AFTER the GL context has been established.
GLuint getTemporaryFBO(size_t i)
Get a FBO without depth/stencil for temporary use, like blitting between textures.
signed char int8
Definition: OgrePlatform.h:455
@ ID_DEPTH_COPY
Definition: OgreScriptCompiler.h:851
Definition: OgreSceneManager.h:305
Particle emitter which emits particles randomly from points inside a box.
Definition: OgreBoxEmitter.h:45
Octree implementation of PlaneBoundedVolumeListSceneQuery.
Definition: OgreOctreeSceneQuery.h:78
virtual void _setDestinationRenderSystem(RenderSystem *sys)
Notifies the scene manager of its destination render system.
void setMaterialName(const String &name, const String &groupName)
Sets the name of the Material to be used. Prefer using HLMS @See setHlms.
static InterpolationMode getDefaultInterpolationMode(void)
Gets the default interpolation mode for all animations.
void doSet(void *target, const String &val)
virtual OperationType getOutputOperationType(void) const
Returns the operation type that this geometry program will emit.
Definition: OgreGLSLShader.h:114
LinearForceAffector(ParticleSystem *psys)
Default constructor.
@ UNLIT_BLEND_NORMAL_PREMUL
Premultiplied alpha blending.
Definition: OgreHlmsUnlitPrerequisites.h:65
A barrier is a synchronization mechanism where multiple threads wait until all of them have reached t...
Definition: OgreBarrier.h:63
static const IdString TargetEnvprobeMap
Definition: OgreHlmsPbs.h:398
bool requiresTextureFlipping() const
Definition: OgreD3D9MultiRenderTarget.h:49
Definition: OgreCompositorWorkspaceListener.h:46
@ SceneNodes
Definition: OgreSceneFormatBase.h:49
const String & getTypeName(void) const
Retrieve the type name of this scene manager.
virtual GuiMetricsMode getMetricsMode(void) const
Retrieves the current settings of how the element metrics are interpreted.
void removeNodeDefinition(IdString nodeDefName)
Removes the node definition with the given name. Throws if not found.
virtual RequestID addRequest(uint16 channel, uint16 requestType, const Any &rData, uint8 retryCount=0, bool forceSynchronous=false, bool idleThread=false)
Add a new request to the queue.
VertexArrayObject(uint32 vaoName, uint32 renderQueueId, uint16 inputLayoutId, const VertexBufferPackedVec &vertexBuffers, IndexBufferPacked *indexBuffer, OperationType operationType)
static PixelFormat getClosestOGREFormat(GLenum format)
Function to get the closest matching OGRE format to an internal GL format.
void destroyIndexBuffer(IndexBufferPacked *indexBuffer)
Destroys the given index buffer created with createIndexBuffer.
DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
virtual_l1 void position(const Vector3 &pos)
Add a vertex position, starting a new vertex at the same time.
static void scale(const PixelBox &src, const PixelBox &dst)
Definition: OgreImageResampler.h:177
CubemapProbe * getCubemapProbe(void) const
virtual unsigned short getNextFreeTextureCoordinate() const
Return the index of the next free texture coordinate set which may be added to this declaration.
void copy(const MeshPtr &destination, int vertexBufferType=-1, int indexBufferType=-1)
Will copy this mesh into the destination mesh.
static const ArrayReal MAX_NEG
Definition: OgreMathlibC.h:60
virtual bool isFrameFinished(uint32 frameCount)=0
If this returns true, then waitForSpecificFrameToFinish is guaranteed to return immediately.
@ TLSS_NORMAL
Tangent-space normal information from a detail texture.
Definition: OgreTerrainMaterialGenerator.h:61
virtual_l1 void setScale(const Vector3 &scale)
Sets the scaling factor applied to this node.
virtual bool getSortByDistance(void) const
Gets whether the results are sorted by distance.
AllocatedObject< ScriptingAllocPolicy > ScriptingAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:284
float getPoseWeight(size_t index) const
virtual void _useLights(const LightList &lights, unsigned short limit)
Tells the rendersystem to use the attached set of lights (and no others) up to the number specified (...
size_t getNumTargetPasses(void) const
Gets the number of passes in this node.
Definition: OgreCompositorNodeDef.h:161
void setResourceGroup(const String &grp)
Set the resource group in which files will be located.
Definition: OgreTerrainGroup.h:163
void CreateDomainShader()
LayerInstance()
Definition: OgreTerrain.h:308
void initialiseCounts(void)
Utility function read the header and set up counters.
@ VIEW_SPACE_CORNERS
Definition: OgreCompositorPassQuadDef.h:73
@ TEX_TYPE_2D_RECT
2D non-square texture, used in combination with 2D texture coordinates
Definition: OgreTexture.h:101
bool getPolygonModeOverrideable(void) const
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
Definition: OgreBorderPanelOverlayElement.h:343
ColourValue getDerivedSceneColour(void) const
Definition: OgreX11EGLSupport.h:94
void setNormalMapTextureName(const String &textureName)
Set the normal map texture name.
Definition: OgreShaderExNormalMapLighting.h:135
virtual void postCommandBufferExecution(CommandBuffer *commandBuffer)
This gets called after executing the command buffer.
Definition: OgreHlms.h:703
virtual void setUseRenderingDistance(bool use)
Set whether this camera should use the 'rendering distance' on objects to exclude distant objects fro...
Definition: OgreCamera.h:644
~ItemFactory()
Definition: OgreItem.h:268
Bridge interface from the render system to the stereo driver.
Definition: OgreD3D11StereoDriverBridge.h:46
virtual Animation * createAnimation(const String &name, Real length)
Creates a new Animation object for vertex animating this mesh.
const Vector3 * getAllCorners(void) const
Returns a pointer to an array of 8 corner points, useful for collision vs.
Definition: OgreAxisAlignedBox.h:300
@ ID_START_LIGHT
Definition: OgreScriptCompiler.h:705
Definition: OgreCbLowLevelMaterial.h:36
static ParameterPtr createInIndices(int index)
AxisAlignedBoxSceneQuery(SceneManager *mgr)
virtual void setFsaaResolved()
Definition: OgreGLES2NullTexture.h:108
uint8 getRetryCount() const
Get the remaining retry count.
Definition: OgreWorkQueue.h:114
void set(const Vector3 &newOrigin, const Vector3 &newEnd)
LwString & a(int32 a0)
Definition: OgreLwString.h:228
static const IdString UvAtlas6
Definition: OgreHlmsUnlitMobile.h:149
uint32 getUpdateCounter(void) const
Definition: OgreShaderParams.h:153
@ ID_ADD
Definition: OgreScriptCompiler.h:751
virtual void execute(IntersectionSceneQueryListener *listener)=0
Executes the query and returns each match through a listener interface.
void buildFrom(const SubMesh *baseSubMesh, const RenderOperation &renderOperation)
const TexturePtr & getGlobalColourMap() const
Get access to the global colour map, if enabled.
Definition: OgreTerrain.h:1426
float normal[3]
Definition: OgreQuake3Types.h:149
int getVBlankMissCount(D3D9RenderWindow *renderWindow)
~D3D9RenderTexture()
Definition: OgreD3D9Texture.h:226
virtual bool hasAnisotropicMipMapFilter() const
Determines if the system has anisotropic mip map filter support.
Definition: OgreNULLRenderSystem.h:201
virtual void hlmsTypeChanged(bool casterPass, CommandBuffer *commandBuffer, const HlmsDatablock *datablock)
Called when the last Renderable processed was of a different Hlms type, thus we need to rebind certai...
Definition: OgreHlmsListener.h:131
void begin_context(RenderTarget *_target=0)
IdString mFsaaTextureName
Definition: OgreCompositorPassQuadDef.h:96
virtual void setActive(bool state)
Used to set the active state of the render target.
Definition: OgreException.h:215
Real mInvNextFrameDistance
Definition: OgreSkeletonTrack.h:43
size_t getParticleQuota(void) const
Returns the maximum number of particles this system is allowed to have active at once.
Renderbuffer surface.
Definition: OgreGLES2HardwarePixelBuffer.h:86
Sphere()
Standard constructor - creates a unit sphere around the origin.
Definition: OgreSphere.h:57
NodeMemoryManager & _getTagPointNodeMemoryManager(void)
Definition: OgreSceneManager.h:1391
void loadHeaderFromStream(DataStreamPtr &inStream)
Load just the header information from a Quake3 file.
NullEntity()
Definition: OgreMovableObject.h:625
void doSet(void *target, const String &val)
Usage: OGRE_NEW SceneNode( Id::generateNewId< Node >() )
Definition: OgreId.h:43
virtual void _setPipelineStateObject(const HlmsPso *pso)
@See HlmsPso
VertexData * _getSoftwareVertexAnimVertexData(void)
Advanced method to get the temporarily blended software morph vertex information.
D3DFORMAT _getDepthStencilFormatFor(D3DFORMAT fmt)
Check which depthStencil formats can be used with a certain pixel format, and return the best suited.
virtual void destroyInstanceManager(IdString name)
Destroys an InstanceManager if it was created with createInstanceManager()
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
String doGet(const void *target) const
String doGet(const void *target) const
virtual bool isEquivalentFormatSupported(TextureType ttype, PixelFormat format, int usage)
Returns whether this render system can support the texture format requested with the given usage opti...
float mDepthBiasConstant
When polygons are coplanar, you can get problems with 'depth fighting' where the pixels from the two ...
Definition: OgreHlmsDatablock.h:98
virtual void _setComputePso(const HlmsComputePso *pso)
Unlike _setPipelineStateObject, the RenderSystem will check if the PSO has changed to avoid redundant...
uint8 dataSizeBytes
Size in bytes from dataBytes.
Definition: OgreShaderParams.h:72
void shutdownAll(void)
Shutdown all ResourceManagers, performed as part of clean-up.
virtual void execute(SceneQueryListener *listener)
See RayScenQuery.
@ Scale
Definition: OgreBoneArrayMemoryManager.h:60
static const IdString ForwardPlusDebug
Definition: OgreHlms.h:833
vector< Camera * >::type CameraList
Definition: OgrePageManager.h:407
static const char * DetailWeightMap
Definition: OgreHlmsPbs.h:330
@ OPT_0
Optimisation level 0.
Definition: OgreD3D9HLSLProgram.h:154
void nodeAttached(BoneTransform &outTransform, size_t depth)
Requests memory for the given transform to be attached, transferring existing values inside to the ne...
uint16 getType() const
Get the type of this request within the given channel.
Definition: OgreWorkQueue.h:110
bool hasWorkspaceDefinition(IdString name) const
Returns true if a workspace definition with the given name exists.
const Quaternion & _getCachedRealOrientation(void) const
Definition: OgreCamera.h:421
void FromAngleAxis(const Vector3 &rkAxis, const Radian &fRadians)
#define OGRE_FREE(ptr, category)
Free the memory allocated with OGRE_MALLOC or OGRE_ALLOC_T. Category is required to be restated to en...
Definition: OgreMemoryAllocatorConfig.h:457
int format
Definition: OgreX11EGLSupport.h:94
SharedPtr< ThreadHandle > ThreadHandlePtr
Definition: OgreThreads.h:120
NSWindow * ogreWindow() const
Definition: OgreOSXCocoaWindow.h:76
Matrix4 getInverseProjectionMatrix() const
time_t getModifiedTime(const String &filename)
Retrieve the modification time of a given file.
static Radian ASin(Real fValue)
Arc sine function.
bool isDouble() const
Definition: OgreGpuProgramParams.h:196
static void * GetTls(TlsHandle tlsHandle)
vector< KeyFrameRigVec::const_iterator >::type KnownKeyFramesVec
Definition: OgreSkeletonAnimation.h:42
void ToAngleAxis(Vector3 &rkAxis, Radian &rfAngle) const
Note: Matrix must be orthonormal.
Common subclass of DataStream for handling data from std::basic_istream.
Definition: OgreDataStream.h:482
void _prepare(void)
Internal method for preparing to load this pass.
const ResourceLayoutMap & getResourcesLayout(void) const
Definition: OgreCompositorWorkspace.h:187
uint32 ARGB
Definition: OgreColourValue.h:42
@ ID_TEXTURE
Definition: OgreScriptCompiler.h:722
void destroyAntiPortal(const String &portalName)
Delete a anti portal instance by name.
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
ushort getWeightCount()
Returns the number of weights/bones affecting a vertex.
static size_t parseSizeT(const String &val, size_t defaultValue=0)
Converts a String to size_t.
void swapBuffers()
Overridden - see RenderWindow.
virtual ~SceneManager()
Default destructor.
GLuint getDepthBuffer() const
Definition: OgreGL3PlusDepthBuffer.h:68
int getSoftwareAnimationNormalsRequests(void) const
Returns the number of requests that have been made for software animation of normals.
Definition: OgreEntity.h:522
void setTimer(Timer *t)
Sets the timer for the profiler.
virtual const Vector3 & getDirPositionReference() const
Returns the position reference to generate direction of emitted particles.
MovablePlane(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const Plane &rhs)
~GL3PlusHardwareBufferManagerBase()
void attachRenderWindow(D3D9RenderWindow *renderWindow)
bool intersects(const Capsule &) const
@ ID_WRITE
Definition: OgreScriptCompiler.h:934
virtual SceneNode * createSceneNodeImpl(const String &name)
override this to ensure their specialised PCZSceneNode is used.
virtual_l2 Vector3 convertLocalToWorldPosition(const Vector3 &localPos)
Gets the world position of a point in the node local space useful for simple transforms that don't re...
~DefaultPlaneBoundedVolumeListSceneQuery()
static const IdString BrdfCookTorrance
Definition: OgreHlmsPbs.h:404
virtual Real getLoadRadiusInCells()
Get the load radius as a multiple of cells.
Definition: OgreGrid2DPageStrategy.h:173
virtual void getCustomAttribute(const String &name, void *pData)
@ Continue
Definition: OgreAssert.h:46
virtual void addMarchingSquaresTriangles(const Vector3 *corners, const Vector4 *volumeValues, const size_t *indices, const Real maxDistance, MeshBuilder *mb) const =0
Adds triangles to a MeshBuilder via Marching Squares.
void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
void touch(void)
'Touches' the resource to indicate it has been used.
Definition: OgreMaterial.h:527
GpuProgram * _getBindingDelegate(void)
Returns the GpuProgram which should be bound to the pipeline.
Definition: OgreHighLevelGpuProgram.h:134
@ ACT_RENDER_TARGET_FLIPPING
render target related values
Definition: OgreGpuProgramParams.h:994
StringVectorPtr findResourceLocation(const String &groupName, const String &pattern)
Find all resource location names matching a given pattern in a resource group.
virtual void _endFrame(void)=0
Ends rendering of a frame to the current viewport.
Vector3 GetColumn(size_t iCol) const
virtual void buildDiffList(uint16 level, const MemoryPoolVec &basePtrs, ArrayMemoryManager::PtrdiffVec &outDiffsList)
Called when the manager needs to grow it's memory pool to honour more node requests.
const String & getShaderLibraryPath(void) const
Get shader library path.
Definition: OgreGL3PlusSupport.h:98
Definition: OgreCompositorShadowNode.h:345
static const uint32 TERRAINGENERALINFO_CHUNK_ID
Definition: OgreTerrain.h:292
@ SPC_LIGHTDIRECTION_TANGENT_SPACE5
Definition: OgreShaderParameter.h:202
int surface_flags
Definition: OgreQuake3Types.h:204
const Plane * _getCachedFrustumPlanes(void) const
Returns the frustum planes, doesn't check if dirty.
Definition: OgreFrustum.h:471
virtual void *RESTRICT_ALIAS_RETURN map(size_t elementStart, size_t elementCount, MappingState prevMappingState, bool advanceFrame=true)
Real nX
X component of the normal.
Definition: OgreVolumeMeshBuilder.h:54
virtual void setMaterial(const MaterialPtr &material)
Sets a Material to be used.
virtual ~Pool()
Definition: OgreResourceManager.h:53
virtual ~LodCollapseCost()
Definition: OgreLodCollapseCost.h:42
ConcreteNodeType
These enums hold the types of the concrete parsed nodes.
Definition: OgreScriptCompiler.h:50
PCPlane * getUnusedCullingPlane(void)
Get an unused PCPlane from the CullingPlane Reservoir.
virtual bool queryIsTransferDone(void)
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Quaternion getAsQuaternion(size_t index) const
Prefer using.
Definition: C/OgreArrayQuaternion.h:92
vector< PageContentCollection * >::type ContentCollectionList
Definition: OgrePage.h:53
Command object for billboard rotation type (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:78
unsigned long long int getChangeCount() const
Returns the number of times the generator has undergone a change which would require materials to be ...
Definition: OgreTerrainMaterialGenerator.h:260
void _bakeUnusedSlots(void)
Takes all KeyFrames and repeats the KfTransforms for every unused slot by a pattern based on the numb...
SharedPtr(const SharedPtr< Y > &r)
Definition: OgreSharedPtr.h:208
uint8 getMaxLayers(const Terrain *terrain) const
Get the number of layers supported.
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
FileStreamDataStream(std::ifstream *s, bool freeOnClose=true)
Construct a read-only stream from an STL stream.
@ ID_SRC_COLOUR
Definition: OgreScriptCompiler.h:655
virtual_l1 void setScale(Real x, Real y, Real z)
Sets the scaling factor applied to this node.
virtual void _sortBillboards(void)
Sort the billboard set.
vector< HlmsCache * >::type HlmsCacheVec
Definition: OgreHlmsCommon.h:197
virtual void _renderNoBaseInstance(const v1::CbDrawCallStrip *cmd)
Definition: OgreD3D11DriverList.h:37
~NumericKeyFrame()
Definition: OgreKeyFrame.h:87
Definition: OgreD3D9VideoModeList.h:38
void retain(ArrayMaskR orientation, ArrayMaskR scale)
Strips orientation and/or scale components out of this matrix based on the input using branchless sel...
void setBlendIndicesGpuRedundant(bool redundant)
Sets whether blend indices information needs to be passed to the GPU.
Definition: OgreRoot.h:1062
@ GCT_MATRIX_DOUBLE_4X4
Definition: OgreGpuProgramParams.h:106
static T Clamp(T val, T minval, T maxval)
Clamp a value within an inclusive range.
Definition: OgreMath.h:712
void preDeltaCalculation(const Rect &rect)
Notify the node (and children) that deltas are going to be calculated for a given range.
Definition: OgreMetalDepthTexture.h:94
HlmsDatablock * getDatablockNoDefault(IdString name) const
@See getDatablock.
T::iterator efficientVectorRemove(T &container, typename T::iterator &iterator)
Used for efficient removal in std::vector and std::deque (like an std::list) However it assumes the o...
Definition: OgreCommon.h:955
uint size
Definition: OgreTerrainLodManager.h:83
virtual void frameEnd(Real timeElapsed)=0
Called when the frame ends.
virtual void _setTextureBlendMode(size_t unit, const LayerBlendModeEx &bm)
Sets the texture blend modes from a TextureUnitState record.
Definition: OgreNULLVertexArrayObject.h:39
stdext::hash_compare< _StringBase, std::less< _StringBase > > _StringHash
Definition: OgreString.h:219
const AxisAlignedBox & getBox(void) const
Gets the box which is being used for this query.
~MeshSerializerImpl_v1_41()
String doGet(const void *target) const
Listener which gets called back on Node events.
Definition: OgreNode.h:81
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
uint32 top
Definition: OgreCommon.h:839
virtual void setNumberOfChains(size_t numChains)
Set the number of chain segments (this class can render multiple chains at once using the same materi...
UniformParameterPtr getParameterByType(GpuConstantType type, int index)
Get parameter by a given type and index.
static const IdString NumThreadGroupsZ
Definition: OgreHlmsCompute.h:200
SceneBlendOperation
Blending operations controls how objects are blended into the scene.
Definition: OgreBlendMode.h:254
virtual ~IntersectionSceneQueryListener()
Definition: OgreSceneQuery.h:455
StrideChanger()
Definition: OgreGL3PlusVaoManager.h:62
uint32 getDecalsPerCell(void) const
Definition: OgreForwardClustered.h:127
virtual void write(const bool *boolean, size_t count=1)
virtual ~SubRenderState()
Class destructor.
friend class SGPass
Definition: OgreShaderGenerator.h:1080
void destroyWorld(const String &name)
Destroy a world.
void removeConstantDefinition(const String &name)
Remove a constant definition from this shared set of parameters.
bool operator<(const HashedVector< T > &b)
Definition: OgreCommon.h:645
~HashedVector()
Definition: OgreCommon.h:546
virtual BackgroundProcessTicket unload(const String &resType, const String &name, Listener *listener=0)
Unload a single resource in the background.
String doGet(const void *target) const
virtual void _hlmsMacroblockDestroyed(HlmsMacroblock *block)
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
virtual Real getRSDepthRange(void) const
OpenGL depth is in range [-1;1] so it returns 2.0f; D3D11 & Metal are in range [0;1] so it returns 1....
Definition: OgreRenderSystem.h:989
BasicBlock(uint8 blockType)
const double & min(const double &a, const double &b)
Definition: OgreCommon.h:1021
ArrayQuaternion(const ArrayReal &chunkW, const ArrayReal &chunkX, const ArrayReal &chunkY, const ArrayReal &chunkZ)
Definition: C/OgreArrayQuaternion.h:71
void flushShaderCache()
Flush the shader cache.
BuiltinScriptTranslatorManager()
void setName(const String &name)
Set the name of the Texture Unit State.
void clear(void)
Clears all the points in the spline.
virtual Viewport * _getViewport(void)
Get the current active viewport for rendering.
Overlay(const String &name, IdType id, ObjectMemoryManager *objectMemoryManager, uint8 renderQueueId)
Constructor: do not call direct, use OverlayManager::create.
bool isVertexTextureFetchRequired(void) const
Returns whether this vertex program requires support for vertex texture fetch from the hardware.
Real getTextureUScale(void) const
Get texture uscale value.
@ ID_CAMERA_FAR_CORNERS_VIEW_SPACE
Definition: OgreScriptCompiler.h:887
SharedPtr< ConcreteNode > ConcreteNodePtr
Definition: OgreScriptCompiler.h:62
void _notifyContainer(AnimationContainer *c)
AutoParamDataSource * _getAutoParamDataSource(void) const
Definition: OgreHlmsLowLevel.h:80
void load()
Load the library.
@ LBX_ADD_SMOOTH
as LBX_ADD, but subtract product from the sum
Definition: OgreBlendMode.h:91
@ ID_SHADOW_MAP
Definition: OgreScriptCompiler.h:958
virtual bool hasAnisotropicMipMapFilter() const =0
Determines if the system has anisotropic mip map filter support.
const CompositorPassDefVec & getCompositorPasses() const
Definition: OgreCompositorPassDef.h:234
void removeLodListener(LodListener *listener)
Remove a level of detail listener.
IdString mCustomIdentifier
Definition: OgreCompositorNodeDef.h:100
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
Definition: OgreMemoryAllocatedObject.h:59
int mNumPlanes
Definition: OgreQuake3Level.h:136
size_t find_last_of(char c, size_t pos=~0) const
Definition: OgreLwConstString.h:134
const String & getName() const
Return the name of the log.
Definition: OgreLog.h:133
virtual size_t calculateSize(void) const
Calculate the size of a resource; this will only be called after 'load'.
virtual_l2 Quaternion _getDerivedOrientation(void) const
Gets the orientation of the node as derived from all parents.
virtual Decal * createDecal(SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
@ RSC_HWRENDER_TO_VERTEX_BUFFER
Supports rendering to vertex buffers.
Definition: OgreRenderSystemCapabilities.h:133
const String & getMovableType(void) const
Returns the type name of this object.
const Any & getUserAny(void) const
Retrieves the custom key less user object associated with this class.
void setMaterialName(const String &matName)
Overridden from OverlayElement.
PagedWorldSectionFactory * getWorldSectionFactory(const String &name)
Get a PagedWorldSectionFactory.
AtomicScalar(const T &initial)
Definition: OgreAtomicScalar.h:408
void setHardwareGammaEnabled(bool enabled)
Sets whether this texture will be set up so that on sampling it, hardware gamma correction is applied...
Definition: OgreTexture.h:192
bool hasVertex(const Vertex *v) const
virtual void initGPUProfiling(void)
Predefined controller value for getting the latest frame time.
Definition: OgrePredefinedControllers.h:52
virtual void beginOcclusionQuery()=0
Starts the hardware occlusion query.
@ ID_CONNECT_BUFFER_EXTERNAL
Definition: OgreScriptCompiler.h:818
MaterialPtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Get a resource by name.
vector< Block >::type BlockVec
Definition: OgreGLES2VaoManager.h:80
Any(const ValueType &value)
Definition: OgreAny.h:69
virtual int getUsage() const
Returns the TextureUsage identifier for this Texture.
Definition: OgreTexture.h:258
@ VS_BACK
The side from which u goes right and v goes down (reverse of texture coords)
Definition: OgrePatchSurface.h:75
virtual void bindBufferPS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Definition: OgreNULLTexBufferPacked.h:50
void bind(IDirect3DDevice9 *dev, IDirect3DVolume9 *mVolume, IDirect3DBaseTexture9 *mipTex)
Definition: OgreShaderParams.h:69
GLSLESShader * getVertexShader() const
Definition: OgreGLSLESProgramCommon.h:106
GeneralAllocatedObject PluginAlloc
Definition: OgreMemoryAllocatorConfig.h:321
void setCharacterSpacer(uint charSpacer)
Sets the spacing to allocate for font characters to overlap each other.
@ LF_DEFAULT
Only reloadable resources are processed, reload restores initial state.
Definition: OgreResource.h:135
virtual bool isCompatible(RenderTarget *renderTarget, bool exactFormatMatch) const
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is,...
static const int ShaderShiftTransp
Definition: OgreRenderQueue.h:277
void setEmissive(const Vector3 &emissiveColour)
Sets emissive colour (e.g.
virtual void getBestDepthStencil(PixelFormat depthFormat, PixelFormat fboFormat, GLenum *outDepthFormat, GLenum *outStencilFormat)
Get best depth and stencil supported for given internalFormat.
std::pair< CodePoint, CodePoint > CodePointRange
A range of code points, inclusive on both ends.
Definition: OgreFont.h:154
Specialisation of HardwareBuffer for vertex index buffers, still abstract.
Definition: OgreHardwareIndexBuffer.h:49
InterpolationMode getInterpolationMode(void) const
Gets the current interpolation mode of this animation.
void setTessellationDomainProgramConstantBoolCount(ushort c)
The number of boolean constants tessellation Domain programs support.
Definition: OgreRenderSystemCapabilities.h:892
void setAmbient(Real red, Real green, Real blue)
Sets the ambient colour reflectance properties for every Pass in every Technique.
bool hasSkeleton(void) const
Definition: OgreInstancedEntity.h:249
virtual RenderSystemCapabilities * createRenderSystemCapabilities() const
See RenderSystem.
virtual void _dispatch(const HlmsComputePso &pso)
@ GCT_FLOAT1
Definition: OgreGpuProgramParams.h:68
ComPtr & operator=(T *other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:150
void setCurrentShadowNode(const CompositorShadowNode *sn)
virtual void initGPUProfiling(void)=0
virtual ~ControllerValue()
Definition: OgreController.h:108
ParticleSystemRenderer()
Constructor.
Definition: OgreParticleSystemRenderer.h:55
PageStrategy(const String &name, PageManager *manager)
Definition: OgrePageStrategy.h:79
virtual void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
Emulates the execution of a UAV to understand memory dependencies, and adds a memory barrier / resour...
virtual VertexPoseKeyFrame * createVertexPoseKeyFrame(Real timePos)
Creates the single pose KeyFrame and adds it to this animation.
virtual PageID getPageID(const Vector3 &worldPos)
Get the page ID for a given world position.
unsigned short getNumTechniques(void) const
Retrieves the number of techniques.
const ColourValue & getColour(void) const
Gets the colour of this billboard.
size_t dstOffset
The offset in the destination buffer to copy to.
Definition: OgreStagingBuffer.h:84
static const IdString FresnelScalar
Definition: OgreHlmsPbsMobile.h:116
HlmsDatablock * getMaterial(IdString name) const
Alias function.
Definition: OgreHlmsManager.h:270
void extractUniformsFromGLSL(const String &src, GpuNamedConstants &constantDefs, const String &filename)
Populate a list of uniforms based on GLSL source and store them in GpuNamedConstants.
GLenum blendFunc
Definition: OgreGL3PlusHlmsPso.h:59
Particle()
Definition: OgreParticle.h:102
ImageBlur2D separableBlur_sRGB_AX88
Definition: OgreImageDownsampler.h:212
Command object for setting matrix packing in column-major order.
Definition: OgreD3D9GpuProgram.h:44
uint32 renderOpMeshIndex
Definition: OgreSubMesh.h:75
virtual unsigned int getDisplayMonitorCount() const =0
Gets the number of display monitors.
@ GVA_CENTER
Definition: OgreOverlayElement.h:82
GpuProgram * _getBindingDelegate(void)
Since GLSL has no assembly, use this shader for binding.
Definition: OgreGLSLESShader.h:144
@ SOP_DECREMENT
Decrease the stencil value by 1, clamping at 0.
Definition: OgreCommon.h:120
@ ID_VERTEX_PROGRAM_REF
Definition: OgreScriptCompiler.h:616
VertexElement2Vec vertexElements
Definition: OgreNULLVaoManager.h:97
Real getRenderingMinPixelSize() const
Returns the minimum pixel size an object needs to be in both screen axes in order to be rendered.
Definition: OgreMovableObject.h:375
@ SMT_FRAME_SEQUENTIAL
Definition: OgreCommon.h:359
void _notifyParticleResized(void)
Optional callback notified when particles are resized individually.
void setEntryPoint(const String &entryPoint)
Sets the entry point for this program ie the first method called.
Definition: OgreD3D9HLSLProgram.h:176
const AxisAlignedBox & getAAB()
Returns an updated AAB of the portal for intersection test.
@ PCT_BYTE
Definition: OgrePixelFormat.h:394
virtual ~ParticleSystemManager()
void releaseRenderBuffer(const GL3PlusSurfaceDesc &surface)
Release a render buffer.
bool getShareableDepthBuffer(void) const
Definition: OgreGL3PlusDepthTexture.h:48
IDirect3DDevice9 * getD3D9Device()
OptimizationStrategy getOptimizationStrategy() const
static Vector3 parseVector3(const String &val, const Vector3 &defaultValue=Vector3::ZERO)
Parses a Vector3 out of a String.
PixelFormat getSrcFormat(void) const
Returns the pixel format of the original input texture (may differ due to hardware requirements and p...
Definition: OgreTexture.h:340
TagPoint(IdType id, SceneManager *creator, NodeMemoryManager *nodeMemoryManager, SceneNode *parent)
Pre-transforms and batches up meshes for efficient use as static geometry in a scene.
Definition: OgreStaticGeometry.h:124
void _makeOrthoMatrix(const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
Builds an orthographic projection matrix suitable for this render system.
vector< DepthLevelInfo >::type DepthLevelInfoVec
Definition: OgreSkeletonDef.h:79
@ ID_PHONG
Definition: OgreScriptCompiler.h:692
static const Real msEpsilon
Cutoff for sine near zero.
Definition: OgreQuaternion.h:314
virtual bool addRenderWindow(D3D11RenderWindowBase *renderWindow)
MaterialPtr generateForCompositeMap(const Terrain *terrain)
Generate / reuse a material for the terrain.
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, uint32 lastTextureHash)
Fills the constant buffers.
@ OGREPROF_GENERAL
General processing.
Definition: OgreProfiler.h:209
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
~DefaultSceneManagerFactory()
Definition: OgreSceneManagerEnumerator.h:52
virtual void _setWorldMatrices(const Matrix4 *m, unsigned short count)
Sets multiple world matrices (vertex blending).
virtual Real getTerrainWorldSize() const
Retrieve the world size of each terrain instance.
Definition: OgreTerrainGroup.h:124
void doSet(void *target, const String &val)
@ ID_GREATER_EQUAL
Definition: OgreScriptCompiler.h:679
virtual void setParticleVelocity(Real speed)
Sets the initial velocity of particles emitted.
void setTextureTecPassStateLevel(int t, int p, int s)
Used for attaching texture to Technique, State, and texture unit layer.
Definition: OgreExternalTextureSource.h:128
const OldNodeTrackList & _getOldNodeTrackList(void) const
Fast access to NON-UPDATEABLE OldNode track list.
virtual void bindBufferPS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
@ UO_UNMAP_ALL
Unmaps all types of mapping, including persistent buffers.
Definition: OgreBufferPacked.h:75
Definition: OgreScriptTranslator.h:287
ImageBlur2D separableBlur_Float32_XXX
Definition: OgreImageDownsampler.h:168
virtual bool isEndOfChunk(uint32 id)
Return whether the current data pointer is at the end of the current chunk.
void _setTextureCoordCalculation(size_t stage, TexCoordCalcMethod m, const Frustum *frustum=0)
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:302
const AxisAlignedBox & getBoundingBox(void) const
Returns the axis-aligned box which contains this node if it is a leaf.
static void writeLayerInstanceList(const Terrain::LayerInstanceList &lst, StreamSerialiser &ser)
Utility method to write a layer instance list to a stream.
@ NumResourceLayouts
Definition: OgreResourceTransition.h:58
UavDependency(uint32 _uavSlot, ResourceAccess::ResourceAccess _access, bool _allowWriteAfterWrite)
Definition: OgreCompositorPassDef.h:154
LwString & a(const M &a0, const N &a1, const O &a2, const P &a3)
Definition: OgreLwString.h:371
virtual void releaseContext()
Release the render context.
Definition: OgreGLES2Context.h:70
virtual void convertWorldToGridSpace(const Vector3 &world, Vector2 &grid)
Convert a world point to grid space (not relative to origin)
uint32 inChannel
Name of the alias.
Definition: OgreCompositorWorkspaceDef.h:63
static String toString(const Vector3 &val)
Converts a Vector3 to a String.
Class for managing RenderSystemCapabilities database for Ogre.
Definition: OgreRenderSystemCapabilitiesManager.h:50
CategorisedAllocPolicy< Ogre::MEMCATEGORY_GEOMETRY > GeometryAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:266
const Vector3 & getNormal(size_t poly)
Returns the normal of a specified polygon.
void validateAllNodes()
Calls.
void doSet(void *target, const String &val)
void doSet(void *target, const String &val)
void setDatablock(IdString datablockName)
Sets the given HLMS datablock to all SubEntities.
static const IdString BrdfBlinnPhong
Definition: OgreHlmsPbs.h:405
virtual void setFsaaResolveDirty(void)
Null buffers never resolve; only colour buffers do.
Definition: OgreD3D11NullTexture.h:117
void setRightBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the right edge of the border.
@ M_POSE_VERTEX
Definition: OgreMeshFileFormat.h:152
Definition: OgreLodConfigSerializer.h:42
void setNamedConstant(const String &name, const double *val, size_t count)
const Plane * getFrustumPlanes(void) const
Retrieves the clipping planes of the frustum (world space).
static uint32 getScalarMask(ArrayInt mask)
void _addManuallyActiveProbe(CubemapProbe *probe)
AnyNumeric(const ValueType &value)
Definition: OgreAny.h:233
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
Controller(const SharedPtr< ControllerValue< T > > &src, const SharedPtr< ControllerValue< T > > &dest, const SharedPtr< ControllerFunction< T > > &func)
Usual constructor.
Definition: OgreController.h:155
const CompositorShadowNodeDef * getDefinition() const
Definition: OgreCompositorShadowNode.h:189
virtual bool isClosed(void) const
Indicates whether the window has been closed by the user.
const StringVector & getProfiles(void) const
Gets the Cg profiles which can be supported by the program.
Definition: OgreCgProgram.h:143
static const String FACTORY_TYPE_NAME
Factory type name.
Definition: OgreOctreeSceneManager.h:222
ParticleAffectorTranslator()
const NormalsMap & getNormals(void) const
Gets a const reference to the vertex offsets.
Definition: OgrePose.h:114
String doGet(const void *target) const
Float(float value, int precision=-1, int minWidth=-1)
Definition: OgreLwString.h:292
virtual void bindBufferPS(uint16 slot)=0
static void startup(void)
Static method to startup and register the PVRTC codec.
void install()
Perform the plugin initial installation sequence.
#define _OgrePagingExport
Definition: OgrePagingPrerequisites.h:79
void setBlueAdjust1(float blue)
Sets the blue adjustment to be made per second to particles.
void setColumnMajorMatrices(bool columnMajor)
Sets whether matrix packing in column-major order.
Definition: OgreGLSLShader.h:172
void doSet(void *target, const String &val)
Definition: OgreCbShaderBuffer.h:52
const Any & getUserAny(const String &key) const
Retrieves the custom user object associated with this class and key.
static const IdString LightsSpotParams
Definition: OgreHlms.h:808
void setVSyncInterval(unsigned int interval)
Set the vertical sync interval.
GLuint getVboName(void) const
Definition: OgreGLES2BufferInterface.h:68
virtual void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
The handler method every subclass must implement.
virtual bool isRenderWindow(void) const
Whether our derived class is RenderWindow.
Definition: OgreRenderTarget.h:416
AnimationState * createAnimationState(const String &animName, Real timePos, Real length, Real weight=1.0, bool enabled=false)
Create a new AnimationState instance.
@ SPC_LIGHTDIRECTION_OBJECT_SPACE7
Definition: OgreShaderParameter.h:174
virtual const Vector3 & getUp(void) const
Returns the up vector of the emitter.
SmallVector()
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:910
static void destroy_range(T *S, T *E)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:355
@ GCT_MATRIX_4X3
Definition: OgreGpuProgramParams.h:87
void _getDepthStencilFormatFor(GLenum internalColourFormat, GLenum *depthFormat, GLenum *stencilFormat)
Mimics D3D9RenderSystem::_getDepthStencilFormatFor, if no FBO RTT manager, outputs GL_NONE.
void setImageAdjust(String name)
virtual bool getUseShortestRotationPath() const
Gets the method of rotation calculation.
static const uint16 WORKQUEUE_DERIVED_DATA_REQUEST
Definition: OgreTerrain.h:1546
void setLodIndex(unsigned short index)
Assigns a level-of-detail (LOD) index to this Technique.
static void addEmbbeddedFile(const String &name, const uint8 *fileData, size_t fileSize, DecryptEmbeddedZipFileFunc decryptFunc)
Add an embedded file to the embedded file list.
size_t numElements
Definition: OgreTextureDefinition.h:133
virtual void _initRenderTargets(void)
Utility method for initialising all render targets attached to this rendering system.
static void unlockDeviceAccess()
String getTextureNameStr() const
Definition: OgreCompositorShadowNodeDef.h:93
uint32 registerCustomWordId(const String &word)
Adds a custom word id which can be used for custom script translators.
uint8 getCurrentMaterialLod(void) const
Definition: OgreRenderable.h:420
virtual void roll(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the OldNode around the Z-axis.
static const size_t MS_CORNERS_TOP[4]
To call Marching Squares with a cube on its top.
Definition: OgreVolumeIsoSurface.h:72
SubMesh * submesh
Definition: OgreStaticGeometry.h:163
void setEndPoint(const Vector3 &newEndpoint)
void getCustomAttribute(const String &name, void *pData)
unsigned int flags
Definition: OgreQuake3Shader.h:100
virtual Light * createLight(const String &name)
Creates a light for use in the scene.
const String & getZoneTypeName() const
Definition: OgrePCZone.h:95
void createWithView(OgreGL3PlusView *view)
#define _OgreD3D11Export
Definition: OgreD3D11Prerequisites.h:133
@ RSC_TEXTURE_COMPRESSION_ETC1
Supports compressed textures in the ETC1 format.
Definition: OgreRenderSystemCapabilities.h:146
void connectBuffer(IdString outNode, IdString inNode)
Connects all output buffer channels from outNode to all input buffer channels from inNode.
virtual void destroyAllRectangle2D(void)
Removes & destroys all Rectangle2D.
String doGet(const void *target) const
void increaseRefreshRate(unsigned int rr)
Definition: OgreD3D9VideoMode.h:59
void setTextureParams(uint32 width, uint32 height, bool useManual=false, PixelFormat pf=PF_A8B8G8R8, bool isStatic=true, uint8 fsaa=0)
void _setTexturePtr(const TexturePtr &texptr, size_t frame)
Set the texture pointer for a given frame (internal use only!).
Rect calculateHeightDeltas(const Rect &rect)
Calculate (or recalculate) the delta values of heights between a vertex in its recorded position,...
@ PCT_COUNT
Unsigned integer per component.
Definition: OgrePixelFormat.h:400
bool isFileOutputSuppressed() const
Get whether file output is suppressed for this log.
Definition: OgreLog.h:137
static void gaussFilter(float *RESTRICT_ALIAS dstData, float *RESTRICT_ALIAS srcData, size_t texWidth, size_t texHeight, size_t texDepth)
static void updateAllTransforms(const size_t numNodes, BoneTransform t, ArrayMatrixAf4x3 const *RESTRICT_ALIAS reverseBind, size_t numBinds)
TODO.
@ ID_SEPARATE_SCENE_BLEND_OP
Definition: OgreScriptCompiler.h:667
#define _OgreHlmsPbsExport
Definition: OgreHlmsPbsPrerequisites.h:50
Real getBottomBorderSize(void) const
Gets the size of the bottom border.
virtual void bindBufferHS(uint16 slot, size_t offset=0, size_t sizeBytes=0)=0
MapIterator< AnimationList > AnimationIterator
Definition: OgreSceneManager.h:2686
This is how the Skeleton system works in 2.0: There is one BoneMemoryManager per skeleton.
Definition: OgreSkeletonAnimManager.h:103
virtual void _fireUnloadingComplete(void)
Firing of unloading complete event.
PointEmitter(ParticleSystem *psys)
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
virtual HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")=0
Create counter buffer.
void setColour(const ColourValue &colour)
Sets the colour of this billboard.
static const IdString BlendModeIndex2
Definition: OgreHlmsPbsMobile.h:158
void _setTextureCoordCalculation(size_t stage, TexCoordCalcMethod m, const Frustum *frustum=0)
See RenderSystem.
Definition: OgreGL3PlusRenderSystem.h:367
void setConstant(size_t index, const uint *val, size_t count)
Sets a multiple value constant unsigned integer parameter to the program.
Class for managing Material settings for Ogre.
Definition: OgreMaterialManager.h:64
Real getDefaultLayerTextureWorldSize() const
Get the default world size for a layer 'splat' texture to cover.
Definition: OgreTerrain.h:2060
void setManualValue(T value, uint32 numValues, ElementType elementType)
@ ID_CMPFUNC
Definition: OgreScriptCompiler.h:746
RenderSystemCapabilities()
void _setViewMatrix(const Matrix4 &m)
See RenderSystem.
SceneManager * sceneManager
The scenemanager to construct the entity with.
Definition: OgreVolumeChunk.h:53
ManualResourceLoader * loader
Definition: OgreResourceGroupManager.h:278
virtual bool addRenderWindow(D3D9RenderWindow *renderWindow)=0
void remove(const String &filename)
Delete a named file.
~DynLib()
Default destructor.
static void setExceptionsErrorLevel(const eExceptionsErrorLevel exceptionsErrorLevel)
Cache-friendly array of 3-dimensional represented as a SoA array.
Definition: C/OgreArrayVector3.h:65
virtual void hide(void)
Hides this element if it was visible.
Command object for setting entry point.
Definition: OgreD3D11HLSLProgram.h:56
@ CB_DRAW_V1_INDEXED_NO_BASE_INSTANCE
Definition: OgreCbCommon.h:65
VertexArrayObject * clone(VaoManager *vaoManager, SharedVertexBufferMap *sharedBuffers, int vertexBufferType=-1, int indexBufferType=-1) const
Clones the vertex & index buffers and creates a new VertexArrayObject.
D3D9Driver(const D3D9Driver &ob)
Real getSinTime_0_1(Real x) const
Listener which gets called back on OldNode events.
Definition: OgreOldNode.h:85
virtual void setFrustumExtents(Real left, Real right, Real top, Real bottom, FrustrumExtentsType frustrumExtentsType=FET_PROJ_PLANE_POS)
Manually set the extents of the frustum.
CompositorManager2(RenderSystem *renderSystem)
vector< RenderState * >::type RenderStateList
Definition: OgreShaderRenderState.h:129
@ ID_PER_LIGHT
Definition: OgreScriptCompiler.h:709
virtual void setWorldGeometry(const String &filename)
Sets the source of the 'world' geometry, i.e.
Ogre::Vector3 mHalfSize
Definition: C/OgreAabb.h:81
ImageDownsampler2D downscale2x_Float32_XX
Definition: OgreImageDownsampler.h:147
void setVisible(bool visible)
RenderWindow::setVisible
virtual void save(const String &filename)
Save page data to a file.
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
void start()
Start anything special.
void addBoneAssignment(const VertexBoneAssignment &vertBoneAssign)
Assigns a vertex to a bone with a given weight, for skeletal animation.
Barrier(size_t threadCount)
uint32 hash
Definition: OgreHlmsCommon.h:184
bool hasSeparateStencilBuffer() const
void install()
Perform the plugin initial installation sequence.
static String FACTORY_TYPE_NAME
Definition: OgreBillboardChain.h:364
bool calculateCurrentLod(const Camera *cam, Real cFactor)
Calculate appropriate LOD for this node and children.
virtual void _notifyParent(OverlayContainer *parent, Overlay *overlay)
Overridden from OverlayElement.
@ ID_LIGHT_VISIBILITY_MASK
Definition: OgreScriptCompiler.h:874
void setActiveComputeShader(GLSLShader *computShader)
T * pointer
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:241
Instance of a Skeleton, main external interface for retrieving bone positions and applying animations...
Definition: OgreSkeletonInstance.h:72
virtual void addResponseHandler(uint16 channel, ResponseHandler *rh)=0
Add a response handler instance to the queue.
RenderTarget * getRenderTarget(void) const
Definition: OgreCompositorPass.h:171
virtual Real getDefaultWidth(void) const
See setDefaultDimensions - this gets 1 component individually.
@ SPC_LIGHTPOSITION_WORLD_SPACE6
Definition: OgreShaderParameter.h:223
static ResourceGroupManager * getSingletonPtr(void)
Override standard Singleton retrieval.
Definition: OgreOSXCocoaWindow.h:47
@ ACT_SCENE_DEPTH_RANGE
Provides information about the depth range of the scene as viewed from the current camera.
Definition: OgreGpuProgramParams.h:1294
~GLES2FrameBufferObject()
MapIterator< StrategyMap > getIterator()
Get an iterator for all contained strategies.
void _setDepthBufferWriteEnabled(bool enabled=true)
Actors are defined by a plane and a rectangle that limits that plane.
Definition: OgrePlanarReflectionActor.h:61
ArrayReal distance(const ArrayVector3 &v) const
Returns the minimum distance between a given point and any part of the box.
RenderState()
Class default constructor.
@ BB_FLAG_INDIRECT
Definition: OgreBufferPacked.h:100
bool getUseRayBoxDistanceCalculation() const
Returns whether or not to use an accurate calculation of camera distance from a terrain tile (ray / A...
Definition: OgreTerrain.h:2025
void _unsetParentBone(void)
bool deleteInputData
Whether this structure should 'own' the input data (inputImage and inputFloat), and therefore delete ...
Definition: OgreTerrain.h:385
const DepthLevelInfoVec & getDepthLevelInfo(void) const
Definition: OgreSkeletonDef.h:145
vector< BufferDefinition >::type BufferDefinitionVec
Definition: OgreTextureDefinition.h:163
Real _getLodBiasInverse(void) const
Internal method for OGRE to use for LOD calculations.
@ ID_TEXTURE_SOURCE
Definition: OgreScriptCompiler.h:803
void removeShadowContentTypeLookup(size_t textureUnitIndex)
Call this function when a texture unit is removed (any type), or when a tex unit that used to be of t...
Plugin instance for ParticleFX Manager.
Definition: OgreParticleFXPlugin.h:40
virtual Real getSquaredDepth(const MovableObject *movableObject, const Ogre::Camera *camera) const =0
Get the squared depth from camera to the LOD object.
ColourBufferType
Defines the colour buffer types.
Definition: OgreCommon.h:349
const String & getAnimationName() const
Gets the name of the animation to which this state applies.
virtual void setInitialState(void)
Sets the current transform of this OldNode to be the 'initial state' ie that position / orientation /...
static ArrayInt AndNot(ArrayInt a, ArrayInt b)
Returns the result of "a & ~b".
Definition: OgreMathlibC.h:190
IdString getName(void) const
Definition: OgreHlmsDatablock.h:303
@ ID_INVERT
Definition: OgreScriptCompiler.h:922
DualQuaternion(const Quaternion &q, const Vector3 &trans)
Construct a dual quaternion from a unit quaternion and a translation vector.
Definition: OgreDualQuaternion.h:70
size_t offset
Definition: OgreCompositorPassComputeDef.h:89
static ParameterPtr createOutNormal(int index)
virtual BillboardOrigin getBillboardOrigin(void) const
Gets the point which acts as the origin point for all billboards in this set.
virtual SphereSceneQuery * createSphereQuery(const Sphere &sphere, uint32 mask=QUERY_ENTITY_DEFAULT_MASK)
Creates a SphereSceneQuery for this scene manager.
void setNumThreadGroups(uint32 numThreadGroupsX, uint32 numThreadGroupsY, uint32 numThreadGroupsZ)
Sets the number of groups of threads to dispatch.
@ ID_MODULATE
Definition: OgreScriptCompiler.h:752
std::pair< MovableObject *, MovableObject * > SceneQueryMovableObjectPair
Definition: OgreSceneQuery.h:479
virtual String validateConfigOptions(void)
Validates the options set for the rendering system, returning a message if there are problems.
Definition: OgreNULLRenderSystem.h:75
void setCustomParam(unsigned char idx, const Vector4 &newParam)
Sets the custom parameter for this instance.
const HlmsCache * getMaterial(HlmsCache const *lastReturnedValue, const HlmsCache &passCache, const QueuedRenderable &queuedRenderable, bool casterPass)
Retrieves an HlmsCache filled with the GPU programs to be used by the given renderable.
~HighLevelGpuProgramManager()
virtual Animation * getAnimation(unsigned short index) const =0
Retrieve an animation by index.
void exportLodConfig(Ogre::LodConfig &config, const Ogre::String &filename, Endian endianMode=ENDIAN_NATIVE)
AntiPortal * createAntiPortal(const String &name, PortalBase::PORTAL_TYPE type=PortalBase::PORTAL_TYPE_QUAD)
Create a new anti portal instance.
void * getControlPointBuffer(void) const
Definition: OgrePatchSurface.h:169
static ArrayVector3 Cmov4(const ArrayVector3 &arg1, const ArrayVector3 &arg2, ArrayMaskR mask)
Conditional move.
void setTextureRotate(const Radian &angle)
Sets the anticlockwise rotation factor applied to texture coordinates.
String doGet(const void *target) const
Definition: OgreOSXCocoaTouchView.h:36
bool getIndestructibleByClearScene(void) const
D3D11HLSLProgram * geometryShader
Definition: OgreD3D11HlmsPso.h:53
STLAllocatorBase< T > Base
define our types, as per ISO C++
Definition: OgreMemorySTLAllocator.h:85
virtual void _setComputePso(const HlmsComputePso *pso)
Unlike _setPipelineStateObject, the RenderSystem will check if the PSO has changed to avoid redundant...
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
@ ID_AMBIENT
Definition: OgreScriptCompiler.h:645
virtual uint getFSAA() const
Indicates whether multisampling is performed on rendering and at what level.
Definition: OgreRenderTarget.h:339
size_t calculateMaxNumInstances(const SubMesh *baseSubMesh, uint16 flags) const
@ PixelShader
Definition: OgreCommon.h:365
ShadowCameraSetup()
Definition: OgreShadowCameraSetup.h:78
@ M_GEOMETRY_VERTEX_ELEMENT
Definition: OgreMeshFileFormat.h:215
void bindGpuProgramPassIterationParameters(GpuProgramType gptype)
Only binds Gpu program parameters used for passes that have more than one iteration rendering.
T value_type
Definition: OgreFastArray.h:95
EGLDisplay getGLDisplay()
bool _isUpdated(void) const
uint32 RealAsUint
Definition: OgrePrerequisites.h:73
virtual const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this class.
Definition: OgreHlmsManager.h:352
HalfFloatGridSource(const String &serializedVolumeFile, const bool trilinearValue=true, const bool trilinearGradient=false, const bool sobelGradient=false)
Constructur.
IndexData * indexData
Definition: OgreStaticGeometry.h:148
virtual void removeListener(Listener *l, const Ogre::String &schemeName=BLANKSTRING)
Remove a listener handling material events.
void setDiffuse(const Vector3 &diffuseColour)
Sets the diffuse colour. The colour will be divided by PI for energy conservation.
@ ACT_TIME_0_1
Single float value, which represents scaled time value [0..1], which repeats itself based on given as...
Definition: OgreGpuProgramParams.h:1188
String lexeme
This is the lexeme for this token.
Definition: OgreScriptLexer.h:65
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
void updateUniforms(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object uniforms using data from GpuProgramParameters.
GpuProgramType getType() const
Get the type of this program.
bool checkFormat(PixelFormat format)
Check if a certain format is usable as FBO rendertarget format.
Definition: OgreGL3PlusFBORenderTexture.h:102
Command object for blue adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:97
SceneNode * _getDummyNode() const
Returns the pointer to the dummy node (useful when detaching)
Definition: OgreObjectMemoryManager.h:167
AllocatedObject()
Definition: OgreMemoryAllocatedObject.h:61
void setFiltering(TextureFilterOptions filterType)
Helper function to set filtering to the most common settings.
SmallVector()
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:949
void setActiveComputeShader(GLSLShader *computeGpuProgram)
Set the active compute shader for the next rendering state.
~GL3PlusHardwareVertexBuffer()
virtual ~Listener()
Definition: OgreMaterialSerializer.h:80
CacheSource(const Source *src)
Constructor.
bool _hasEmissive(void) const
Returns true if getEmissive is non-zero or if there is an emissive texture set.
static const int DepthBits
Definition: OgreRenderQueue.h:265
virtual void detachDepthBuffer()
void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
size_t getNumSubRenderStateFactories() const
Returns the number of existing factories.
bool mColourWrite
When false will not really bind the RenderTarget for rendering and use a null colour buffer instead.
Definition: OgreCompositorPassDef.h:122
size_t estimateWorldGeometry(const String &filename)
Specialised from SceneManager to support Quake3 bsp files.
virtual ~HlmsLowLevelDatablock()
Definition: OgreCompositorPassClearDef.h:48
@ ACT_LIGHT_POSITION_VIEW_SPACE
A light position in view space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1044
virtual void waitForSpecificFrameToFinish(uint32 frameCount)
See VaoManager::waitForSpecificFrameToFinish.
Definition: OgreMemoryAllocatorConfig.h:231
virtual const VertexBufferBindingMap & getBindings(void) const
Gets a read-only version of the buffer bindings.
FFPFog()
Class default constructor.
map< String, String >::type ResourceToTexExtensionMap
Definition: OgreHlmsManager.h:118
@ ACDT_NONE
no data is required
Definition: OgreGpuProgramParams.h:1370
Abstract class defining the interface used by classes which wish to perform script loading to define ...
Definition: OgreScriptLoader.h:60
Factory class for BillboardParticleRenderer.
Definition: OgreBillboardParticleRenderer.h:250
Vector3 perpendicular(void) const
Generates a vector perpendicular to this vector (eg an 'up' vector).
Definition: OgreVector3.h:580
int flags
Definition: OgreX11EGLSupport.h:88
const CompositorTexture & getCompositorTarget(void) const
The compositor we are currently writing to.
Definition: OgreSceneManager.h:1567
@ LightGatherNone
Definition: OgreHlms.h:90
const IntersectingObjectSet & getObjects(void) const
Definition: OgreBspNode.h:204
const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this class.
void doSet(void *target, const String &val)
Real getTimePosition(void) const
Gets the time position for this animation.
virtual RenderTexture * getRenderTarget(size_t slice=0)
Get a render target for this PixelBuffer, or a slice of it.
@ ID_INPUT
Definition: OgreScriptCompiler.h:893
virtual void _renderNoBaseInstance(const v1::CbDrawCallStrip *cmd)
Definition: OgreRenderSystem.h:1103
size_t offset
Definition: OgreGLES2VaoManager.h:52
FastArray< LightClosest > LightClosestArray
Definition: OgreCommon.h:719
void _registerThreadWithRenderSystem()
Register the current thread with the rendersystem.
void setConfigOption(const String &name, const String &value)
GL3PlusSupport::setConfigOption
void setMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the material to use for the whole of this entity.
void injectBillboard(const Billboard &bb, const Camera *camera)
Define a billboard.
@ ID_GEOMETRY_PROGRAM_REF
Definition: OgreScriptCompiler.h:617
void setFragmentProgramConstantFloatCount(ushort c)
The number of floating-point constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:715
unsigned short _getNumBoneMatrices(void) const
Internal method for retrieving bone matrix information.
Definition: OgreEntity.h:479
uchar * getPtr(void)
Get a pointer to the start of the memory block this stream holds.
Definition: OgreDataStream.h:433
CategorisedAllocPolicy< Ogre::MEMCATEGORY_RENDERSYS > RenderSysAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:272
SharedPtr< T > static_pointer_cast(SharedPtr< U > const &r)
Definition: OgreSharedPtr.h:369
static const uint32 CHUNK_ID
Definition: OgrePage.h:98
HlmsTypes type
Definition: OgreHlmsCommon.h:185
void setCastShadows(bool enabled)
Sets whether or not this object will cast shadows.
TextureType getTextureType(void) const
Gets the type of texture.
Definition: OgreTexture.h:137
const String & getFilenamePrefix() const
Definition: OgreTerrainGroup.h:158
void sortAtomInstances()
Sort all atom instances of this function.
ushort getGeometryProgramConstantFloatCount(void) const
The number of floating-point constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:642
Cache-friendly container of AFFINE 4x4 matrices represented as a SoA array.
Definition: C/OgreArrayMatrixAf4x3.h:70
@ CB_SET_V1_RENDER_OP
Definition: OgreCbCommon.h:64
const Vector3 getCenterRightBottom(void) const
Gets the center of the corners 1, 2.
Definition: OgreVolumeOctreeNode.h:409
@ RSC_HWSTENCIL
Supports hardware stencil buffer.
Definition: OgreRenderSystemCapabilities.h:88
vector< CachedGridBuffer >::type CachedGridBufferVec
Definition: OgreForwardPlusBase.h:69
static CmdImageAdjust msImageCmd
Definition: OgreColourImageAffector.h:64
virtual void setConfigOption(const String &name, const String &value)=0
Sets an option for this API.
PixelFormat getFormat() const
Returns the image format.
D3D11TexBufferPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface, Ogre::PixelFormat pf, D3D11Device &device)
void setTextureVScroll(Real value)
As setTextureScroll, but sets only V value.
unsigned char alphaVal
Definition: OgreQuake3Shader.h:93
PageID getPageID(const Vector3 &worldPos, PagedWorldSection *section)
Get the page ID for a given world position.
static void unlockDeviceAccess()
@ ACT_INVERSE_TRANSPOSE_VIEW_MATRIX
Provides inverse transpose of view matrix.
Definition: OgreGpuProgramParams.h:926
static ControllerManager & getSingleton(void)
Override standard Singleton retrieval.
vector< TagPoint * >::type TagPointVec
Definition: OgreBone.h:65
Definition: OgreGL3PlusSupport.h:42
v1::Rectangle2D * getSharedFullscreenQuad(void) const
Returns a shared fullscreen rectangle/triangle useful for PASS_QUAD passes.
Definition: OgreCompositorManager2.h:232
virtual ~HardwareBufferManagerBase()
VectorImpl::reference reference
Definition: OgreCommon.h:479
ParticleEmitter * _createEmitter(const String &emitterType, ParticleSystem *psys)
Internal method for creating a new emitter from a factory.
void destroy(void)
RenderWindow::destroy
@ ACT_SHADOW_COLOUR
Provides the fixed shadow colour as configured via SceneManager::setShadowColour; useful for integrat...
Definition: OgreGpuProgramParams.h:1313
MovableObject * detachObject(unsigned short index)
Detaches the indexed object from this scene node.
ContentType getContentType(void) const
Get the type of content this TextureUnitState references.
uint hierarchicalLvl
The hierarchical level of this profile, 0 being the main loop.
Definition: OgreProfiler.h:257
static const IdString TexMatrixCount3
Definition: OgreHlmsUnlitMobile.h:99
CompareFunction mCompareFunction
Defaults to NUM_COMPARE_FUNCTIONS which means disabled.
Definition: OgreHlmsSamplerblock.h:82
GLES2DynamicBuffer(GLuint vboName, GLuint vboSize, GLES2VaoManager *vaoManager, BufferType persistentMethod)
FrustumCorners mFrustumCorners
Type of frustum corners to pass in the quad normals.
Definition: OgreCompositorPassQuadDef.h:109
eExceptionsErrorLevel
Definition: OgreD3D11Device.h:89
bool isDerivedDataUpdateInProgress() const
Query whether a derived data update is in progress or not.
Definition: OgreTerrain.h:1631
void makeInverseTransform(const Vector3 &position, const Vector3 &scale, const Quaternion &orientation)
Building an inverse Matrix4 from orientation / scale / position.
void setFromQuaternion(const Quaternion &v, size_t index)
Definition: C/OgreArrayQuaternion.h:102
const Vector3 & getAmbientLightHemisphereDir(void) const
Definition: OgreSceneManager.h:1715
virtual const PlaneList & getLightClippingPlanes(const Light *l)
Retrieve a set of clipping planes for a given light.
bool isInitialised(void) const
Returns whether the system is initialised or not.
Definition: OgreRoot.h:345
String doGet(const void *target) const
size_t getIndexOffset(void) const
Returns the index offset used by this buffer to write data into the buffer.
Definition: OgrePatchSurface.h:128
map< String, ParticleSystem * >::type ParticleTemplateMap
Definition: OgreParticleSystemManager.h:82
list< unsigned long >::type ColorList
Definition: OgreOctreeSceneManager.h:56
static const uint32 TERRAINLODDATA_CHUNK_ID
Definition: OgreTerrainLodManager.h:55
Command object for inner size (see ParamCommand).
Definition: OgreHollowEllipsoidEmitter.h:58
bool hasVertexAnimation(void) const
Returns whether or not this entity is either morph or pose animated.
virtual ~Profile()
Definition: OgreTerrainMaterialGenerator.h:178
static uint32 getCompressedBlockWidth(PixelFormat format, bool apiStrict=true)
Returns the minimum width for block compressed schemes.
virtual AsyncTicketPtr createAsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)
virtual void _autogenerateMipmaps(void)
Tells the API to let the HW autogenerate mipmaps.
Definition: OgreD3D11NullTexture.h:64
Definition: OgreScriptTranslator.h:154
ResourceMapIterator getResourceIterator(void)
Returns an iterator over all resources in this manager.
Definition: OgreResourceManager.h:593
size_t _getFloatConstantPhysicalIndex(size_t logicalIndex, size_t requestedSize, uint16 variability)
Gets the physical buffer index associated with a logical float constant index.
virtual void _setIndirectBuffer(IndirectBufferPacked *indirectBuffer)
void _updateFromShadow(void)
See HardwareBuffer.
Entity * getParentEntity(void) const
Definition: OgreSceneManager.h:241
virtual const String & getFriendlyName(void) const
Returns the friendly name of the render system.
OGRE_AUTO_MUTEX
Definition: OgreLog.h:117
static const IdString UvEmissive
Definition: OgreHlmsPbs.h:379
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, size_t binding, const String &name="")
Create a counter buffer.
BatchSettingId
Values to be used in setSetting() & BatchSettings::setting.
Definition: OgreInstanceManager.h:79
virtual ~PageStrategyData()
Definition: OgrePageStrategy.h:53
virtual RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
virtual ~GL3PlusSupport()
Definition: OgreGL3PlusSupport.h:45
A macro block contains settings that will rarely change, and thus are common to many materials.
Definition: OgreHlmsDatablock.h:78
D3D11UavBufferPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 bindFlags, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface, D3D11Device &device)
@ ID_EMITTER
Definition: OgreScriptCompiler.h:809
size_t vertexSet
The vertex set index that contains the vertices for this edge group.
Definition: OgreEdgeListBuilder.h:106
virtual void _removeAutotrackingSceneNode(SceneNode *source)
OverlayElement * getOverlayElement(const String &name, bool isTemplate=false)
Gets a reference to an existing element.
static const IdString DiffuseMapCount2
Definition: OgreHlmsUnlitMobile.h:110
ABGR getAsABGR(void) const
Retrieves colours as ABGR.
vector< RenderSystem * >::type RenderSystemList
Definition: OgreRoot.h:51
void setDiffuse(Real red, Real green, Real blue, Real alpha)
Sets the diffuse colour reflectance properties of this pass.
Definition: OgreCbDrawCall.h:62
@ ID_MIPMAP
Definition: OgreScriptCompiler.h:935
static bool isCodecRegistered(const String &codecType)
Return whether a codec is registered already.
Definition: OgreCodec.h:93
vector< ManualObjectSection * >::type SectionList
Definition: OgreManualObject.h:459
StringVector paths
For cubemaps, the order is +X, -X, +Y, -Y, +Z, -Z.
Definition: OgreHlmsTexturePack.h:53
int width
Definition: OgreX11EGLSupport.h:86
virtual bool _unprepareProceduralPage(Page *page)
Give a section the opportunity to unprepare page content procedurally.
const Any & _getRenderSystemData() const
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:2442
ComPtr(U *other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:129
@ EXTENT_NULL
Definition: OgreAxisAlignedBox.h:58
Radian mRotation
Definition: OgreBillboard.h:87
virtual void setZoneGeometry(const String &filename, PCZSceneNode *parentNode)=0
Called by PCZSM during setZoneGeometry()
virtual void detachAllObjects(void)
Detaches all objects attached to this node.
Interface definition for a handler of responses.
Definition: OgreWorkQueue.h:198
NULLUavBufferPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 bindFlags, void *initialData, bool keepAsShadow, VaoManager *vaoManager, NULLBufferInterface *bufferInterface)
virtual bool _shouldRebindBackBuffer()
Definition: OgreD3D11RenderWindow.h:117
virtual String getName() const =0
Returns the name of the factory, the name which identifies the particle emitter type this factory cre...
bool _checkTextureFilteringSupported(TextureType ttype, PixelFormat format, int usage)
Check whether or not filtering is supported for the precise texture format requested with the given u...
size_t getNumBones(void) const
Gets the number of bones.
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
virtual void reinitialise(void)=0
Restart the renderer (normally following a change in settings).
Command object for point rendering (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:99
uint32 baseVertex
Definition: OgreCbDrawCall.h:56
vector< ProfiledEdge >::type LodProfile
Definition: OgreLodConfig.h:45
void _removeReference(void)
const Vector3 getCorner5(void) const
Gets the coordinate of corner 5.
Definition: OgreVolumeOctreeNode.h:490
Implementation of DirectX9 as a rendering system.
Definition: OgreD3D9RenderSystem.h:53
@ VET_UINT3
Definition: OgreVertexElements.h:101
@ TU_DYNAMIC_WRITE_ONLY
same as HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY
Definition: OgreTexture.h:59
GLuint getGLProgramHandle()
multimap< size_t, VertexBoneAssignment >::type VertexBoneAssignmentList
Multimap of verex bone assignments (orders by vertex index)
Definition: OgreSubMesh.h:183
virtual void setAutoTracking(bool enabled, SceneNode *const target=0, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z, const Vector3 &offset=Vector3::ZERO)
Enables / disables automatic tracking of another SceneNode.
static LodWorkQueueInjector * getSingletonPtr()
void() ImageDownsamplerCube(uint8 *dstPtr, uint8 const **srcPtr, int32 dstWidth, int32 dstHeight, int32 srcWidth, int32 srcHeight, const uint8 kernel[5][5], const int8 kernelStartX, const int8 kernelEndX, const int8 kernelStartY, const int8 kernelEndY, uint8 currentFace)
Definition: OgreImageDownsampler.h:68
map< String, OverlayElementFactory * >::type FactoryMap
Definition: OgreOverlayManager.h:57
const ShadowTextureDefinition * getShadowTextureDefinition(size_t texIndex) const
Retrieves a shadow texture definition by its index.
Definition: OgreCompositorShadowNodeDef.h:186
int XVisualIDFromVisual(Visual *v)
Shadow Nodes are special nodes (not to be confused with.
Definition: OgreCompositorShadowNodeDef.h:113
@ CB_INVALID
Definition: OgreCbCommon.h:37
BoneMemoryManager boneMemoryManager
Definition: OgreSkeletonAnimManager.h:51
void addBaseParams()
Call from derived classes to ensure the dictionary is setup.
Vector3 updateFrom
If an existing chunktree is to be partially updated, set this to the back lower left point of the (su...
Definition: OgreVolumeChunk.h:86
virtual void unloadAll(Resource::LoadingFlags flags)
Unloads all resources.
const String & getMovableType(void) const
Returns the type name of this object.
void setTessellationHullProgramConstantIntCount(ushort c)
The number of integer constants tessellation Domain programs support.
Definition: OgreRenderSystemCapabilities.h:856
Class encapsulates rendering properties of an object.
Definition: OgreMaterial.h:86
void profile(const HardwareIndexBufferSharedPtr &indexBuffer)
bsp_model_t * mModels
Definition: OgreQuake3Level.h:123
Real getMaxHeight() const
Get the maximum height of the node.
bool requestTypeFlags() const
Return true here as we want to get a unique type flag.
Definition: OgrePortal.h:96
uint numCallsThisFrame
The number of times this profile has been called each frame.
Definition: OgreProfiler.h:280
void setSkeletalAnimationIncluded(bool included)
Sets whether the linked program includes the required instructions to perform skeletal animation.
Definition: OgreGLSLProgram.h:121
virtual void setCurrent()=0
Enable the context.
void toRotationTranslation(Quaternion &q, Vector3 &translation) const
Convert a dual quaternion into its two components, a Quaternion representing the rotation and a Vecto...
Camera const * camera
Camera whose frustum we're to cull against. Must be const (read only for all threads).
Definition: OgreSceneManager.h:172
void destroyTexture(IdString aliasName)
Destroys a texture.
~D3D11GpuProgramManager()
void destroyPortal(const String &portalName)
Delete a portal instance by name.
virtual ~TangentSpaceCalc()
void _addWireAabb(WireAabb *wireAabb)
Matrix4 _getDerivedTransform(void) const
Gets the derived transform in world space.
size_t write(const void *buf, size_t count)
Write the requisite number of bytes from the stream (only applicable to streams that are not read-onl...
bool operator==(IdString name) const
Definition: OgreSkeletonAnimManager.h:72
virtual Real getOrthoWindowWidth() const
Gets the orthographic window width, for use with orthographic rendering only.
uint getLastPresentFrame() const
Definition: OgreD3D9Device.h:77
@ IM_USE16BIT
Forces an amount of instances per batch low enough so that vertices * numInst < 65535 since usually i...
Definition: OgreCommon.h:378
void clear(void)
Clears all the points in the spline.
void _setTop(Real top)
Sets the top of this element in relation to the screen (where 1.0 = screen width)
@ TU_NOT_TEXTURE
Definition: OgreTexture.h:82
const VertexElementList & getElements(void) const
Gets read-only access to the list of vertex elements.
GpuProgramType mSourceProgType
Which type of program params will this value come from?
Definition: OgreGLSLProgram.h:66
const String & getLanguage(void) const
Get the name of the language this factory creates shaders for.
static D3DFORMAT get(HardwareIndexBuffer::IndexType itype)
Get index type.
virtual bool isReflected(void) const
Returns whether this frustum is being reflected.
Definition: OgreFrustum.h:608
virtual DepthBuffer * _createDepthBufferFor(RenderTarget *renderTarget, bool exactMatchFormat)
Creates a DepthBuffer that can be attached to the specified RenderTarget.
void blitFromMemory(const PixelBox &src)
Convenience function that blits a pixelbox from memory to the entire buffer.
Definition: OgreHardwarePixelBuffer.h:155
RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
@ PT_COLOURVALUE
Definition: OgreStringInterface.h:62
Definition: OgreException.h:209
Direct3D implementation of low-level vertex programs.
Definition: OgreD3D9GpuProgram.h:113
@ VIEW_SPACE_CORNERS_NORMALIZED_LH
Definition: OgreCompositorPassQuadDef.h:78
unsigned int getTextureCoordSet(void) const
Gets the index of the set of texture co-ords this layer uses.
const MaterialPtr & getCompositeMapMaterial() const
Get the material being used for the terrain composite map.
uint8 padding[2]
Definition: OgreHlmsPso.h:172
GL3PlusVertexArrayObject(GLuint vaoName, uint32 renderQueueId, const VertexBufferPackedVec &vertexBuffers, IndexBufferPacked *indexBuffer, OperationType opType)
Definition: Vao/OgreGL3PlusVertexArrayObject.h:42
OGRE_AUTO_MUTEX
Mutex, public for external locking if needed.
Definition: OgreAnimationState.h:201
void connectPortalsToTargetZonesByLocation(void)
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
reference at(size_type n)
Definition: OgreCommon.h:526
size_t triangleCount
Definition: OgreRenderTarget.h:79
void destroyIrradianceVolumeTexture()
bool isClosed
Flag indicate the mesh is manifold.
Definition: OgreEdgeListBuilder.h:134
virtual void _notifyParent(OverlayContainer *parent, Overlay *overlay)
Internal method for notifying the GUI element of it's parent and ultimate overlay.
@ ACT_LOD_CAMERA_POSITION
Provides the position of the LOD camera in world space, allowing you to perform separate LOD calculat...
Definition: OgreGpuProgramParams.h:1337
virtual void bindBufferVS(uint16 slot)=0
Binds the constant buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
ConstParameter(valueType val, GpuConstantType type, const Semantic &semantic, const Content &content)
Definition: OgreShaderParameter.h:577
const String & getName(void) const
See RenderSystem.
bool hasSkeleton(void) const
Returns whether or not this entity is skeletally animated.
Definition: OgreEntity.h:481
bool doSplit(OctreeNode *node, const Real geometricError) const
Decider for the splitting.
D3D9Device * getDeviceFromD3D9Device(IDirect3DDevice9 *d3d9Device)
void setWorldTransform(const Matrix4 &xform)
virtual void destroyAllMovableObjectsByType(const String &typeName)
Destroy all MovableObjects of a given type.
Image & loadRawData(DataStreamPtr &stream, uint32 width, uint32 height, PixelFormat format)
Loads raw data from a stream.
Definition: OgreImage.h:252
Command object for attaching another GLSL Program.
Definition: OgreGLSLShader.h:66
Real mLodBias
Multiplier to the Lod value.
Definition: OgreCompositorPassSceneDef.h:129
static void shutdown(void)
Static method to shutdown and unregister the DDS codec.
virtual bool afterIlluminationPassesCreated(Technique *technique)
Called right after illuminated passes were created, so that owner of runtime generated technique can ...
Definition: OgreMaterialManager.h:111
Abstract operation volume source holding two sources as operants.
Definition: OgreVolumeCSGSource.h:169
int front
Definition: OgreQuake3Types.h:165
int numVertices
The range of vertices in the buffer this facegroup references.
Definition: OgreStaticFaceGroup.h:85
virtual void getFormatsForPso(PixelFormat outFormats[OGRE_MAX_MULTIPLE_RENDER_TARGETS], bool outHwGamma[OGRE_MAX_MULTIPLE_RENDER_TARGETS]) const
uint8 getDebugDisplayLevel() const
Get the debug display level.
Definition: OgrePageManager.h:422
size_t indexSet
Index data set (can be >0 if more than one index data was added)
Definition: OgreTangentSpaceCalc.h:62
Pass(Technique *parent, unsigned short index)
Default constructor.
virtual void notifyCamera(Camera *cam)=0
Notify a section of the current camera.
VertexData * getVertexDataByTrackHandle(unsigned short handle)
Gets a pointer to a vertex data element based on a morph animation track handle.
bool isGlobalColourMapEnabled() const
Whether to support a global colour map over the terrain in the shader, if it's present (default true)...
Definition: OgreTerrainMaterialGeneratorA.h:94
@ ID_COLOUR_OP
Definition: OgreScriptCompiler.h:749
GpuConstantType
Enumeration of the types of constant we may encounter in programs.
Definition: OgreGpuProgramParams.h:67
static size_t getNumElemBytes(PixelFormat format)
Returns the size in bytes of an element of the given pixel format.
DepthBuffer * _createDepthBufferFor(RenderTarget *renderTarget)
Creates a DepthBuffer that can be attached to the specified RenderTarget.
Camera * camera
Definition: OgreSceneManager.h:869
static const uint16 WORKQUEUE_LOAD_REQUEST
Definition: OgreTerrainGroup.h:501
@ OR_PORTRAIT
Definition: OgreFrustum.h:55
void getMinMaxDepthRange(size_t shadowMapIdx, Real &outMin, Real &outMax) const
Vector3()
Default constructor.
Definition: OgreVector3.h:61
virtual const Plane & getReflectionPlane(void) const
Returns the reflection plane of the frustum if appropriate.
Definition: OgreFrustum.h:612
void setRemoveRenderQueueStructuresOnClear(bool r)
Set whether the entire render queue structure should be emptied on clearing, or whether just the obje...
Definition: OgreRoot.h:362
bool hasMipmaps
Definition: OgreHlmsTexturePack.h:62
@ ACT_TEXTURE_WORLDVIEWPROJ_MATRIX
The view/projection matrix of the assigned texture projection frustum, combined with the current worl...
Definition: OgreGpuProgramParams.h:1150
static CmdKeepVelocity msKeepVelocityCmd
Definition: OgreDirectionRandomiserAffector.h:98
const LightsBitSet & getAffectedLightsBitSet(void) const
Definition: OgreCompositorShadowNode.h:278
InstanceBatch(IdType id, ObjectMemoryManager *objectMemoryManager, InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap)
bool ToEulerAnglesYZX(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
void setMinimumZ(Real z)
Definition: OgreAxisAlignedBox.h:207
PCZLight()
Default constructor (for Python mainly).
virtual void _notifyViewport()
Internal method to notify the element when the viewport of parent overlay has changed.
@ LB_FFPBlend
Definition: OgreShaderExLayeredBlending.h:50
uint8 mBlockType
Definition: OgreHlmsDatablock.h:63
HashedVector(size_type n, const T &t)
Definition: OgreCommon.h:535
Real absDotProduct(const Vector3 &vec) const
Calculates the absolute dot (scalar) product of this vector with another.
Definition: OgreVector3.h:438
@ SPC_LIGHTPOSITION_OBJECT_SPACE0
Light position in object space index 0-7.
Definition: OgreShaderParameter.h:207
void destroyContent(PageContent *c)
Destroy an instance of PageContent.
virtual void bindBufferHS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Definition: OgreNULLTexBufferPacked.h:53
static void initialise(void)
Initialise the creation of these vertex programs.
virtual void beginGPUSampleProfile(const String &name, uint32 *hashCache)
void setAll(const Sphere &sphere)
Sets all packed spheres to the same value as the scalar input sphere.
Definition: C/OgreArraySphere.h:102
void codeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Specialised Any class which has built in arithmetic operators, but can hold only types which support ...
Definition: OgreAny.h:225
static String toString(float val, unsigned short precision=6, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts a float to a String.
void setOrigin(const Vector3 &newOrigin)
@ PF_SHORT_GR
32-bit pixel format, 16-bit green, 16-bit red
Definition: OgrePixelFormat.h:142
void setIndestructibleByClearScene(bool indestructible)
Calling SceneManager::clearScene won't destroy this node nor detach its objects (but may still destro...
void loadFromAoS(const Matrix4 *RESTRICT_ALIAS *src)
String mClass
Definition: OgreScriptCompiler.h:530
static DXGI_FORMAT _getPF(PixelFormat ogrePF)
utility method, convert Ogre pixel format to D3D11 pixel format
bool getBillboardsInWorldSpace()
Gets whether billboards are treated as being in world space.
Definition: OgreBillboardSet.h:719
#define TAS_MAX_TEXTURES
Definition: OgreShaderExTextureAtlasSampler.h:35
virtual void setStencilBufferParams(uint32 refValue, const StencilParams &stencilParams)
This method allows you to set all the stencil buffer parameters in one call.
@ ID_BACK
Definition: OgreScriptCompiler.h:914
Real getStateChange(void) const
@ All
Definition: OgreResourceTransition.h:103
uint8 * getNullDataPtr(void)
Definition: OgreNULLBufferInterface.h:57
Factory for PCZSceneManager.
Definition: OgrePCZSceneManager.h:380
void setColour(const ColourValue &diffuse)
Sets a new colour value. Asserts if mHasColour is false.
void _destroyRenderer(ParticleSystemRenderer *renderer)
Internal method for destroying a renderer.
void logMessage(const String &message, LogMessageLevel lml=LML_NORMAL, bool maskDebug=false)
Log a message to the default log.
const Matrix4 & getTextureViewProjMatrix(size_t index) const
const String & getMovableType(void) const
static void uninitialized_copy(It1 I, It1 E, It2 Dest)
uninitialized_copy - Copy the range [I, E) onto the uninitialized memory starting with "Dest",...
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:367
static const int InputLayoutShift
Definition: OgreHlms.h:898
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
Real currentTimeMillisecs
The current frame time this profile has taken in milliseconds.
Definition: OgreProfiler.h:267
AllocatedObject< ResourceSimdAllocPolicy > ResourceSimdAllocObject
Definition: OgreMemoryAllocatorConfig.h:287
Implementation of CompositorPass This implementation will set UAVs.
Definition: OgreCompositorPassUav.h:60
Vector4(const Real fX, const Real fY, const Real fZ, const Real fW)
Definition: OgreVector4.h:59
@ FFP_COLOUR
Definition: OgreShaderFFPRenderState.h:72
void addConfig()
Add any special config values to the system.
virtual void resourceRemove(const ResourcePtr &resource)
This event is fired when a resource is about to be removed.
Definition: OgreResourceGroupManager.h:184
TerrainMaterialGenerator * getParent() const
Get the generator which owns this profile.
Definition: OgreTerrainMaterialGenerator.h:180
void getNormalMapFiltering(FilterOptions &minFilter, FilterOptions &magFilter, FilterOptions &mipFilter) const
Return the normal map filtering attributes.
Definition: OgreShaderExNormalMapLighting.h:157
static const IdString UvDetailNm3
Definition: OgreHlmsPbsMobile.h:151
RenderTexture for GL ES 2 FBO.
Definition: OgreGLES2FBORenderTexture.h:42
size_t getNumManualLodLevels(void) const
Returns the number of manual levels of detail that this entity supports.
virtual ~CompositorNode()
float * ptr()
Pointer accessor for direct copying.
Definition: OgreColourValue.h:160
void _notifyAttached(Node *parent)
Internal method called to notify the object that it has been attached to a node.
String doGet(const void *target) const
@ OR_LANDSCAPERIGHT
Definition: OgreFrustum.h:56
void doSet(void *target, const String &val)
void * data
The data pointer.
Definition: OgrePixelBox.h:78
void createNewNode(Transform &outTransform)
Requests memory for a new SceneNode (for the Array vectors & matrices) May be also be used for a new ...
virtual void setMaterial(const MaterialPtr &material)
Sets the given material. Overrides HLMS materials.
Atom mAtomState
Definition: OgreGLXGLSupport.h:46
@ ID_LIGHT_MASK
Definition: OgreScriptCompiler.h:714
const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this class.
bool contains(const AxisAlignedBox &other) const
Tests whether another box contained by this box.
Definition: OgreAxisAlignedBox.h:799
virtual void applyDeltaValue(const Radian &)
Apply delta value.
Definition: OgreAnimable.h:222
virtual void _setPointParameters(Real size, bool attenuationEnabled, Real constant, Real linear, Real quadratic, Real minSize, Real maxSize)
Sets the size of points and how they are attenuated with distance.
SceneBlendOperation mBlendOperation
Definition: OgreHlmsDatablock.h:178
CompositorPassUav(const CompositorPassUavDef *definition, CompositorNode *parentNode, const CompositorChannel &target)
AnyNumeric & operator=(const AnyNumeric &rhs)
Definition: OgreAny.h:320
EGLSurface getDrawable() const
CompositorNode(IdType id, IdString name, const CompositorNodeDef *definition, CompositorWorkspace *workspace, RenderSystem *renderSys, const RenderTarget *finalTarget)
The Id must be unique across all engine so we can create unique named textures.
TRect(TRect const &o)
Definition: OgreCommon.h:741
virtual RenderWindow * createWindow(bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle="OGRE Render Window")
StreamSerialiser(const DataStreamPtr &stream, Endian endianMode=ENDIAN_AUTO, bool autoHeader=true, RealStorageFormat realFormat=REAL_FLOAT)
Constructor.
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Notifies the ultimate texture owner the buffer changed.
size_t numChildren(void) const
Reports the number of child nodes under this one.
Definition: OgreNode.h:551
static CmdRedAdjust1 msRedCmd1
Definition: OgreColourFaderAffector2.h:186
LodStrategyManager()
Default constructor.
void setMetricsMode(GuiMetricsMode gmm)
Overridden from OverlayElement.
virtual void setDepthBufferFor(RenderTarget *renderTarget, bool exactMatch)
Retrieves an existing DepthBuffer or creates a new one suited for the given RenderTarget and sets it.
const String & getEmittedEmitter(void) const
Returns the name of the emitter to be emitted.
size_t paddedBytes
Definition: OgreD3D11VaoManager.h:57
void _writeRawConstant(size_t physicalIndex, const ColourValue &colour, size_t count=4)
Write a ColourValue parameter to the program.
@ SPC_LIGHTPOSITION_WORLD_SPACE7
Definition: OgreShaderParameter.h:224
void setValue(const String &name, T value)
Set a named property value.
Definition: OgreProperty.h:333
void importLodConfig(Ogre::LodConfig *config, DataStreamPtr &stream)
IdString name
Definition: OgreCompositorPass.h:53
int depth
Definition: OgreX11EGLSupport.h:85
Mesh::IndexMap::const_iterator boneIdxEnd
Definition: OgreInstanceBatchHW_VTF.h:112
static String Type
Definition: OgreShaderExLayeredBlending.h:152
STLAllocator(STLAllocator const &)
copy ctor - done component wise
Definition: OgreMemorySTLAllocator.h:111
const CompositorNodeDef * getDefinition() const
Definition: OgreCompositorNode.h:158
Aabb getAsAabb(size_t index) const
Prefer using.
Definition: C/OgreArrayAabb.h:98
Definition of how to populate a 'slot' in the terrain group.
Definition: OgreTerrainGroup.h:305
@ ID_ITERATION_DEPTH_BIAS
Definition: OgreScriptCompiler.h:672
Definition: OgreD3D11VertexArrayObject.h:39
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
virtual ~DataStream()
Definition: OgreDataStream.h:209
virtual bool isSkyPlaneEnabled(void) const
Return whether a key plane is enabled.
Definition: OgreSceneManager.h:2172
ArrayReal mChunkBase[3]
Definition: C/OgreArrayVector3.h:67
Quaternion convertLocalToWorldOrientationUpdated(const Quaternion &localOrientation)
Definition: OgreNode.h:748
bool getCastsShadows(void) const
Method which reports whether this renderable would normally cast a shadow.
BufferSource(uint32 _uavSlot, IdString _bufferName, ResourceAccess::ResourceAccess _access, size_t _offset=0, size_t _sizeBytes=0)
Definition: OgreCompositorPassUavDef.h:88
PortalBase * getPortal()
Returns the Portal that was used to create this plane.
Definition: OgrePCPlane.h:72
void setReceiveShadows(bool receiveShadows)
When false, objects with this material will not receive shadows (independent of whether they case sha...
@ GPU_MS_WARP
Definition: OgreRenderSystemCapabilities.h:301
@ OT_PATCH_20_CONTROL_POINT
Definition: OgreHlmsPso.h:79
void updateUniformBlocks(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object uniform blocks using shared parameter data from GpuProgramParameters.
GLuint getWarningTextureID()
Definition: OgreGL3PlusTextureManager.h:50
virtual void setValue(const ColourValue &)
Set value.
Definition: OgreAnimable.h:172
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreGLES2NullTexture.h:103
@ CB_DRAW_CALL_INDEXED
Definition: OgreCbCommon.h:42
virtual OGRE_DEPRECATED const Any & getUserAny(void) const
Definition: OgreRenderable.h:370
BspNode * getNextNode(const Vector3 &point) const
Gets the next node down in the tree, with the intention of locating the leaf containing the given poi...
Real getScissorTop(void) const
Definition: OgreViewport.h:177
@ CAPS_CATEGORY_COMMON
Definition: OgreRenderSystemCapabilities.h:62
virtual void calculateHash()
Calculates the hashes needed for sorting by the RenderQueue (i.e. mTextureHash)
Definition: OgreHlmsDatablock.h:301
HashedVector(const HashedVector< T > &rhs)
Definition: OgreCommon.h:536
const SkeletonDefPtr & getSkeleton(void) const
Definition: OgreMesh.h:455
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
static void setDefaultOrientationMode(OrientationMode orientationMode)
Set the initial orientation mode of viewports.
CG target language writer implementation.
Definition: OgreShaderCGProgramWriter.h:54
const String & getName(void) const
Gets the name of this overlay.
size_t mEntitiesPerPadding
Definition: OgreInstanceBatchHW_VTF.h:68
TexCoordCalcMethod
Enum describing the ways to generate texture coordinates.
Definition: OgreRenderSystem.h:61
static void unpackColour(uint8 *r, uint8 *g, uint8 *b, uint8 *a, PixelFormat pf, const void *src)
Unpack a colour value from memory.
Vector3 mC3
Definition: OgreVolumeDualGridGenerator.h:48
Rule controlling whether technique is deemed supported based on GPU device name.
Definition: OgreTechnique.h:105
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:53
LoggingLevel getLogDetail() const
Gets the level of the log detail.
Definition: OgreLog.h:166
void setSamplerblock(PbsMobileTextureTypes texType, const HlmsSamplerblock ¶ms)
Sets a new sampler block to be associated with the texture (i.e.
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
virtual void setMinRepeatDelay(Real min)
Sets the minimum duration of this emitter in seconds (see setRepeatDelay for more details)
virtual void needUpdate(bool forceParentUpdate=false)
To be called in the event of transform changes to this OldNode that require it's recalculation.
virtual void addResponseHandler(uint16 channel, ResponseHandler *rh)
Add a response handler instance to the queue.
MemoryDataStreamPtr Microcode
Definition: OgreGpuProgramManager.h:71
@ BBO_TOP_LEFT
Definition: OgreBillboardSet.h:58
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreMetalDepthTexture.h:106
Definition: OgreHlms.h:178
static DynLibManager & getSingleton(void)
Override standard Singleton retrieval.
void removeWorkspaceDefinition(IdString name)
Removes the workspace definition with the given name. Throws if not found.
void getAsMatrix4(Matrix4 &out, size_t index) const
Definition: C/OgreArrayMatrix4.h:90
PortalBase - Base class to Portal and AntiPortal classes.
Definition: OgrePortalBase.h:47
#define OGRE_LOCK_RW_MUTEX_READ(name)
Definition: OgreThreadDefinesBoost.h:63
@ MESH_VERSION_1_0
OGRE version v1.0+.
Definition: OgreMeshSerializer.h:59
static Real LogN(Real base, Real fValue)
Definition: OgreMath.h:352
virtual ~MaterialSerializer()
default destructor
Definition: OgreMaterialSerializer.h:245
Triangle()
Definition: OgreEdgeListBuilder.h:72
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
virtual void clearAllChains(void)
Remove all elements from all chains (but leave the chains themselves intact).
virtual void setPageRange(int32 minX, int32 minY, int32 maxX, int32 maxY)
Set the index range of all Pages (values outside this will be ignored)
virtual DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
virtual void *RESTRICT_ALIAS_RETURN map(size_t elementStart, size_t elementCount, MappingState prevMappingState, bool advanceFrame=true)
virtual RenderTexture * getRenderTarget(size_t slice=0)
Get a render target for this PixelBuffer, or a slice of it.
const String & getRTShaderScheme(size_t index) const
Returns the scheme name used in the for RT shader generation by index.
void getCustomAttribute(const String &name, void *pData)
Overridden - see RenderTarget.
Definition: OgreSDLWindow.h:79
@ BBT_ORIENTED_COMMON
Billboards are oriented around a shared direction vector (used as Y axis) and only rotate around this...
Definition: OgreBillboardSet.h:82
virtual void calculateHash()
Calculates the hashes needed for sorting by the RenderQueue (i.e. mTextureHash)
virtual void _renderNoBaseInstance(const v1::CbDrawCallIndexed *cmd)
~DefaultHardwareCounterBuffer()
static D3D11StereoDriverBridge & getSingleton(void)
Command object for alpha adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:105
Plane::Side getSide(const Vector3 &point) const
Determines which side of the splitting plane a worldspace point is.
Definition: OgreQuake3Types.h:223
void removePortalCullingPlanes(PortalBase *portal)
Remove culling planes created from the given portal.
virtual void updateVertexCollapseCost(LodData *data, LodData::Vertex *vertex)
Called when edge cost gets invalid.
virtual void frameEnded(void)
Called when the frame has fully ended (ALL passes have been executed to all RTTs)
static bool vertexElementLessForV2(const VertexElement &e1, const VertexElement &e2)
@ GPT_GEOMETRY_PROGRAM
Definition: OgreGpuProgram.h:52
virtual void extractAllMovableObjectsByType(const String &typeName)
Extract all injected MovableObjects of a given type.
virtual void touchVertexBufferCopy(const HardwareVertexBufferSharedPtr &bufferCopy)
Tell engine that the vertex buffer copy intent to reuse.
static FORCEINLINE bool isPO2(T n)
Determines whether the number is power-of-two or not.
Definition: OgreBitwise.h:154
void resetNodeToInitialState(void)
Resets the the target node to the initial state.
void fillBufferAtLod(uint lodLevel, const float *data, uint dataSize)
Copy geometry data from buffer to mHeightData/mDeltaData.
void incPassIterationNumber(void)
increments the multipass number entry by 1 if it exists
bool mDiscardOnly
This value is only supported by a few APIs (D3D11 at the time of writting) which instead of actually ...
Definition: OgreCompositorPassClearDef.h:72
void setScale(const Vector3 &pos)
Sets the scale of the node relative to its parent.
@ ET_ENVIRONMENT_MAP
Generate all texture coords based on angle between camera and vertex.
Definition: OgreTextureUnitState.h:73
@ ID_REVERSE_SUBTRACT
Definition: OgreScriptCompiler.h:664
static const uint8 DERIVED_DATA_ALL
Definition: OgreTerrain.h:1195
const Vector2 & getRectSize(void) const
Definition: OgreLight.h:351
size_t getNumInputBufferChannels(void) const
@ LB_BlendPhoenix
Definition: OgreShaderExLayeredBlending.h:75
virtual bool queryResult(MovableObject *first, MovableObject *second)=0
Called when 2 movable objects intersect one another.
static void unregisterCodec(Codec *pCodec)
Unregisters a codec from the database.
Definition: OgreCodec.h:100
Vector3 vPos
Definition: OgreSkeletonDef.h:49
~PCZSceneManager()
Standard destructor.
uint32 getHeight() const
Get the height of this box.
Definition: OgreCommon.h:896
int background_pixel
Definition: OgreX11EGLSupport.h:90
@ SPC_POSTOLIGHT_TANGENT_SPACE1
Definition: OgreShaderParameter.h:158
Definition: OgreSDLGLSupport.h:11
bool prepare(StreamSerialiser &stream)
Prepare data - may be called in the background.
virtual void setStrategy(PageStrategy *strat)
Change the page strategy.
DXGI_FORMAT mIndexFormat
Definition: OgreD3D11VertexArrayObject.h:44
ImageDownsampler2D downscale2x_Signed_XXX888
Definition: OgreImageDownsampler.h:112
void setNumLocalBufferDefinitions(size_t numTDs)
Reserves enough memory for all texture definitions.
Definition: OgreTextureDefinition.h:411
static void DestroyTls(TlsHandle tlsHandle)
Destroys a Thread Local Storage handle created with CreateTls.
String doGet(const void *target) const
OverlayContainer(const String &name)
Constructor: do not call direct, use OverlayManager::createOverlayElement.
virtual void setDepthBufferPool(uint16 poolId)
Sets the pool ID this RenderTarget should query from.
PoseIterator getPoseIterator(void)
Get an iterator over all the poses defined.
iterator erase(iterator I)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:585
virtual_l2 void attachObject(MovableObject *obj)
Adds an instance of a scene object to this node.
uint32 FastHash(const char *data, int len, uint32 hashSoFar=0)
Fast general hashing algorithm.
Definition: OgreCommon.h:63
static CmdRandomness msRandomnessCmd
Command objects.
Definition: OgreDirectionRandomiserAffector.h:96
void setPosition(const Vector3 &pos)
Sets the position of the node relative to its parent.
Mesh(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Default constructor - used by MeshManager.
virtual void setActiveScheme(const String &schemeName)
Sets the name of the active material scheme.
static const IdString TexMatrixCount4
Definition: OgreHlmsUnlitMobile.h:100
static const String & getDirectionalLightExtruderVs_4_0FiniteDebug(void)
Get FINITE extruder program source for debug directional lights, compatible with vs_4_0.
Definition: OgreShadowVolumeExtrudeProgram.h:316
bool removeShaderBasedTechnique(const String &materialName, const String &srcTechniqueSchemeName, const String &dstTechniqueSchemeName)
Remove shader based technique from a given technique.
void setNamedAutoConstant(const String &name, AutoConstantType acType, size_t extraInfo=0)
Sets up a constant which will automatically be updated by the system.
The main containing class for a chunk of terrain.
Definition: OgreTerrain.h:267
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
static String Type
Definition: OgreShaderFFPFog.h:118
OGRE_STATIC_MUTEX(msDirtyHashListMutex)
@ TT_SCALE_V
Definition: OgreTextureUnitState.h:116
Defines a plane in 3D space.
Definition: OgrePlane.h:62
Vertex()
Definition: OgreVolumeMeshBuilder.h:73
const String & getType(void) const
Get the type of the object to be created.
Data being passed around while loading.
Definition: OgreVolumeChunkHandler.h:48
virtual void setHoldRadius(Real sz)
Set the Holding radius.
void doSet(void *target, const String &val)
void logInfo() const
Log details of this body.
void loadMaterial(const rapidjson::Value &json, const HlmsJson::NamedBlocks &blocks, HlmsDatablock *datablock)
void _prepareForRendering(void)
virtual void notifyBeginRenderScene(void)
Called when a _renderScene is called in the SceneManager.
T & reference
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:239
IMPORTANT: Plugins must override default dictionary name! Base class that texture plugins derive from...
Definition: OgreExternalTextureSource.h:75
void getReleaseText(char *outCStr, size_t stringSize) const
C String version. Zero allocations. See getFriendlyText.
Definition: OgreIdString.h:302
D3D9HardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, bool useSystemMem, bool useShadowBuffer)
unsigned int getWidth() const
virtual OldBone * getBone(unsigned short handle) const
Gets a bone by it's handle.
virtual bool addFunctionInvocations(ProgramSet *programSet)
@ LF_ONLY_UNREFERENCED_INCLUDE_NON_RELOADABLE
Combination of LF_ONLY_UNREFERENCED and LF_INCLUDE_NON_RELOADABLE.
Definition: OgreResource.h:141
virtual void _autogenerateMipmaps(void)
Tells the API to let the HW autogenerate mipmaps.
Definition: OgreMetalNullTexture.h:61
bool addRenderWindow(D3D9RenderWindow *renderWindow) const
bool setStatic(bool bStatic)
Tells this batch to stop updating animations, positions, rotations, and display all it's active insta...
float packMaxRatio
Textures with a higher AR (whether width / height or height / width) than this value won't be packed.
Definition: OgreHlmsTextureManager.h:112
Class defining particle system based special effects.
Definition: OgreParticleSystem.h:66
virtual RenderTexture * getRenderTarget(size_t slice=0)
Get a render target for this PixelBuffer, or a slice of it.
@ ID_ITERATION
Definition: OgreScriptCompiler.h:706
virtual_l1 size_t getCurrentVertexCount() const
Get the number of vertices in the section currently being defined (returns 0 if no section is in prog...
void removeVisibilityFlags(uint32 flags)
As setVisibilityFlags, except the flags passed as parameters are removed from the existing flags on t...
static const IdString DetailOffsets1
Definition: OgreHlmsPbs.h:359
virtual void bindToFramebuffer(GLenum attachment, uint32 zoffset)
bool isLayerSpecularMappingEnabled() const
Whether to support specular mapping per layer in the shader (default true).
Definition: OgreTerrainMaterialGeneratorA.h:87
OpMask
Definition: OgreShaderFunctionAtom.h:95
Class that allows listening in on the various stages of SceneManager processing, so that custom behav...
Definition: OgreSceneManager.h:335
static Real Sqr(Real fValue)
Squared function.
Definition: OgreMath.h:417
virtual RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)=0
Creates a new rendering window.
D3D11HardwareBufferManagerBase(D3D11Device &device)
virtual void _setWorldMatrix(const Matrix4 &m)=0
Sets the world transform matrix.
HardwareCounterBuffer(HardwareBufferManagerBase *mgr, size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer=false, const String &name="")
Should be called by HardwareBufferManager.
virtual void updatePassIterationUniforms(GpuProgramParametersSharedPtr params)=0
Updates program object uniforms using data from pass iteration GpuProgramParameters.
@ CLIPPED_NONE
Nothing was clipped.
Definition: OgreCommon.h:921
void beginProfile(const String &profileName, uint32 groupID=(uint32) OGREPROF_USER_DEFAULT, ProfileSampleFlags::ProfileSampleFlags flags=ProfileSampleFlags::FlagsNone)
Begins a profile.
@ HBU_STATIC
Static buffer which the application rarely modifies once created.
Definition: OgreHardwareBuffer.h:85
Real worldSize
The world size of the terrain.
Definition: OgreTerrain.h:358
static void unspecified_bool(SharedPtr ***)
Definition: OgreSharedPtr.h:296
Definition: OgreMesh2SerializerImpl.h:212
virtual ~ProgramWriter()
Class destructor.
Definition: OgreShaderProgramWriter.h:66
virtual void deinitGPUProfiling(void)=0
void setNodeHomeZone(SceneNode *, PCZone *)
Set the home zone for a scene node.
Contains information needed by the UI (2D) for OpenGL ES 2.0.
Definition: OgreHlmsUnlitMobileDatablock.h:48
Real skyPlaneTiling
Definition: OgreSceneManager.h:317
bool hwGamma[OGRE_MAX_MULTIPLE_RENDER_TARGETS]
Definition: OgreHlmsPso.h:106
@ CB_DRAW_CALL_STRIP_EMULATED_NO_BASE_INSTANCE
Definition: OgreCbCommon.h:43
OldNodeAnimationTrack(Animation *parent, unsigned short handle)
Constructor.
void attachDepthBuffer(DepthBuffer *depthBuffer)
This function acts very similar to.
static CmdPlanePoint msPlanePointCmd
Command objects.
Definition: OgreDeflectorPlaneAffector.h:98
virtual void updateCompositeMap(const Terrain *terrain, const Rect &rect)
Update the composite map for a terrain.
Definition: OgreTerrainMaterialGenerator.h:340
SmallVector(ItTy S, ItTy E)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:960
virtual ResourcePtr createResource(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Creates a new blank resource, but does not immediately load it.
void unprepare()
Free CPU resources created during prepare methods.
This is an abstract node which cannot be broken down further.
Definition: OgreScriptCompiler.h:110
void setTessellationHullProgramConstantBoolCount(ushort c)
The number of boolean constants tessellation Domain programs support.
Definition: OgreRenderSystemCapabilities.h:861
void _getCullBounds(AxisAlignedBox *) const
Creates the AxisAlignedBox used for culling this octree.
@ GCT_DOUBLE3
Definition: OgreGpuProgramParams.h:96
TerrainQuadTreeNode(ObjectMemoryManager *objectMemoryManager, Terrain *terrain, TerrainQuadTreeNode *parent, uint16 xoff, uint16 yoff, uint16 size, uint16 lod, uint16 depth, uint16 quadrant)
Constructor.
virtual void removeRenderObjectListener(RenderObjectListener *delListener)
Removes a listener previously added with addRenderObjectListener.
const Matrix4 & getViewMatrix(size_t shadowMapIdx) const
Returns the texture view matrix for the given shadow map index.
@ RSC_MRT_DIFFERENT_BIT_DEPTHS
Supports MRTs with different bit depths.
Definition: OgreRenderSystemCapabilities.h:156
OctreeIntersectionSceneQuery(SceneManager *creator)
virtual void destroyAllEntities(void)
Removes & destroys all Entities.
void writeAttribute(unsigned short level, const String &att, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:326
uint16 _getTextureIdx(PbsTextureTypes texType) const
Returns the internal index to the array in a texture array.
Definition: OgreHlmsPbsDatablock.h:507
const VertexElement & insertElement(unsigned short atPosition, unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
See VertexDeclaration.
virtual const Vector3 & getCommonDirection(void) const
Gets the common direction for all billboards (BBT_ORIENTED_COMMON)
virtual ~TerrainMaterialGeneratorA()
PbsUvAtlasParams()
Definition: OgrePbsMobileShaderCreationData.h:50
void setSpecular(const Vector3 &specularColour)
Sets the specular colour.
void setProperty(IdString key, int32 value)
Sets an arbitrary property to pass to the shader.
const Vector3 getCenterBackLeft(void) const
Gets the center of the corners 0, 4.
Definition: OgreVolumeOctreeNode.h:418
@ ID_BUFFER
Definition: OgreScriptCompiler.h:825
virtual void reset()
Reset the vertex buffer to the initial state.
Definition: OgreRenderToVertexBuffer.h:111
@ TS_LOCAL
Transform is relative to the local space.
Definition: OgreNode.h:68
Matrix4 getTransposeViewProjMatrix() const
Implement a sub render state which performs hardware skinning.
Definition: OgreShaderExHardwareSkinningTechnique.h:50
const BoneVec & getChildren(void)
Retrieves the container for efficiently iterating through all children of this bone.
Definition: OgreBone.h:156
Command object for getting/setting micro code.
Definition: OgreD3D9HLSLProgram.h:84
void setMaterialScheme(const String &schemeName)
Set the material scheme which the viewport should use.
Definition: OgreViewport.h:241
bool ToEulerAnglesXYZ(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
The matrix must be orthonormal.
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
Base for a general purpose request / response style background work queue.
Definition: OgreWorkQueue.h:362
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
Real getTanTime_0_2Pi(Real x) const
vector< CompositorShadowNode * >::type CompositorShadowNodeVec
Definition: OgreCompositorCommon.h:57
virtual ushort getDesiredIntegerBitDepth(void) const
gets desired bit depth for integer pixel format textures.
void updateManualLodLevel(ushort index, const String &meshName)
Changes the alternate mesh to use as a manual LOD at the given index.
virtual void addChainElement(size_t chainIndex, const Element &billboardChainElement)
Add an element to the 'head' of a chain.
Timer * getTimer(void)
Gets a pointer to the central timer used for all OGRE timings.
AbstractNode * clone() const
Returns a new AbstractNode which is a replica of this one.
int * mLeafBrushes
Definition: OgreQuake3Level.h:158
VertexElementSemantic
Vertex element semantics, used to identify the meaning of vertex buffer contents.
Definition: OgreVertexElements.h:39
uint8 getRenderQueueSubGroup(void) const
Definition: OgreRenderable.h:439
void execute(IntersectionSceneQueryListener *listener)
See IntersectionSceneQuery.
v1::HardwareIndexBuffer::IndexType minimalIndexType() const
Definition: OgreLod0Stripifier.h:89
~HalfFloatGridSource(void)
Destructor.
@ FFP_PS_PRE_PROCESS
Definition: OgreShaderFFPRenderState.h:57
Plugin instance for NULL Manager.
Definition: OgreNULLPlugin.h:39
static const IdString UvDetail3
Definition: OgreHlmsPbsMobile.h:146
size_t slicePitchAlwaysBytes(void) const
Returns slicePitch, but always in bytes.
Real minTimePercent
The minimum percentage of frame time this profile has taken.
Definition: OgreProfiler.h:275
GeneralAllocatedObject DynLibAlloc
Definition: OgreMemoryAllocatorConfig.h:307
@ InvertVertexWinding
Definition: OgreHlmsPso.h:141
static PixelFormat DefaultDepthBufferFormat
Definition: OgreDepthBuffer.h:165
Definition: OgreD3D11RenderWindow.h:52
@ ID_PER_N_LIGHTS
Definition: OgreScriptCompiler.h:710
AbstractNode * clone() const
Returns a new AbstractNode which is a replica of this one.
void removeExists(const T &item)
Definition: OgreVectorSetImpl.h:69
VertexSplit splitVertex
The old and new vertex index.
Definition: OgreTangentSpaceCalc.h:66
virtual void loadImage(const Image &img)
Loads the data from an image.
@ LBS_DIFFUSE
the interpolated diffuse colour from the vertices
Definition: OgreBlendMode.h:119
@ DISPLAY_PERCENTAGE
Display % frame usage on the overlay.
Definition: OgreProfiler.h:361
bool isSkeletalAnimationIncluded(void) const
Returns whether the linked program includes the required instructions to perform skeletal animation.
Definition: OgreGLSLProgram.h:129
bool _checkTextureFilteringSupported(TextureType ttype, PixelFormat format, int usage)
Check whether or not filtering is supported for the precise texture format requested with the given u...
unsigned int animNumFrames
Definition: OgreQuake3Shader.h:96
Extent
Definition: OgreAxisAlignedBox.h:57
FFPColour()
Class default constructor.
bool intersects(const Sphere &sphere)
Check if portal intersects an sphere.
const Matrix4 & getViewMatrix(bool ownFrustumOnly) const
Specialised version of getViewMatrix allowing caller to differentiate whether the custom culling frus...
Octree implementation of IntersectionSceneQuery.
Definition: OgreOctreeSceneQuery.h:47
virtual ~PageStrategy()
Definition: OgrePageStrategy.h:85
void setThreadsPerGroup(uint32 threadsPerGroupX, uint32 threadsPerGroupY, uint32 threadsPerGroupZ)
Sets the number of threads per group.
@ OPT_NONE
No optimisation.
Definition: OgreD3D9HLSLProgram.h:152
String doGet(const void *target) const
@ SOP_DECREMENT_WRAP
Decrease the stencil value by 1, wrapping when decrementing 0.
Definition: OgreCommon.h:124
@ M_MESH_LOD_GENERATED
Definition: OgreMeshFileFormat.h:248
const MeshLodUsage & getLodLevel(ushort index) const
Gets details of the numbered level of detail entry.
ImageBlur2D separableBlur_XXXA8888
Definition: OgreImageDownsampler.h:99
virtual void advanceFrame(void)
void clear()
Definition: OgreBitset.h:48
virtual v1::HardwarePixelBufferSharedPtr getBuffer(size_t face, size_t mipmap)
Return hardware pixel buffer for a surface.
Definition: OgreNULLTexture.h:57
Node(IdType id, NodeMemoryManager *nodeMemoryManager, Node *parent)
Constructor, should only be called by parent, not directly.
void setVertexProgramParameters(GpuProgramParametersSharedPtr params)
Sets the vertex program parameters.
LwString & a(const M &a0, const N &a1, const O &a2, const P &a3, const Q &a4)
Definition: OgreLwString.h:379
GLSLESCgProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
void setNewHomeZone(PCZone *zone)
Set the zone this portal should be moved to.
virtual void setAutoextend(bool autoextend)
Tells the set whether to allow automatic extension of the pool of billboards.
bool hasVertexTrack(unsigned short handle) const
Does a track exist with the given handle?
static const uint32 TERRAIN_CHUNK_ID
Definition: OgreTerrain.h:277
@ ID_REPLACE
Definition: OgreScriptCompiler.h:750
list< PCZone * >::type ZoneList
Definition: OgrePCZLight.h:44
void setShadingMode(ShadeOptions mode)
Sets the type of light shading required.
const GpuNamedConstants & getConstantDefinitions() const
Get the full list of GpuConstantDefinition instances.
void _setTexture(size_t unit, bool enabled, Texture *texPtr)
Sets the texture to bind to a given texture unit.
virtual void allWorkspacesBeforeBeginUpdate(void)
Called from CompositorManager2 (not CompositorWorkspace) when we're about to begin updating all the w...
Definition: OgreCompositorWorkspaceListener.h:73
Implementation of CompositorPass This implementation will render a fullscreen triangle/quad to the Re...
Definition: OgreCompositorPassCompute.h:82
void hide(void)
Hides the overlay if it was visible.
void setDirection(const Vector3 &vec)
Sets the camera's direction vector.
@ ID_SOURCE
Definition: OgreScriptCompiler.h:630
Plane(Real a, Real b, Real c, Real d)
Construct a plane using the 4 constants directly.
virtual void addChild(OverlayElement *elem)
Adds another OverlayElement to this container.
virtual void *RESTRICT_ALIAS_RETURN map(size_t elementStart, size_t elementCount, MappingState prevMappingState, bool advanceFrame=true)
size_t getFirstNode(ObjectData &outData)
Retrieves a Transform pointing to the first Node.
void setTexCoordIndex(unsigned int index)
Set the index of the input vertex shader texture coordinate set.
Definition: OgreShaderExNormalMapLighting.h:98
MultiRenderTarget(const String &name)
uint8 getCurrentBoundSlot(void) const
This value may have some meaning even if there is no reservation.
void setBorderSize(Real size)
Sets the size of the border.
Definition: OgreThreadDefinesSTD.h:32
static UavBufferPacked * createBuffer(const BufferDefinition &bufferDef, const RenderTarget *finalTarget, VaoManager *vaoManager)
const GpuProgramPtr & getShadowCasterFragmentProgram(void) const
Gets the fragment program used by this pass when rendering shadow casters, only available after _load...
ProfileSessionListener()
Definition: OgreProfiler.h:366
Struct for holding a program definition which is in progress.
Definition: OgreMaterialSerializer.h:47
virtual const String & getTargetLanguage() const
Definition: OgreShaderHLSLProgramWriter.h:73
void releaseTmpRtt(const TexturePtr &tmpRtt)
LwString & a(const M &a0, const N &a1, const O &a2, const P &a3, const Q &a4, const R &a5)
Definition: OgreLwString.h:387
void setAmbientLightMode(AmbientLightMode mode)
SubRenderStateList::const_iterator SubRenderStateListConstIterator
Definition: OgreShaderSubRenderState.h:159
@ FFP_VS_LIGHTING
Definition: OgreShaderFFPRenderState.h:48
Representation of a ray in space, i.e.
Definition: OgreRay.h:46
virtual IntersectionSceneQueryResult & execute(void)
Executes the query, returning the results back in one list.
Definition: OgreMemorySTLAllocator.h:82
String name
Definition: OgreScriptCompiler.h:128
MultiRenderTarget for OpenGL.
Definition: OgreGL3PlusFBOMultiRenderTarget.h:41
virtual String getLine(bool trimAfter=true)
Returns a String containing the next line of data, optionally trimmed for whitespace.
D3D11Texture * getParentTexture() const
String externalTextureName
Name of the external texture, if empty, textureName is used.
Definition: OgreCompositorPassUavDef.h:61
virtual void _setVertexArrayObject(const VertexArrayObject *vao)=0
Part of the low level rendering interface.
bool isVisibile(const AxisAlignedBox &bound)
Returns the visibility of the box.
uint32 poolId
Definition: OgreHlmsTextureManager.h:147
void copyToTexture(TexturePtr &target)
overridden from Texture
_OgreExport const uint32 RESERVED_VISIBILITY_FLAGS
When this is bit is clear, the obj is not rendered at all.
PortalIntersectResult intersects(PCZSceneNode *sn)
Check for intersection between portal & scenenode (also determines if scenenode crosses over portal.
void writeValue(const String &val, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:337
void eraseUserAny(const String &key)
Erase the custom user object associated with this class and key from this binding.
virtual const PixelFormatToShaderType * getPixelFormatToShaderType(void) const =0
void set32BitIndices(bool n32)
Set whether we need 32-bit indices.
Definition: OgreManualObject.h:439
void replaceExists(const T &oldItem, const T &newItem)
Definition: OgreVectorSetImpl.h:92
virtual bool isStereoEnabled(const String &renderWindowName)=0
GLenum cullMode
Definition: OgreGL3PlusHlmsPso.h:50
Listener()
Definition: OgreNode.h:83
void setFullscreen(bool fullScreen, unsigned int width, unsigned int height)
Alter fullscreen mode options.
virtual bool getTreatLuminanceAsAlpha(void) const
Gets whether luminace pixel format will treated as alpha format when load this texture.
vector< CompositorTexture >::type CompositorTextureVec
Definition: OgreCompositorPass.h:65
bool getPassSurfaceAndLightStates(void) const
Returns whether a vertex program wants light and material states to be passed through fixed pipeline ...
void convertFromV2(const VertexElement2Vec &v2Decl)
@ GCT_SAMPLER2DARRAY
Definition: OgreGpuProgramParams.h:79
static void get(const ColourValue &inColour, float *outColour)
Get dx11 color.
LightClosest(Light *_light, size_t _globalIndex, Real _distance)
Definition: OgreCommon.h:682
const MaterialPtr & getRenderToBufferMaterial()
Get the material which is used to render the geometry into the vertex buffer.
Definition: OgreRenderToVertexBuffer.h:129
bool supportsPCZoneType(const String &zoneType)
Vector3 getDerivedDirection(void) const
Gets the derived direction vector of the camera, including any rotation inherited from a node attachm...
Information about a file/directory within the archive will be returned using a FileInfo struct.
Definition: OgreArchive.h:51
Real getInnerSizeX(void) const
Gets the x component of the area inside the ellipsoid which doesn't emit particles.
size_t getPassIterationCount(void) const
Gets the pass iteration count value.
Definition: OgrePass.h:1022
virtual const HardwareVertexBufferSharedPtr & getBuffer(unsigned short index) const
Gets the buffer bound to the given source index.
BufferSource(uint32 _slotIdx, IdString _bufferName, ResourceAccess::ResourceAccess _access, size_t _offset=0, size_t _sizeBytes=0, bool _allowWriteAfterWrite=false)
Definition: OgreCompositorPassComputeDef.h:94
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
@ FA_AVERAGE
Take the average of the force vector and the particle momentum.
Definition: OgreLinearForceAffector.h:73
Alignment getAlignment() const
Get the alignment of the terrain.
iterator erase(iterator first, iterator last)
Definition: OgreCommon.h:618
void _swapBoneWeightsUniquePtr(RawSimdUniquePtr< ArrayReal, MEMCATEGORY_ANIMATION > &inOutBoneWeights)
void _initialise(void)
Init method to be called by OGRE system.
@ MEMCATEGORY_ANIMATION
Animation data like tracks, bone matrices.
Definition: OgreMemoryAllocatorConfig.h:166
void setAlphaAdjust2(float alpha)
static const IdString HwGammaRead
Definition: OgreUnlitProperty.h:42
AbstractNode * clone() const
Returns a new AbstractNode which is a replica of this one.
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
The handler method every subclass must implement.
PixelFormat getFormat() const
Returns the pixel format for the texture surface.
Definition: OgreTexture.h:326
SceneManager * getSceneManager(const String &instanceName) const
Get an existing SceneManager instance that has already been created, identified by the instance name.
const ColourValue & getSurfaceAmbientColour(void) const
@ VES_SPECULAR
Specular colours.
Definition: OgreVertexElements.h:51
static const size_t MaterialSizeInGpu
Definition: OgreHlmsPbsDatablock.h:770
virtual void removeElement(VertexElementSemantic semantic, unsigned short index=0)
Remove the element with the given semantic and usage index.
GpuSharedParametersPtr getSharedParams() const
Definition: OgreGpuProgramParams.h:846
@ TFO_BILINEAR
Equal to: min=FO_LINEAR, mag=FO_LINEAR, mip=FO_POINT.
Definition: OgreCommon.h:218
void insertShadowContentTypeLookup(size_t textureUnitIndex)
Call this function when a texture unit changed to type CONTENT_SHADOW.
Physically based shading implementation specfically designed for OpenGL 3+, D3D11 and other RenderSys...
Definition: OgreHlmsPbs.h:61
GL3PlusDefaultHardwareBufferManager()
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:184
@ SPC_LIGHTDIRECTION_TANGENT_SPACE6
Definition: OgreShaderParameter.h:203
RenderState * getRenderState(const String &schemeName, const String &materialName, const String &groupName, unsigned short passIndex)
Get render state of specific pass.
Manages Overlay objects, parsing them from .overlay files and storing a lookup library of them.
Definition: OgreOverlayManager.h:53
AxisAlignedBoxSceneQuery * createAABBQuery(const AxisAlignedBox &box, uint32 mask)
Creates an AxisAlignedBoxSceneQuery for this scene manager.
void _writeRawConstant(size_t physicalIndex, Real val)
Write a single floating-point parameter to the program.
virtual ~DefaultWorkQueue(void)
IdString mLodCameraName
When empty, it implies mCameraName == mLodCameraName; except for shadow nodes.
Definition: OgreCompositorPassSceneDef.h:86
AnimableObject()
Definition: OgreAnimable.h:287
Real getSpotlightFalloff(void) const
Returns the falloff between the inner and outer cones of the spotlight.
Definition: OgreLight.h:320
void setNonPOW2TexturesLimited(bool l)
Non-POW2 textures limited.
Definition: OgreRenderSystemCapabilities.h:762
Command object for specifying tiling (see ParamCommand).
Definition: OgrePanelOverlayElement.h:115
Structure defining an auto constant that's available for use in a parameters object.
Definition: OgreGpuProgramParams.h:1395
const Matrix4 & getSpotlightViewProjMatrix(size_t index) const
bool isTransparent(void) const
Returns whether this panel is transparent.
Definition: OgreX11EGLSupport.h:92
bool isTransparent(void) const
Returns true if this Technique involves transparency.
D3D9RenderSystem(HINSTANCE hInstance)
void notifyDeviceRestored(D3D11Device *device)
void _unprepare(void)
Internal unprepare method, derived from call to Material::unprepare.
void _setForwardPlusEnabledInPass(bool bEnable)
For internal use.
@ PF_BC6H_SF16
DDS (DirectDraw Surface) BC6H format (signed 16 bit float)
Definition: OgrePixelFormat.h:220
void _notifyVertexBufferDestroyed(HardwareVertexBuffer *buf)
Notification that a hardware vertex buffer has been destroyed.
Definition: OgreHardwareBufferManager.h:549
bool isFinite(void) const
Returns true if the box is finite.
Definition: OgreAxisAlignedBox.h:542
ushort getIndirectionLevel() const
Returns the level of indirection.
Definition: OgreShaderFunctionAtom.h:149
virtual void worldGeometryPrepareStageStarted(const String &description)
This event is fired when a stage of preparing linked world geometry is about to start.
Definition: OgreResourceGroupManager.h:138
size_t getIndexDataStartIndex() const
Returns the current value of the start index used for drawing.
~ExternalTextureSourceManager()
Destructor.
AxisAlignedBox & operator=(const AxisAlignedBox &rhs)
Definition: OgreAxisAlignedBox.h:127
bool hasAnimationState(const String &name) const
Returns whether the AnimationState with the given name exists.
const SimpleMatrixAf4x3 & _getFullTransformUpdated(void)
@See _getDerivedScaleUpdated remarks.
void reset(void)
Resets the object.
bool getHighQuality(void) const
Definition: OgreHlms.h:446
void _setShadowCopy(void *copy)
This will not delete the existing shadow copy so it can be used for other purposes if it is not neede...
void stop()
Stop anything special.
void dearrangeToInefficient(void)
Reverts the effects from arrangeEfficient by converting all 16-bit half float back to 32-bit float; a...
virtual void _updateViewportRenderPhase02(Viewport *viewport, Camera *camera, const Camera *lodCamera, uint8 firstRq, uint8 lastRq, bool updateStatistics)
Method for manual management of rendering - renders the given viewport (even if it is not autoupdated...
bool isCubic(void) const
Returns true if this texture unit is either a series of 6 2D textures, each in it's own frame,...
LwString & a(Float a0)
Definition: OgreLwString.h:306
static LodStrategyManager * getSingletonPtr(void)
Override standard Singleton retrieval.
void discard(unsigned int buffers=FBT_COLOUR|FBT_DEPTH)
Instructs the viewport to 'discard' the buffers.
FrameTimeControllerValue()
virtual void destroyAllLights(void)
Removes and destroys all lights in the scene.
void destroySubMesh(unsigned short index)
Destroy a SubMesh with the given index.
@ RSC_HWRENDER_TO_TEXTURE_3D
Definition: OgreRenderSystemCapabilities.h:180
@ SBF_ONE_MINUS_SOURCE_COLOUR
Definition: OgreBlendMode.h:241
ImportData()
Definition: OgreTerrain.h:403
static PixelFormat getFormatForBitDepths(PixelFormat fmt, ushort integerBits, ushort floatBits)
Returns the similar format but acoording with given bit depths.
static const String FACTORY_TYPE_NAME
Factory type name.
Definition: OgreBspSceneManager.h:274
CompositorShadowNode(IdType id, const CompositorShadowNodeDef *definition, CompositorWorkspace *workspace, RenderSystem *renderSys, const RenderTarget *finalTarget)
int minor
Definition: OgreRenderSystemCapabilities.h:249
virtual ~D3D11TexBufferPacked()
bool renderOneFrame(Real timeSinceLastFrame)
Render one frame, with custom frame time information.
@ BLT_MANUAL_RELEASE
Licensee will only release buffer when it says so.
Definition: OgreHardwareBufferManager.h:167
virtual Real getMinParticleVelocity(void) const
Returns the minimum particle velocity.
@ ID_SCHEME
Definition: OgreScriptCompiler.h:638
int getNumMipmaps(void) const
Gets how many mipmaps have been requested for the texture.
LoggingLevel
The level of detail to which the log will go into.
Definition: OgreLog.h:58
static ParameterPtr createInNormal(int index)
virtual GuiVerticalAlignment getVerticalAlignment(void) const
Gets the vertical alignment for this element.
Virtual interface of the stereo driver.
Definition: OgreD3D11StereoDriverImpl.h:42
BspNode * getLeafStart(void)
Gets a pointer to the start of the leaf nodes.
Definition: OgreBspLevel.h:84
MemoryDataStreamPtr mChunk
Definition: OgreQuake3Level.h:111
bool mEndRtUpdate
End if we're the last consecutive pass to alter the contents of the same render target.
Definition: OgreCompositorPassDef.h:116
Struct used to hold hardware morph / pose vertex data information.
Definition: OgreVertexIndexData.h:96
@ ACT_INVERSE_TRANSPOSE_WORLDVIEW_MATRIX
The current world & view matrices concatenated, then inverted & transposed.
Definition: OgreGpuProgramParams.h:970
void _renderScenePhase02(const Camera *lodCamera, Viewport *vp, uint8 firstRq, uint8 lastRq, bool includeOverlays)
AnimationAllocatedObject AnimableAlloc
Definition: OgreMemoryAllocatorConfig.h:296
uint32 getLightsPerCell(void) const
Definition: OgreForward3D.h:107
virtual void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
Emulates the execution of a UAV to understand memory dependencies, and adds a memory barrier / resour...
String mMessages
Any diagnostic messages.
Definition: OgreWorkQueue.h:130
void setTessellationDomainProgram(const String &name, bool resetParams=true)
Sets the details of the Tessellation domain program to use.
Abstract marker class representing the data held against the PagedWorldSection which is specifically ...
Definition: OgrePageStrategy.h:50
const double & max(const double &a, const double &b)
Definition: OgreCommon.h:1026
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
bool isLayerNormalMappingEnabled() const
Whether to support normal mapping per layer in the shader (default true).
Definition: OgreTerrainMaterialGeneratorA.h:75
bool orientationEquals(const Quaternion &other, Real tolerance=1e-3) const
Compare two quaternions which are assumed to be used as orientations.
Definition: OgreQuaternion.h:257
Real valueRadians() const
Definition: OgreMath.h:61
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
Sets the colour buffer that the render system will to draw.
virtual void advanceFrame(void)
@ Texture
Definition: OgreResourceTransition.h:49
virtual void disableReflection(void)
Disables reflection modification previously turned on with enableReflection.
Real length() const
Returns the length (magnitude) of the vector.
Definition: OgreVector3.h:362
IndexRemap(size_t i, size_t f, const VertexSplit &s)
Definition: OgreTangentSpaceCalc.h:69
virtual void _setViewport(Viewport *vp)=0
Sets the provided viewport as the active one for future rendering operations.
virtual void unload()=0
Unload - will be called in main thread.
virtual void unmap(UnmapOptions unmapOption, size_t flushStartElem=0, size_t flushSizeElem=0)
Real getSpotlightNearClipDistance() const
Get the near clip plane distance to be used by spotlights that use light clipping.
Definition: OgreLight.h:345
virtual RenderWindow * createWindow(bool autoCreateWindow, GLES2RenderSystem *renderSystem, const String &windowTitle)=0
void deleteAllOutputParameters()
Delete all output parameters from this function.
@ ID_DEPTH_WRITE
Definition: OgreScriptCompiler.h:669
static const ArrayVector3 NEGATIVE_UNIT_X
Definition: C/OgreArrayVector3.h:349
bool hasNumericTrack(unsigned short handle) const
Does a track exist with the given handle?
@ UNLIT_BLEND_ADD
Definition: OgreHlmsUnlitPrerequisites.h:66
ShaderParameterList::iterator ShaderParameterIterator
Definition: OgreShaderParameter.h:369
void setVertexProgram(const String &name, bool resetParams=true)
Sets the details of the vertex program to use.
StereoModeType getStereoMode() const
const TextureVec * getCurrentPrePassDepthTexture(void) const
Definition: OgreSceneManager.h:1386
virtual StagingBuffer * createStagingBuffer(size_t sizeBytes, bool forUpload)=0
Creates a new staging buffer and adds it to the pool.
void setReceiveDynamicShadowsDepth(bool enabled)
Whether to use depth shadows (default false).
bool createShaderBasedTechnique(const String &materialName, const String &srcTechniqueSchemeName, const String &dstTechniqueSchemeName, bool overProgrammable=false)
Create shader based technique from a given technique.
@ ID_ADD_SMOOTH
Definition: OgreScriptCompiler.h:760
Class for serialising mesh data to/from an OGRE .mesh file.
Definition: OgreMesh2Serializer.h:99
Definition: OgreD3D9DepthBuffer.h:37
Real getInverseViewportHeight() const
Vector2(const Real fX, const Real fY)
Definition: OgreVector2.h:64
void setCorners(const Vector3 *corners)
Set the local coordinates of all of the portal corners.
bool hasTessellationHullProgram(void) const
Returns true if this pass uses a programmable tessellation control pipeline.
Definition: OgrePass.h:192
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
ColourValue getColour(void) const
Gets the current colour. The returned value is meaningless if mHasColour is false.
Definition: OgreHlmsUnlitDatablock.h:177
Ogre::uint32 CodePoint
Definition: OgreFont.h:138
void setUseVertexCompressionWhenAvailable(bool enable)
Set whether to allow vertex compression to be used when the material generator states that it support...
Definition: OgreTerrain.h:2112
ushort previousLodIndex
Previous level of detail index.
Definition: OgreLodListener.h:66
void setDetailMapWeight(uint8 detailMap, Real weight)
Sets the weight of detail map.
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a multi render target.
bool queryResult(SceneQuery::WorldFragment *fragment)
Self-callback in order to deal with execute which returns collection.
bool eof(void) const
Returns true if the stream has reached the end.
void _setRenderTarget(RenderTarget *target)
Set current render target to target, enabling its GL context if needed.
size_t calculateTotalNumObjectDataIncludingFragmentedSlots() const
This is the opposite of getTotalNumObjects.
CSGIntersectionSource(void)
Constructor, sets the sources to null.
A singleton manager class that manages shader based programs.
Definition: OgreShaderProgramManager.h:50
virtual ScriptTranslator * getTranslator(const AbstractNodePtr &node)
Returns a manager for the given object abstract node, or null if it is not supported.
@ PF_R8_UINT
8-bit pixel format, 8 bits red (unsigned int).
Definition: OgrePixelFormat.h:160
static void updateAllTransforms(const size_t numNodes, Transform t)
@See SceneManager::updateAllTransforms()
vector< HlmsProperty >::type HlmsPropertyVec
Definition: OgreHlmsCommon.h:146
virtual Viewport * getViewport(unsigned short index)
Retrieves a pointer to the viewport with the given index.
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
Definition: OgreNULLUavBufferPacked.h:56
virtual_l2 Quaternion _getDerivedOrientationUpdated(void)
Gets the orientation of the node as derived from all parents.
void setKeepParticlesInLocalSpace(bool keepLocal)
Setting carried over from ParticleSystem.
Definition: OgreHlmsUnlitMobileDatablock.h:76
~GLSLSeparableProgramManager(void)
const vector< Real >::type & getPssmSplits(size_t shadowMapIdx) const
@ PF_ASTC_RGBA_5X4_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 5x4)
Definition: OgrePixelFormat.h:263
virtual bool prequeueEntityMaterialLodChanged(EntityMaterialLodChangedEvent &evt)
Called before an entity's material LOD has changed.
Definition: OgreLodListener.h:190
void _deinitialise(void)
Tear down the internal structures of this Item, rendering it uninitialised.
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)=0
Copies a region from normal memory to a region of this pixelbuffer.
void _notifyAttached(Node *parent)
Delegated to by ParticleSystem::_notifyAttached.
static void optimizeForShadowMapping(VaoManager *vaoManager, const VertexArrayObjectArray &inVao, VertexArrayObjectArray &outVao)
Reads all the vertex & index buffer from all the LOD levels in inVao, optimizes the buffers for shado...
Standard implementation of a buffer allocator which re-uses buffers.
Definition: OgreTerrain.h:576
virtual void freeAllBuffers()=0
Free any buffers we're holding.
Parallel Split Shadow Map (PSSM) shadow camera setup.
Definition: OgreShadowCameraSetupPSSM.h:57
virtual void updateUniforms(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)=0
Updates program object uniforms using data from GpuProgramParameters.
Definition: OgreSceneManager.h:315
Quaternion extractQuaternion() const
Extracts the rotation / scaling part as a quaternion from the Matrix.
Definition: OgreMatrix4.h:552
void doSet(void *target, const String &val)
virtual void destroyBillboardChain(v1::BillboardChain *obj)
Removes & destroys a BillboardChain from the SceneManager.
virtual void bind(RenderTarget *target)=0
Bind a certain render target.
Definition: OgreEmscriptenEGLWindow.h:47
void destroySkeletonInstance(SkeletonInstance *skeletonInstance)
Destroys an instance of a skeleton created with @createSkeletonInstance.
@ GHA_LEFT
Definition: OgreOverlayElement.h:72
uint32 getHeight(void) const
Definition: OgreForwardClustered.h:124
virtual void autoUpdateLod(Terrain *terrain, bool synchronous, const Any &data)
Method to be called to change terrain's LOD level.
virtual void updateParams(const MaterialPtr &mat, const Terrain *terrain)=0
Update params for a terrain.
void setEntryPoint(const String &entryPoint)
Sets the entry point for this program ie the first method called.
Definition: OgreGLSLESCgProgram.h:70
@ ID_LESS
Definition: OgreScriptCompiler.h:676
virtual void setCurrent()
Enable the context.
uint32 bindFlags
Definition: OgreTextureDefinition.h:135
virtual void copyFrom(const SubRenderState &rhs)
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)=0
Copies a region of this pixelbuffer to normal memory.
SharedPtr< ControllerValue< Real > > ControllerValueRealPtr
Definition: OgreControllerManager.h:47
virtual void _applyBaseKeyFrame(const KeyFrame *base)
Internal method to re-base the keyframes relative to a given keyframe.
#define MAX_LIGHTS
Definition: OgreD3D9RenderSystem.h:40
static float halfToFloat(uint16 y)
Convert a float16 (NV_half_float) to a float32 Courtesy of OpenEXR.
Definition: OgreBitwise.h:352
String description
Definition: OgreStringInterface.h:70
@ NUM_STALL_TYPES
Definition: OgreStagingBuffer.h:52
iterator erase(iterator pos)
Definition: OgreCommon.h:612
float a
Definition: OgreColourValue.h:76
DataStreamPtr open(const String &filename, bool readOnly=true)
Open a stream on a given file.
virtual size_t calculateSize() const
Definition: OgreRenderSystemCapabilities.h:418
Handles the management of skeleton resources.
Definition: OgreSkeletonManager.h:51
void objectMoved(ObjectData &inOutObjectData, size_t oldRenderQueue, size_t newRenderQueue)
Requests memory for the given ObjectData to be moved to a different render queue, transferring existi...
@ RSC_CUBEMAPPING
Supports cube mapping.
Definition: OgreRenderSystemCapabilities.h:86
virtual void OldNodeAttached(const OldNode *)
OldNode has been attached to a parent.
Definition: OgreOldNode.h:100
Real x
Definition: OgreVector4.h:48
void _render(const v1::RenderOperation &op)
See RenderSystem.
UniformParameterList::iterator UniformParameterIterator
Definition: OgreShaderParameter.h:567
HlmsBufferManager(HlmsTypes type, const String &typeName, Archive *dataFolder, ArchiveVec *libraryFolders)
@ ACT_LIGHT_DISTANCE_OBJECT_SPACE_ARRAY
Array of distances of the lights from the center of the object a useful approximation as an alternati...
Definition: OgreGpuProgramParams.h:1088
Command object for red adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:49
CSGIntersectionSource(const Source *a, const Source *b)
Constructor.
StringVector textureNames
List of texture names to import; must match with TerrainLayerDeclaration.
Definition: OgreTerrain.h:306
virtual HighLevelGpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)=0
virtual void writeSourceCode(std::ostream &os, Program *program)=0
Write the program shader source code.
DefaultHardwareCounterBuffer(HardwareBufferManagerBase *mgr, size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer=false, const String &name="")
@ PF_A8B8G8R8
32-bit pixel format, 8 bits for blue, green, red and alpha.
Definition: OgrePixelFormat.h:77
bool renderOneFrame(void)
Render one frame.
void setEnableIncludeHeader(bool bEnable)
Whether we should parse the source code looking for include files and embedding the file.
void setSequenceTime(Real seqVal)
Set the sequence duration value manually.
T const_iterator
typedef to fulfill container interface
Definition: OgreIteratorRange.h:117
void * getDataPtr(size_t offset) const
Definition: OgreGLES2DefaultHardwareBufferManager.h:66
virtual void shutDown()=0
Shuts down Plugin.
vector< uint32 >::type freeSlots
Definition: OgreConstBufferPool.h:59
void _load(void)
Internal method for loading this object as part of Material::load.
virtual void clearScene(bool deleteIndestructibleToo, bool reattachCameras=true)
Empties the entire scene, inluding all SceneNodes, Entities, Lights, BillboardSets etc.
static ushort getIndex(Real value, const v1::Mesh::MeshLodUsageList &meshLodUsageList)
Get the index of the LOD usage which applies to a given value.
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
void setAmbientLightColour(const ColourValue hemispheres[2], const Vector3 &hemisphereDir)
VertexPoseKeyFrame * getVertexPoseKeyFrame(unsigned short index) const
Returns the pose KeyFrame at the specified index.
void load(const String &filename)
Load world data from a file.
@ LB_BlendNormal
Definition: OgreShaderExLayeredBlending.h:51
virtual v1::BillboardSet * createBillboardSet(unsigned int poolSize=20)
Creates a new BillboardSet for use with this scene manager.
int DisplayHeight(Display *nativeDisplayType, int screen)
String doGet(const void *target) const
void setOrientationMode(OrientationMode orientationMode, bool setDefault=true)
Set the orientation mode of the viewport.
@ FILTER_TRIANGLE
Definition: OgreImage.h:455
String mMaterialName
Name of the material this SubMesh uses.
Definition: OgreSubMesh2.h:97
void advancePack()
Advances all pointers to the next pack, i.e.
Definition: OgreObjectData.h:144
StreamSerialiser * _writeWorldStream(const String &filename)
Get a serialiser set up to write PagedWorld data.
uint32 packIndex(long x, long y) const
Convert coordinates to a packed integer index.
Real getSkirtSize() const
The default size of 'skirts' used to hide terrain cracks (default 10)
Definition: OgreTerrain.h:1943
Wrapper class which identifies a value as the currently default angle type, as defined by Math::setAn...
Definition: OgreMath.h:153
virtual size_t getVertexSize(unsigned short source) const
Gets the vertex size defined by this declaration for a given source.
void setReceiveDynamicShadowsLowLod(bool enabled)
Whether to use shadows on low LOD material rendering (when using composite map) (default false).
@ ID_SCROLL
Definition: OgreScriptCompiler.h:780
@ ID_COLOUR_WRITE
Definition: OgreScriptCompiler.h:703
~FreeOnDestructor()
Definition: OgreBufferPacked.h:122
DefaultPlaneBoundedVolumeListSceneQuery(SceneManager *creator)
static const IdString BlendModeIndex1
Definition: OgreHlmsPbs.h:386
ACDataType dataType
The type of any extra data.
Definition: OgreGpuProgramParams.h:1402
GLint convertCompareFunction(CompareFunction func) const
void uninstall()
Perform the final plugin uninstallation sequence.
unsigned long long uint64
Definition: OgrePlatform.h:461
uint height
Definition: OgreTextureDefinition.h:80
virtual const ContentList & getContentList() const
Get const access to the list of content.
Definition: OgreSimplePageContentCollection.h:90
friend class SharedPtr
Definition: OgreSharedPtr.h:119
DataStreamPtr create(const String &filename)
Create a new file (or overwrite one already there).
CompositorNodeTranslator()
unsigned int getSize()
Definition: OgreVertexIndexData.h:350
TerrainLayerBlendMap * getLayerBlendMap(uint8 layerIndex)
Retrieve the layer blending map for a given layer, which may be used to edit the blending information...
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
static ParameterPtr createInTexcoord4(int index, Parameter::Content content)
virtual void loadImage(const Image &img)
Loads the data from an image.
@ ACT_TRANSPOSE_WORLD_MATRIX
Provides transpose of world matrix.
Definition: OgreGpuProgramParams.h:902
virtual void setFSAA(uint fsaa, const String &fsaaHint)
Set the level of multisample AA to be used if hardware support it.
Definition: OgreD3D11RenderWindow.h:62
static size_t calculateLoadingStages(DataStreamPtr &stream)
Calculate the number of loading stages required for a given level.
Class representing a Bone in the join hierarchy of a skeleton.
Definition: OgreBone.h:62
HardwareBufferManagerBase * _getHardwareBufferManager(void) const
Definition: OgreVertexIndexData.h:283
Represents the instance of a Skeletal animation based on its definition.
Definition: OgreSkeletonAnimation.h:55
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
Definition: OgrePageContent.h:71
virtual const String & getType() const
virtual ~BoneMemoryManager()
static uint32 slotToBlockIdx(uint32 slotIdx)
Converts a "Slot index" to a block index.
Definition: OgreSkeletonDef.h:177
@ FO_POINT
Use the closest pixel.
Definition: OgreCommon.h:240
static CmdRedAdjust2 msRedCmd2
Definition: OgreColourFaderAffector2.h:187
virtual_l1 ManualObjectSection * end(void)
Finish defining the object and compile the final renderable version.
virtual void getWorldTransforms(Matrix4 *xform) const
Overridden from MovableObject.
virtual bool isConstParameter() const
Returns true if this instance is a ConstParameter otherwise false.
Definition: OgreShaderParameter.h:338
@ SPC_LIGHTDIRECTION_OBJECT_SPACE3
Definition: OgreShaderParameter.h:170
Definition: OgreExternalTextureSource.h:99
virtual RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
void boxIntersects(const AxisAlignedBox &box, TerrainList *resultList) const
Test intersection of a box with the terrain.
uint16 depthBufferId
Definition: OgreTextureDefinition.h:92
@ NMS_TANGENT
Definition: OgreShaderExNormalMapLighting.h:111
void doSet(void *target, const String &val)
@ ACT_INVERSE_VIEWPROJ_MATRIX
Provides inverse of concatenated view and projection matrices.
Definition: OgreGpuProgramParams.h:950
void beginOcclusionQuery()
ConstMapIterator< TerrainSlotMap > ConstTerrainIterator
Definition: OgreTerrainGroup.h:462
static const IdString FwdClusteredLightsPerCell
Definition: OgreHlms.h:840
void initialiseExtensions()
GL3PlusSupport::initialiseExtensions
void setWorldGeometryRenderQueue(uint8 qid)
Overridden from SceneManager.
void setSpecular(const ColourValue &specular)
Sets the specular colour reflectance properties of every Pass in every Technique.
virtual void position(Real x, Real y, Real z)
Add a vertex position, starting a new vertex at the same time.
OperationType operationType
Definition: OgreHlmsPso.h:169
virtual Real getSquaredRenderingDistance(void) const
Gets the squared distance at which batches are no longer rendered.
Definition: OgreStaticGeometry.h:628
String getValue() const
Returns a string value depending on the type of the AbstractNode.
const String & getSchemeName(void) const
Returns the scheme to which this technique is assigned.
const TexturePtr & getUavTexture(uint8 slotIdx) const
virtual void setPreferredBitDepths(ushort integerBits, ushort floatBits, bool reloadTextures=true)
Sets preferred bit depth for integer and float pixel format.
@ PF_A8
8-bit pixel format, all bits alpha.
Definition: OgrePixelFormat.h:54
void resize(const AxisAlignedBox &box)
Resizes the octree to the given size.
Definition: OgreComPtr.h:90
virtual const AxisAlignedBox & getBoundingBox(void) const
const TextureUnitState * getTextureUnitState(const String &name) const
Retrieves the Texture Unit State matching name.
void setTexture(PbsMobileTextureTypes texType, TexturePtr &newTexture, const PbsUvAtlasParams &atlasParams)
Sets a new texture for rendering.
static const Aabb BOX_INFINITE
Definition: C/OgreAabb.h:165
virtual void _notifyStaticDirty(void) const
Called by SceneManager when it is telling we're a static node being dirty Don't call this directly.
const ShaderFunctionList & getFunctions() const
Get the function list of this program.
Definition: OgreShaderProgram.h:137
virtual void _render(const CbDrawCallIndexed *cmd)=0
Renders the VAO. Assumes _setVertexArrayObject has already been called.
Vertex Array Objects do not need to change when: The same (internal) vertex buffer is still bound.
Definition: OgreMultiSourceVertexBufferPool.h:62
VertexData * clone(bool copyData=true, HardwareBufferManagerBase *mgr=0) const
Clones this vertex data, potentially including replicating any vertex buffers.
@ PARTIAL
Definition: OgreOctreeCamera.h:66
Instancing implementation using vertex texture through Vertex Texture Fetch (VTF) and hardware instan...
Definition: OgreInstanceBatchHW_VTF.h:62
static const IdString DetailOffsetsD2
Definition: OgreHlmsPbsMobile.h:129
TexBufferPacked * gridBuffer
Definition: OgreForwardPlusBase.h:64
void bindGpuProgramPassIterationParameters(GpuProgramType gptype)
See RenderSystem.
void doSet(void *target, const String &val)
int getMask() const
Returns the mask bitfield.
Definition: OgreShaderFunctionAtom.h:139
@ PBSM_BLEND_GRAIN_MERGE
Definition: OgreHlmsPbsPrerequisites.h:92
ResourceToTexExtensionMap mAdditionalTextureExtensionsPerGroup
Definition: OgreHlmsManager.h:119
void _notifyRenderedBatches(unsigned int numbatches)
Internal method to notify camera of the visible batches in the last render.
struct zzip_dir ZZIP_DIR
Definition: OgreZip.h:39
@ GCT_SAMPLER3D
Definition: OgreGpuProgramParams.h:74
@ SPC_LIGHTPOSITIONVIEW_SPACE3
Definition: OgreShaderParameter.h:230
static String Type
Definition: OgreShaderExTextureAtlasSampler.h:165
Atom message_type
Definition: OgreX11EGLSupport.h:94
static const ArrayMatrixAf4x3 IDENTITY
Definition: C/OgreArrayMatrixAf4x3.h:184
void grow(size_t MinSize=0)
grow - double the size of the allocated memory, guaranteeing space for at least one more element or M...
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:379
VEdges edges
Definition: OgreLodData.h:103
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
@ ST_GENERIC
Definition: OgreSceneManager.h:3316
virtual void frameEnded(void)
Called when the frame has fully ended (ALL passes have been executed to all RTTs)
void setCorner(int index, const Vector3 &point)
Set the local coordinates of one of the portal corners.
const String & getQueuedAsString() const
Returns a string representing the parsed material(s)
Summary class collecting together vertex source information.
Definition: OgreVertexIndexData.h:51
Real getRadiusOrigin() const
Returns the radius of a sphere enclosing the aabb from origin as center.
static FontManager & getSingleton(void)
Override standard Singleton retrieval.
vector< TexturePtr >::type TextureVec
Definition: OgreHlmsPbs.h:53
GLSL ES target language writer implementation.
Definition: OgreShaderGLSLESProgramWriter.h:54
void finaliseDeltaValues(const Rect &rect)
Promote the delta values calculated to the runtime ones (this must be called in the main thread).
list< WireBoundingBox * >::type BoxList
Definition: OgreOctreeSceneManager.h:53
virtual void _detachDepthBuffer()
ushort newLodIndex
New level of detail index.
Definition: OgreLodListener.h:69
bool hasSeparateFresnel(void) const
Whether the same fresnel term is used for RGB, or individual ones for each channel.
void Reset() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:231
virtual void removeAllChildren(void)
Removes all child Nodes attached to this node.
@ ACT_SURFACE_SPECULAR_COLOUR
Surface specular colour, as set in Pass::setSpecular.
Definition: OgreGpuProgramParams.h:1011
void setVertexBufferBinding(VertexBufferBinding *binding, size_t numberOfInstances, bool useGlobalInstancingVertexBufferIsAvailable, bool indexesUsed)
UniformParameterPtr resolveParameter(GpuConstantType type, int index, uint16 variability, const String &suggestedName, size_t size=0)
Resolve uniform parameter of this program.
TextureUnitState * getTextureUnitState(const String &name)
Retrieves the Texture Unit State matching name.
virtual VertexDeclaration * createVertexDeclaration(void)
Definition: OgreHardwareBufferManager.h:477
static const IdString NormalWeightTex
Definition: OgreHlmsPbs.h:351
GLSLProgramManager(const GL3PlusSupport &support)
virtual void swapBuffers(void)
Swaps the frame buffers to display the next frame.
void clearTextureMetadataCache(void)
virtual bool setStatic(bool bStatic)
Turns this Node into static or dynamic.
void setName(const String &name)
Sets a custom name for this node.
Definition: OgreMovableObject.h:185
virtual void _saveJson(const HlmsDatablock *datablock, String &outString, HlmsJsonListener *listener, const String &additionalTextureExtension) const
bool mSeparateBlend
Used to determine if separate alpha blending should be used for color and alpha channels.
Definition: OgreHlmsDatablock.h:170
void createRenderTexture()
static MeshManager & getSingleton(void)
Override standard Singleton retrieval.
long y
Definition: OgreTerrainGroup.h:326
static GLsync waitFor(GLsync fenceName)
Will stall undefinitely until GPU finishes (signals the sync object).
bool addRenderWindow(D3D11RenderWindowBase *renderWindow) const
const Vector3 getCorner3(void) const
Gets the coordinate of corner 3.
Definition: OgreVolumeOctreeNode.h:472
void setMaxSupportedAnisotropy(Real s)
Set the maximum supported anisotropic filtering.
Definition: OgreRenderSystemCapabilities.h:779
static const IdString UsePlanarReflections
Definition: OgreHlmsPbs.h:348
bool sharesSkeletonInstance() const
Returns whether this entity shares it's SkeltonInstance with other entity instances.
Definition: OgreEntity.h:567
static const IdString BlendModeIndex14
Definition: OgreUnlitProperty.h:123
virtual v1::InstanceManager * createInstanceManager(const String &customName, const String &meshName, const String &groupName, v1::InstanceManager::InstancingTechnique technique, size_t numInstancesPerBatch, uint16 flags=0, unsigned short subMeshIdx=0)
Creates an InstanceManager interface to create & manipulate instanced entities You need to call this ...
void _notifyWorldGeometryStageStarted(const String &description)
Notify this manager that one stage of world geometry loading has been started.
@ PF_BYTE_BGRA
4 byte pixel format, 1 byte for blue, 1 byte for green, 1 byte for red and one byte for alpha
Definition: OgrePixelFormat.h:103
DefaultSphereSceneQuery(SceneManager *creator)
void _addChild(OverlayElement *elem)
bool isReloadable(void) const
Returns true if the Resource is reloadable, false otherwise.
Real inputBias
How to bias the input values provided (if any)
Definition: OgreTerrain.h:390
TrackVertexColourEnum
Definition: OgreCommon.h:323
MapIterator< Ogre::RenderTargetMap > RenderTargetIterator
Iterator over RenderTargets.
Definition: OgreRenderSystem.h:558
void() ImageDownsampler2D(uint8 *dstPtr, uint8 const *srcPtr, int32 dstWidth, int32 dstHeight, int32 srcWidth, const uint8 kernel[5][5], const int8 kernelStartX, const int8 kernelEndX, const int8 kernelStartY, const int8 kernelEndY)
Range is [kernelStart; kernelEnd].
Definition: OgreImageDownsampler.h:50
virtual int32 getCellRangeMinX() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:163
bool isHidden() const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreD3D11RenderWindow.h:65
void _setTextureBlendMode(size_t unit, const LayerBlendModeEx &bm)
Sets the texture blend modes from a TextureUnitState record.
RenderWindow()
Default constructor.
float getAlphaAdjust2(void) const
vector< TerrainLayerSampler >::type TerrainLayerSamplerList
Definition: OgreTerrainMaterialGenerator.h:125
@ OPT_2
Optimisation level 2.
Definition: OgreD3D9HLSLProgram.h:158
VectorImpl::iterator iterator
Definition: OgreCommon.h:483
XVisualInfo * XGetVisualInfo(Display *nativeDisplayType, int mask, XVisualInfo *info, int *n)
@ SPC_POSTOLIGHT_WORLD_SPACE7
Definition: OgreShaderParameter.h:144
Real getBoundsPaddingFactor(void)
Gets the factor by which the bounding box of an entity is padded.
static const IdString UvCount1
Definition: OgreHlms.h:791
const LightList & getLights(void) const
Overridden from Renderable.
virtual bool isFormatSupported(TextureType ttype, PixelFormat format, int usage)
Returns whether this render system can natively support the precise texture format requested with the...
Specialisation of HighLevelGpuProgram to encapsulate shader objects obtained from compiled shaders wr...
Definition: OgreGLSLShader.h:62
virtual void _beginUpdate()
Method for manual management of rendering : fires 'preRenderTargetUpdate' and initialises statistics ...
Definition: OgreD3D11Mappings.h:40
LodStrategy(const String &name)
Constructor accepting name.
void addFrame(Real frames)
Plays the animation forward (or backwards if negative)
virtual Item * createItem(const String &meshName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME, SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Create an Item (instance of a discrete mesh).
void findNodesIn(const AxisAlignedBox &box, PCZSceneNodeList &list, PCZone *startZone, PCZSceneNode *exclude=0)
Recurses the scene, adding any nodes intersecting with the box into the given list.
void exportMesh(const Mesh *pMesh, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the file specified.
static void registerCodec(Codec *pCodec)
Registers a new codec in the database.
Definition: OgreCodec.h:81
void setLayerSpecularMappingEnabled(bool enabled)
Whether to support specular mapping per layer in the shader (default true).
@ LB_BlendAverage
Definition: OgreShaderExLayeredBlending.h:55
@ ID_COMPUTE
Definition: OgreScriptCompiler.h:982
virtual Real getTimeToLive(void) const
Gets the time each particle will live for.
SourceModifier sourceModifier
Definition: OgreShaderExLayeredBlending.h:100
virtual PagedWorldSection * createInstance(const String &name, PagedWorld *parent, SceneManager *sm)=0
String validateConfigOptions()
Validates the options set for the rendering system, returning a message if there are problems.
void setLength(Real len)
Sets the length of the animation.
GpuProgramParametersSharedPtr computeParams
Definition: OgreHlmsPso.h:299
void setDefiner(TerrainDefiner *terrainDefiner)
Definition: OgreTerrainPagedWorldSection.h:168
@ VRM_CONSTANT
Exact vertex count to be removed from each submesh.
Definition: OgreLodConfig.h:72
MemoryDataStream(DataStreamPtr &sourceStream, bool freeOnClose=true, bool readOnly=false)
Create a stream which pre-buffers the contents of another stream.
void loadPage(PageID pageID, bool forceSynchronous=false)
Overridden from PagedWorldSection.
int member
Definition: OgreComPtr.h:189
static const uint32 CHUNK_SECTIONDECLARATION_ID
Definition: OgrePagedWorld.h:65
ResourceAccess::ResourceAccess access
Definition: OgreCompositorPassUavDef.h:65
bool validateScheme(const String &schemeName)
Validate a given scheme.
virtual bool isHardwareFilteringSupported(TextureType ttype, PixelFormat format, int usage, bool preciseFormatOnly=false)
Returns whether this render system has hardware filtering supported for the texture format requested ...
PackingMethod packingMethod
Definition: OgreHlmsTextureManager.h:102
void _createInternalResources(NativeWindowType window)
Atom mAtomDeleteWindow
Definition: OgreX11EGLSupport.h:160
@ M_SUBMESH_LOD
Definition: OgreMeshFileFormat.h:75
virtual void setCellSize(const Vector3 &sz)
Set the size of the cells in the grid.
void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest, bool forGpuProgram=false)
See RenderSystem.
String materialName
Definition: OgreStaticGeometry.h:166
virtual_l1 const SceneNode * getSceneNode(IdType id) const
D3D11StereoDriverBridge(StereoModeType stereoMode)
Definition: OgreGLES2VaoManager.h:38
@ IM_USEBONEDUALQUATERNIONS
Definition: OgreCommon.h:388
bool intersects(const Segment &) const
virtual void regressFrame(void)=0
const String & getType(void) const
Return the type code of this Archive.
Definition: OgreArchive.h:219
void _oneTimeContextInitialization()
One time initialization for the RenderState of a context.
PixelFormat pixelFormat
Definition: OgreCompositorPassUavDef.h:67
PixelBox getSubVolume(const Box &def, bool resetOrigin=true) const
Return a subvolume of this PixelBox.
@ ACT_FOG_PARAMS
Fog params: density, linear start, linear end, 1/(end-start)
Definition: OgreGpuProgramParams.h:1003
@ GCT_BOOL3
Definition: OgreGpuProgramParams.h:113
virtual bool addRenderWindow(D3D11RenderWindowBase *renderWindow)=0
virtual void _setRenderOperation(const v1::CbRenderOp *cmd)
T operator-=(const T &sub)
Definition: OgreAtomicObject.h:108
Real getRadius() const
Returns the radius of a sphere enclosing the aabb from the outside at center mCenter.
String getValue() const
Returns a string value depending on the type of the AbstractNode.
const HlmsTextureManager::MetadataCacheEntry * getMetadataCacheEntry(IdString aliasName) const
Retrieves an entry in the metadata cache that was loaded via HlmsTextureManager::importTextureMetadat...
virtual void _validateAndFinish(void)
Checks that paremeters are correctly set, and finalizes whatever needs to be done,...
PixelBox * calculateLightmap(const Rect &rect, const Rect &extraTargetRect, Rect &outFinalRect)
Calculate (or recalculate) the terrain lightmap.
@ PF_D24_UNORM
Depth texture format 24 bits for depth.
Definition: OgrePixelFormat.h:344
void setTransparencyCastsShadows(bool enabled)
Sets whether objects using this material be classified as opaque to the shadow caster system.
Definition: OgreMaterial.h:191
virtual void getBestDepthStencil(GLenum internalFormat, GLenum *depthFormat, GLenum *stencilFormat)
Definition: OgreGLES2RenderTexture.h:86
size_t getPoolIndex(ConstBufferPoolUser *user) const
Gets an ID corresponding to the pool this user was assigned to, unique per hash.
virtual TerrainGroup * getTerrainGroup()
Get the TerrainGroup which this world section is using.
Definition: OgreTerrainPagedWorldSection.h:107
IndirectBufferPacked * createIndirectBuffer(size_t sizeBytes, BufferType bufferType, void *initialData, bool keepAsShadow)
Creates an indirect buffer.
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:221
const String & getType(void) const
Get the type of the object to be created.
Handles the management of skeleton resources.
Definition: OgreOldSkeletonManager.h:53
@ MEMCATEGORY_COUNT
Definition: OgreMemoryAllocatorConfig.h:180
HlmsComputeJob * clone(const String &cloneName)
HWND getWindowHandle() const
Definition: OgreWin32Window.h:64
TriangleLightFacingList triangleLightFacings
Triangle light facing states.
Definition: OgreEdgeListBuilder.h:130
void doSet(void *target, const String &val)
FileHandleDataStream(const String &name, FILE *handle, uint16 accessMode=READ)
Create named stream from a C file handle.
Command object for setting macro defines.
Definition: OgreD3D9HLSLProgram.h:62
virtual void _update(void)
ConstAnimationStateIterator getAnimationStateIterator(void) const
Get an iterator over all the animation states in this set.
@ PT_LONG
Definition: OgreStringInterface.h:55
virtual PageContent * createContent(const String &typeName)
Create a new PageContent within this collection.
virtual ~Quake3ShaderManager()
virtual_l1 void colour(Real r, Real g, Real b, Real a=1.0f)
Add a vertex diffuse colour to a vertex.
Class defining a generic OGRE plugin.
Definition: OgrePlugin.h:80
const FloatRect & getTexcoordRect(void) const
getTexcoordRect() returns the previous value set by setTexcoordRect().
Definition: OgreBillboard.h:219
void _updateAnimation(void)
Advanced method to perform all the updates required for an animated entity.
StrideChanger(size_t _offsetAfterPadding, size_t _paddedBytes)
Definition: OgreD3D11VaoManager.h:60
virtual ~NULLTextureManager()
const DoubleConstantList & getDoubleConstantList() const
Get a reference to the list of double constants.
Definition: OgreGpuProgramParams.h:1899
PCZSceneNode(SceneManager *creator, const String &name)
Standard constructor.
@ GCT_MATRIX_3X4
Definition: OgreGpuProgramParams.h:85
const_iterator begin() const
Definition: OgreCommon.h:504
StereoModeType
Defines the stereo mode types.
Definition: OgreCommon.h:357
SceneManager * _getManager(void) const
Get the manager of this object, if any (internal use only)
Definition: OgreMovableObject.h:166
virtual ~MeshSerializerImpl()
void setDeviceName(const String &name)
sets the device name for Render system
Definition: OgreRenderSystemCapabilities.h:673
virtual void eventOccurred(const String &eventName, const NameValuePairList *parameters=0)=0
A rendersystem-specific event occurred.
@ ID_OUT_BUFFER
Definition: OgreScriptCompiler.h:823
bool suggestTangentVectorBuildParams(VertexElementSemantic targetSemantic, unsigned short &outSourceCoordSet, unsigned short &outIndex)
Ask the mesh to suggest parameters to a future buildTangentVectors call, should you wish to use textu...
Vector3 getDiffuse(void) const
const ParameterList & getParameters(void) const
Retrieves a list of parameters valid for this object.
Definition: OgreStringInterface.h:143
@ ID_ALLOW_WRITE_AFTER_WRITE
Definition: OgreScriptCompiler.h:860
Structure for automatic Lod configuration.
Definition: OgreLodConfig.h:51
Bone * getParentBone(void) const
Gets this Bones's parent (NULL if no parent).
Definition: Animation/OgreTagPoint.h:119
virtual ~ShaderProgramWriterGLSLESFactory()
Definition: OgreShaderGLSLESProgramWriter.h:145
ScriptingAllocatedObject AbstractNodeAlloc
Definition: OgreMemoryAllocatorConfig.h:295
void setFadeAttenuationRange(bool fade)
Attenuates the light by the attenuation range, causing smooth endings when at the end of the light ra...
Definition: OgreForwardPlusBase.h:211
virtual ~D3D11DepthPixelBuffer()
float mVpTop
Definition: OgreCompositorPassDef.h:95
@ RSC_VAO
Support for Vertex Array Objects (VAOs)
Definition: OgreRenderSystemCapabilities.h:239
virtual Real getShadowDirLightTextureOffset(void) const
Gets the proportional distance which a texture shadow which is generated from a directional light wil...
Definition: OgreSceneManager.h:2780
void destroyWorldSection(PagedWorldSection *s)
Destroy an instance of PagedWorldSection.
Per pixel Lighting extension sub render state implementation.
Definition: OgreShaderExPerPixelLighting.h:60
PCZone * getDefaultZone(void)
Get the default zone.
Definition: OgrePCZSceneManager.h:279
DatablockEntry()
ResourceGroup in which it was defined, if any.
Definition: OgreHlms.h:100
IdString mPrePassSsrTexture
Definition: OgreCompositorPassSceneDef.h:93
@ FOG_NONE
No fog. Duh.
Definition: OgreCommon.h:259
static bool findFirstAppearance(const VertexArrayObjectArray &vao, const VertexBufferPacked *vertexBuffer, size_t &outVaoIdx, size_t &outVertexBufferIdx)
Finds the first occurence of 'vertexBuffer' pointer in vao, and returns its indexes so that vao[outVa...
virtual bool eof() const
Reports whether the stream is at the end of file.
Real timeSinceLastEvent
Elapsed time in seconds since the last event.
Definition: OgreFrameListener.h:53
String doGet(const void *target) const
VectorIterator< GeometryBucketList > GeometryIterator
Iterator over geometry.
Definition: OgreStaticGeometry.h:296
@ Uav
After the barrier, data can be used as an UAV.
Definition: OgreResourceTransition.h:97
void dirtyNodeByMovingPortals(void)
Mark nodes dirty base on moving portals.
virtual bool hasManualBones(void) const
Are there any manually controlled bones?
Definition: OgreSkeleton.h:360
@ INTERSECT_BACK_NO_CROSS
Definition: OgrePortalBase.h:166
void _setTwin(SceneMemoryMgrTypes memoryManagerType, NodeMemoryManager *twinMemoryManager)
@See mMemoryManagerType
const String & getShaderCachePath() const
Get the output shader cache path.
Definition: OgreShaderGenerator.h:198
void _notifyIndexBufferDestroyed(HardwareIndexBuffer *buf)
Notification that a hardware index buffer has been destroyed.
Definition: OgreHardwareBufferManager.h:554
virtual void getRenderOperation(RenderOperation &op)
Get the render operation for this buffer.
@ SHADER_NOCULL
Definition: OgreQuake3Types.h:86
virtual bool queryIsTransferDone(void)
Definition: OgreAsyncTicket.h:81
virtual void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)=0
Clears one or more frame buffers on the active render target.
virtual bool setStatic(bool bStatic)
Turns this Node into static or dynamic.
Definition: OgreUnlitProperty.h:41
Camera * getDefaultCamera() const
Gets the default camera passed through mDefaultViewport.
Definition: OgreCompositorWorkspace.h:302
uint8 mDefaultRenderQueueId
Definition: OgreOverlayManager.h:71
bool load(StreamSerialiser &stream)
Load this data from a stream (returns true if successful)
virtual void addBufferInput(size_t inputChannel, IdString name)
Buffers.
virtual void execute(const Camera *lodCamera)
void finaliseNormals(const Rect &rect, PixelBox *normalsBox)
Finalise the normals.
void _applyAnimation(const TransformArray &boneTransforms)
virtual void _notifyOrigin(const String &origin)
Notify this resource of it's origin.
Definition: OgreResource.h:440
ChunkParameters * parameters
The parameters with which the chunktree got loaded.
Definition: OgreVolumeChunk.h:121
virtual ResourcePtr getByHandle(ResourceHandle handle)
Retrieves a pointer to a resource by handle, or null if the resource does not exist.
vector< PlaneBoundedVolume >::type PlaneBoundedVolumeList
Definition: OgrePlaneBoundedVolume.h:128
bool isAutoDepthStencil() const
@ SHADOWMAP_UNIFORM
Definition: OgreCompositorShadowNodeDef.h:49
virtual void copyData(HardwareBuffer &srcBuffer)
Copy all data from another buffer into this one.
Definition: OgreHardwareBuffer.h:300
multimap< Real, Vertex * >::type CollapseCostHeap
Definition: OgreLodData.h:57
IdString getName(void) const
Definition: OgreCompositorWorkspaceDef.h:129
@ ACT_DERIVED_LIGHT_SPECULAR_COLOUR_ARRAY
Array of derived light specular colours (count set by extra param)
Definition: OgreGpuProgramParams.h:1128
VectorImpl::size_type size_type
Definition: OgreCommon.h:481
ColourBufferType getDrawBuffer() const
Returns the current colour buffer type for this viewport.
const void * _mapForRead(size_t offset, size_t sizeBytes)
Maps the buffer for read acces for the CPU.
Definition: OgreHlmsTexturePack.h:48
IdString keyName
Definition: OgreHlmsCommon.h:134
const String & getResourceGroup(void) const
Gets the resource group of the ultimate parent Material.
virtual ~SkeletonSerializer()
virtual void setRenderQueueGroup(uint8 queueID)=0
Sets which render queue group this renderer should target with it's output.
virtual void setPoolSize(size_t size)
Adjusts the size of the pool of billboards available in this set.
LockOptions
Locking options.
Definition: OgreHardwareBuffer.h:123
unsigned short getNumPasses(void) const
Retrieves the number of passes.
Radian & operator*=(Real f)
Definition: OgreMath.h:76
BasicBlock const *const * _getBlocks(const HlmsBasicBlock &blockType) const
Gets all blocks of a given type.
Default implementation of PlaneBoundedVolumeListSceneQuery.
Definition: OgreSceneManager.h:3275
vector< TexturePtr >::type TexturePtrList
Definition: OgreGL3PlusTextureManager.h:41
virtual void _addAntiPortal(AntiPortal *newAntiPortal)
Add an anti portal to the zone.
@ PT_VECTOR3
Definition: OgreStringInterface.h:58
PerPixelLighting()
Class default constructor.
bool getPointSpritesEnabled(void) const
Returns whether point sprites are enabled when rendering a point list.
SubItem * getSubItem(size_t index)
Gets a pointer to a SubItem, ie a part of an Item.
static const IdString DiffuseMapCount7
Definition: OgreHlmsUnlitMobile.h:115
String doGet(const void *target) const
Real minTimeMillisecs
The minimum frame time this profile has taken in milliseconds.
Definition: OgreProfiler.h:277
void anchorToHomeZone(PCZone *zone)
PortalList mPortals
List of Portals which this zone contains (each portal leads to another zone)
Definition: OgrePCZone.h:250
virtual ~ConstBufferPool()
static const IdString NumArrayTextures
Number of texture arrays actually baked.
Definition: OgreUnlitProperty.h:65
map< String, RenderTarget * >::type RenderTargetMap
Definition: OgreRenderSystem.h:56
Real mVplLinearAtten
Definition: OgreInstantRadiosity.h:203
static const IdString LightsPoint
Definition: OgreHlms.h:802
@ TEXCALC_PROJECTIVE_TEXTURE
Projective texture.
Definition: OgreRenderSystem.h:71
PCZone * getTargetZone()
Get the Zone the Portal connects to.
Definition: OgrePortal.h:62
const WorldSectionFactoryMap & getWorldSectionFactories() const
Get a reference to the registered strategies.
void removeNode(PCZSceneNode *)
Removes all references to a SceneNode from this Zone.
virtual const Element & getChainElement(size_t chainIndex, size_t elementIndex) const
Get the detail of a chain element.
A staging buffer is a buffer that resides on the GPU and be written to/from both CPU & GPU However th...
Definition: OgreNULLStagingBuffer.h:46
Concrete IteratorWrapper for const access to the underlying key-value container.
Definition: OgreIteratorWrapper.h:352
int int32
Definition: OgrePlatform.h:453
bool hasSceneManager(const String &instanceName) const
Identify if a SceneManager instance already exists.
size_t calculateMaxNumInstances(const SubMesh *baseSubMesh, uint16 flags) const
virtual bool frameStarted(const FrameEvent &evt)
Overridden from FrameListener.
void setWidth(uint32 w)
Set the width of the texture; can only do this before load();.
Definition: OgreTexture.h:249
const char * toString(ResourceAccess value)
@ PF_ASTC_SRGB8A8_8X8_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 8x8)
Definition: OgrePixelFormat.h:303
AtomicObject(const T &initial)
Definition: OgreAtomicObject.h:47
void updateDebugDisplay(Page *p, SceneNode *sn)
Update the contents of the passed in SceneNode to reflect the debug display of a given page.
virtual bool supportsPCZoneType(const String &zoneType)=0
virtual void unsetBinding(unsigned short index)
Removes an existing binding.
vector< Edge >::type EdgeList
Definition: OgreEdgeListBuilder.h:100
int visualid
Definition: OgreX11EGLSupport.h:85
Vector3 position
Definition: OgreStaticGeometry.h:178
@ M_MESH_LOD_MANUAL
Definition: OgreMeshFileFormat.h:245
void clearAll(void)
Clears everything: All node aliases, and their connections (including output connection).
@ ENV_CURVED
Envmap based on dot of vector from camera to vertex and vertex normal, good for curves.
Definition: OgreTextureUnitState.h:99
const uint * getUnsignedIntPointer(size_t pos) const
Get a pointer to the 'nth' item in the uint buffer.
Definition: OgreGpuProgramParams.h:1915
static GLSLMonolithicProgramManager * getSingletonPtr(void)
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
virtual void _removeAntiPortal(AntiPortal *removeAntiPortal)
Remove an anti portal from the zone.
virtual String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
size_t getInstanceDataStepRate() const
Get the number of instances to draw using the same per-instance data before advancing in the buffer b...
size_t physicalIndex
The target (physical) constant index.
Definition: OgreGpuProgramParams.h:1421
GL3PlusTexBufferEmulatedPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, GL3PlusBufferInterface *bufferInterface, Ogre::PixelFormat pf)
BspIntersectionSceneQuery(SceneManager *creator)
const String & getSkeletonName(void) const
Gets the name of any linked Skeleton.
Definition: OgreX11EGLSupport.h:95
Definition: OgrePrerequisites.h:719
Real inputScale
How to scale the input values provided (if any)
Definition: OgreTerrain.h:388
static CommandBufferExecuteFunc execute_drawCallStrip
Definition: OgreCommandBuffer.h:73
@ STALL_PARTIAL
Next map call will cause a stall.
Definition: OgreStagingBuffer.h:45
static const String & getPointLightExtruderVs_1_1Finite(void)
Get FINITE extruder program source for point lights, compatible with vs_1_1.
Definition: OgreShadowVolumeExtrudeProgram.h:283
virtual void passEventRaised(MaterialSerializer *ser, SerializeEvent event, bool &skip, const Pass *pass)
Called when pass section event raised.
Definition: OgreMaterialSerializer.h:111
PixelFormat getNativeFormat(TextureType ttype, PixelFormat format, int usage)
Gets the format which will be natively used for a requested format given the constraints of the curre...
Abstract class defining a query which returns single results from a region.
Definition: OgreSceneQuery.h:216
@ ACT_SURFACE_SHININESS
Surface shininess, as set in Pass::setShininess.
Definition: OgreGpuProgramParams.h:1015
String getBottomLeftBorderUVString() const
ArrayReal mChunkBase[16]
Definition: C/OgreArrayMatrix4.h:72
ChannelRouteList & _getChannelRoutes(void)
Gets direct access to the channel route (aka the interconnections between all of our nodes).
Definition: OgreCompositorWorkspaceDef.h:248
UpdateLodRequest(uint8 _firstRq, uint8 _lastRq, const ObjectMemoryManagerVec *_objectMemManager, const Camera *_camera, const Camera *_lodCamera, Real _lodBias)
Definition: OgreSceneManager.h:200
StringStream stringstream
Definition: OgrePrerequisites.h:562
QuadTextureSource(size_t _texUnitIdx, IdString _textureName, size_t _mrtIndex)
Definition: OgreCompositorPassQuadDef.h:60
static SkeletonManager & getSingleton(void)
Override standard Singleton retrieval.
virtual void remove(const String &name)
Remove a single resource by name.
@ SHOW_BOUNDINGBOX
Makes each batch to display it's bounding box. Useful for debugging or profiling.
Definition: OgreInstanceManager.h:83
String doGet(const void *target) const
void setDesiredDepthBufferFormat(PixelFormat desiredDepthBufferFormat)
Set the desired depth buffer format.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:53
GLES2Context * _getMainContext()
Returns the main context.
Definition: OgreGLES2RenderSystem.h:451
void endGPUEvent(const String &event)
Mark the end of a GPU event group.
size_t vertexSet
The vertex set these vertices came from.
Definition: OgreEdgeListBuilder.h:65
static bool readLayerDeclaration(StreamSerialiser &ser, TerrainLayerDeclaration &targetdecl)
Utility method to read a layer declaration from a stream.
const CompositorChannelVec & getInputChannel() const
Definition: OgreCompositorNode.h:217
SmallVector(unsigned Size, const T &Value=T())
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:951
int vert_start
Definition: OgreQuake3Types.h:189
virtual Listener * getListener(void) const
Gets the current listener for this OldNode.
Definition: OgreOldNode.h:645
virtual ~GLSLESCgProgramFactory()
bool operator<(SharedPtr< T > const &a, SharedPtr< U > const &b)
Definition: OgreSharedPtr.h:363
virtual bool isSkyBoxEnabled(void) const
Return whether a skybox is enabled.
Definition: OgreSceneManager.h:2267
@ CAPS_CATEGORY_COMMON_3
Definition: OgreRenderSystemCapabilities.h:64
void setColumnMajorMatrices(bool columnMajor)
Sets whether matrix packing in column-major order.
Definition: OgreD3D9HLSLProgram.h:188
virtual ~Listener()
Need virtual destructor in case subclasses use it.
Definition: OgreResourceBackgroundQueue.h:104
void setAdjust1(float red, float green, float blue, float alpha=0.0)
Sets the colour adjustment to be made per second to particles.
uint32 mHash
Definition: OgreIdString.h:99
virtual void _freeUnusedBufferCopies(void)
Free all unused vertex buffer copies.
Definition: OgreHardwareBufferManager.h:528
virtual void defineTerrain(long x, long y, const Image *img, const Terrain::LayerInstanceList *layers=0)
Define the content of a 'slot' in the terrain grid.
void setRenderQueueGroup(uint8 grp)
Set the render queue group that this terrain will be rendered into.
Definition: OgreTerrain.h:1352
static PropertyType getTypeForValue(const Vector3 &val)
Definition: OgreProperty.h:165
GL3PlusHardwareCounterBuffer(HardwareBufferManagerBase *mgr, const String &name)
IDirect3DDevice9 * getDeviceCreator() const
ConstVectorIterator< PoseList > ConstPoseIterator
Definition: OgreMesh.h:1028
void * getUserParam() const
Definition: OgreThreads.h:105
GLint convertCompareFunction(CompareFunction func) const
GeneralAllocatedObject StreamAlloc
Definition: OgreMemoryAllocatorConfig.h:335
GLint mMagFilter
Definition: OgreGLES2HlmsSamplerblock.h:53
@ SPC_POSTOCAMERA_TANGENT_SPACE
View vector in tangent space.
Definition: OgreShaderParameter.h:124
virtual GpuProgramParametersSharedPtr getDefaultParameters(void)
Get a reference to the default parameters which are to be used for all uses of this program.
@See HlmsPso.
Definition: OgreGL3PlusHlmsPso.h:46
Vector3 mC6
Definition: OgreVolumeDualGridGenerator.h:51
virtual ~CompositorPass()
@ SBF_SOURCE_COLOUR
Definition: OgreBlendMode.h:239
void XQueryTree(Display *nativeDisplayType, Window nativeWindowType, Window *root, Window *parent, Window **children, unsigned int *nChildren)
Archive * archive
Pointer to the archive which is the destination.
Definition: OgreResourceGroupManager.h:289
void _setCustomParam(InstancedEntity *instancedEntity, unsigned char idx, const Vector4 &newParam)
static const IdString UvDiffuseSwizzle7
Definition: OgreUnlitProperty.h:99
virtual bool _unloadProceduralPage(Page *page)
Give a section the opportunity to unload page content procedurally.
void setNamedConstant(const String &name, const Matrix4 &m)
Sets a Matrix4 parameter to the program.
Property(PropertyDef *def, getter_func getter, setter_func setter)
Construct a property which is able to directly call a given getter and setter on a specific object in...
Definition: OgreProperty.h:226
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create a counter buffer.
Definition: OgreScriptLexer.h:76
static const char * SpecularMap
Definition: OgreHlmsPbs.h:326
String doGet(const void *target) const
Technique * getBestTechnique(unsigned short lodIndex=0, const Renderable *rend=0)
Gets the best supported technique.
set< String >::type ShaderProfiles
Definition: OgreRenderSystemCapabilities.h:320
void addPoint(const Quaternion &p)
Adds a control point to the end of the spline.
ushort getNumMultiRenderTargets(void) const
The number of simultaneous render targets supported.
Definition: OgreRenderSystemCapabilities.h:546
void destroy(void)
Destroys the window.
CompositorChannel()
Definition: OgreCompositorChannel.h:62
static const IdString UvDiffuse11
Definition: OgreUnlitProperty.h:86
void setLodStrategyName(const String &name)
Definition: OgreMesh.h:508
static bool CreateTls(TlsHandle *outTls)
Allocates a Thread Local Storage handle to use.
static void destroy()
Destroy the Shader Generator instance.
Degree & operator+=(const Degree &d)
Definition: OgreMath.h:118
void doSet(void *target, const String &val)
@ SHADER_FUNC_NONE
Definition: OgreQuake3Types.h:109
@ CMPF_NOT_EQUAL
Definition: OgreCommon.h:102
virtual void setFullscreen(bool fullScreen, unsigned int widthPt, unsigned int heightPt)
Overridden - see RenderWindow.
Any(const Any &other)
Definition: OgreAny.h:74
IdString mCullCameraName
When empty, it implies mCameraName == mCullCameraName.
Definition: OgreCompositorPassSceneDef.h:88
map< GpuResource *, ResourceLayout::Layout >::type ResourceLayoutMap
Definition: OgreResourceTransition.h:137
A volume source from a 3D texture.
Definition: OgreVolumeTextureSource.h:40
void removeAllTextureAtlasTables()
Removes all texture atlas table information.
void setPointMaxSize(Real max)
Set the maximum point size, when point attenuation is in use.
virtual const String & getTargetLanguage() const =0
Return the target language of this processor.
void define(void *controlPointBuffer, VertexDeclaration *declaration, size_t width, size_t height, size_t uMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, size_t vMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, PatchSurface::VisibleSide visibleSide=PatchSurface::VS_FRONT, HardwareBuffer::Usage vbUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage ibUsage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY, bool vbUseShadow=false, bool ibUseShadow=false)
Define the patch, as defined in MeshManager::createBezierPatch.
CullingMode mCullMode
Culling mode based on the 'vertex winding'.
Definition: OgreHlmsDatablock.h:113
@ M_SUBMESH_INDEX_BUFFFER
Definition: OgreMeshFileFormat.h:80
@ ACT_LIGHT_DISTANCE_OBJECT_SPACE
The distance of the light from the center of the object a useful approximation as an alternative to p...
Definition: OgreGpuProgramParams.h:1055
map< IdString, CompositorNodeDef * >::type CompositorNodeDefMap
Definition: OgreCompositorManager2.h:106
PlaneBoundedVolume()
Definition: OgrePlaneBoundedVolume.h:57
StereoModeType getStereoMode() const
void addAtomInstance(FunctionAtom *atomInstance)
Add a function atom instance to this function.
void setForceOneWeight(bool enable)
Definition: OgreInstanceBatchVTF.h:190
void blitToMemory(const Box &srcBox, const PixelBox &dst)
size_t getFreeMemory() const
Gets available memory in bytes.
MaterialPtr getMaterial(void) const
Retrieves the material this renderable object uses.
int vertexStart
Index into a buffer containing vertex definitions.
Definition: OgreStaticFaceGroup.h:79
bool isVertexOutside(LodData::Vertex *v)
Returns a mesh containing the Convex Hull shape.
Definition: OgreLodOutsideMarker.h:52
~SharedPtr()
Definition: OgreSharedPtr.h:239
void beginOcclusionQuery()
Starts the hardware occlusion query.
void setNamedConstantFromTime(const String &name, Real factor)
Sets a named parameter up to track a derivation of the current time.
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures at once.
AnyNumeric operator+(const AnyNumeric &rhs) const
Definition: OgreAny.h:325
Usage getUsage(void) const
Returns the Usage flags with which this buffer was created.
Definition: OgreHardwareBuffer.h:334
@ PF_PVRTC2_4BPP
PVRTC (PowerVR) Version 2, 4 bpp.
Definition: OgrePixelFormat.h:156
float getIrradianceMaxPower(void) const
Definition: OgreIrradianceVolume.h:103
void setNormalMapMipBias(Real mipBias)
Setup the normal map map mip bias value.
Definition: OgreShaderExNormalMapLighting.h:173
void setSortRenderQueue(uint8 rqId, RqSortMode sortMode)
Sets whether we should sort the render queue ID every frame.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:149
Command object for specifying the Material for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:200
void abortRequest()
Abort the request.
Definition: OgreWorkQueue.h:146
void setDepth(uint32 d)
Set the depth of the texture (only applicable for 3D textures); can only do this before load();.
Definition: OgreTexture.h:254
Vector3 mPosition
World position.
Definition: OgreParticle.h:88
virtual void _setPointSpritesEnabled(bool enabled)
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) o...
~GL3PlusHardwareBufferManager()
Definition: OgreGL3PlusHardwareBufferManager.h:119
D3D11Driver(IDXGIAdapterN *pDXGIAdapter, const DXGI_ADAPTER_DESC1 &desc, unsigned sameNameIndex)
@ Orientation
Definition: OgreArrayMemoryManager.h:294
void updateDerivedData(bool synchronous=false, uint8 typeMask=0xFF)
Updates derived data for all terrains (LOD, lighting) to reflect changed height data.
virtual void nodeAttached(const Node *)
Node has been attached to a parent.
Definition: OgreNode.h:96
IteratorType & current()
Full access to the current iterator.
Definition: OgreIteratorWrapper.h:114
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
GenFunc rgbGenFunc
Definition: OgreQuake3Shader.h:81
PageStrategyData()
Definition: OgrePageStrategy.h:52
CompositorNodeDef(const String &name, CompositorManager2 *compositorManager)
Definition: OgreCompositorNodeDef.h:102
void setStencilBufferBitDepth(ushort num)
Definition: OgreRenderSystemCapabilities.h:489
const VertexBufferPackedVec & getVertexBuffers(void) const
Definition: OgreVertexArrayObject.h:106
void _unregisterResourceManager(const String &resourceType)
Internal method for unregistering a ResourceManager.
Real getShadowExtrusionDistance(void) const
virtual ~GL3PlusNullTexture()
UavBufferPacked * createUavBuffer(size_t numElements, uint32 bytesPerElement, uint32 bindFlags, void *initialData, bool keepAsShadow)
Creates an UAV buffer based on the given parameters.
@ RSC_FIXED_FUNCTION
Supports fixed-function pipeline.
Definition: OgreRenderSystemCapabilities.h:154
This class interpolates orientations (rotations) along a spline using derivatives of quaternions.
Definition: OgreRotationalSpline.h:59
@ Right
Definition: OgreTextAreaOverlayElement.h:51
virtual void setColourChange(size_t chainIndex, Real r, Real g, Real b, Real a)
Enables / disables fading the trail using colour.
virtual void download(const PixelBox &data)
Download a box of pixels from the card.
const LayerBlendModeEx & getAlphaBlendMode(void) const
Get multitexturing alpha blending mode.
const String & getName(void) const
Returns the name of this object.
Definition: OgreMovableObject.h:188
LPD3DXBUFFER getExternalMicrocode(void)
Gets the external microcode buffer, if any.
Real errorMultiplicator
The error multiplicator per LOD level with 1.0 as default.
Definition: OgreVolumeChunk.h:62
Command object for emittedEmitterQuota (see ParamCommand).
Definition: OgreParticleSystem.h:78
@ OPS_IN
The parameter is a input parameter.
Definition: OgreShaderFunctionAtom.h:86
@ PARTIAL
Definition: OgrePCZFrustum.h:76
virtual void bindBufferHS(uint16 slot)
This class represents a RenderTarget that renders to a Texture.
Definition: OgreRenderTexture.h:49
virtual void setOtherTextureCoordRange(Real start, Real end)
Set the range of the texture coordinates generated across the width of the chain elements.
Real getLeft(void) const
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0.
RenderToVertexBuffer()
C'tor.
@ ID_ANISOTROPIC
Definition: OgreScriptCompiler.h:745
TextureType getTextureType(void) const
Returns the type of this texture.
@ ID_SHADOW_MAP_REPEAT
Definition: OgreScriptCompiler.h:957
HardwareUniformBufferSharedPtr createShaderStorageBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create a shader storage buffer.
virtual void getAABB(AxisAlignedBox &)
Get the world coordinate aabb of the zone.
void lockMultipleElements(ReadRequestsArray &requests, HardwareBuffer::LockOptions lockOptions)
Utility to get multiple pointers & read specific elements of the vertex, even if they're in separate ...
virtual void collectLights(Camera *camera)=0
virtual void nodeUpdated(const Node *)
Called when a node gets updated.
Definition: OgreNode.h:92
const UnsignedIntConstantList & getUnsignedIntConstantList() const
Get a reference to the list of uint constants.
Definition: OgreGpuProgramParams.h:788
void setTexture(PbsTextureTypes texType, uint16 arrayIndex, const TexturePtr &newTexture, const HlmsSamplerblock *refParams=0)
Sets a new texture for rendering.
virtual void getCustomAttribute(const String &name, void *pData)
GLES2FBORenderTexture(GLES2FBOManager *manager, const String &name, const GLES2SurfaceDesc &target, bool writeGamma, uint fsaa)
virtual ~GLES2AsyncTicket()
D3D11VideoMode * item(size_t index)
Ogre::Box Box
Definition: OgreImage.h:63
@ CE_UNSUPPORTEDBYRENDERSYSTEM
Definition: OgreScriptCompiler.h:217
bool isVisible(void) const
Indicates whether the window is visible (not minimized or obscured)
STLAllocator()
ctor
Definition: OgreMemorySTLAllocator.h:103
CompositorPassComputeDef(CompositorNodeDef *parentNodeDef, CompositorTargetDef *parentTargetDef)
Definition: OgreCompositorPassComputeDef.h:113
virtual const Real * getOtherTextureCoordRange(void) const
Get the range of the texture coordinates generated across the width of the chain elements.
Definition: OgreBillboardChain.h:180
static const uint16 TERRAIN_MAX_BATCH_SIZE
Definition: OgreTerrain.h:279
@ GPU_INTEL
Definition: OgreRenderSystemCapabilities.h:292
GpuProgramPtr pixelShader
Definition: OgreHlmsPso.h:165
void _setDepthBufferFunction(CompareFunction func=CMPF_LESS_EQUAL)
static Real RangeRandom(Real fLow, Real fHigh)
Generate a random number within the range provided.
size_t getNumWorkspaces(void) const
Definition: OgreCompositorManager2.h:362
PagedWorldSection(const String &name, PagedWorld *parent, SceneManager *sm)
Construct a new instance, specifying the parent and scene manager.
String doGet(const void *target) const
D3D11_BOX getSubresourceBox(const Box &box) const
vector< SkeletonAnimationDef >::type SkeletonAnimationDefVec
Definition: OgreSkeletonAnimationDef.h:103
void setRenderer(const String &typeName)
Sets the ParticleRenderer to be used to render this particle system.
Material(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Constructor - use resource manager's create method rather than this.
void setConstant(size_t index, const double *val, size_t count)
Sets a multiple value constant floating-point parameter to the program.
bool coversEntireTarget(void) const
std::pair< RenderState *, bool > RenderStateCreateOrRetrieveResult
Definition: OgreShaderGenerator.h:217
virtual void setVerticalAlignment(GuiVerticalAlignment gva)
Sets the vertical origin for this element.
void _setViewMatrix(const Matrix4 &m)
See RenderSystem.
void beginBillboards(size_t numBillboards=0)
Begin injection of billboard data; applicable when constructing the BillboardSet for external data us...
void bind()
Bind FrameBufferObject.
VertexElementType type
Definition: OgreVertexIndexData.h:241
int content
Definition: OgreQuake3Types.h:238
Definition: OgreD3D9HardwareIndexBuffer.h:39
const NodeBrushList & getSolidBrushes(void) const
Main brush memory held on level.
bool getUpdateBoundingBoxFromSkeleton() const
If true, the skeleton of the entity will be used to update the bounding box for culling.
Definition: OgreEntity.h:729
virtual void flushUAVs(void)
Forces to take effect all the queued UAV binding requests.
NodeArrayMemoryManager(uint16 depthLevel, size_t hintMaxNodes, Node *dummyNode, size_t cleanupThreshold=100, size_t maxHardLimit=MAX_MEMORY_SLOTS, RebaseListener *rebaseListener=0)
Constructor.
@ ID_2D
Definition: OgreScriptCompiler.h:724
GpuProgramParametersSharedPtr getVertexProgramParameters(void) const
Gets the vertex program parameters used by this pass.
bool operator==(const TerrainLayerSampler &s) const
Definition: OgreTerrainMaterialGenerator.h:110
static PropertyType getTypeForValue(const Vector4 &val)
Definition: OgreProperty.h:166
SmallVectorImpl - This class consists of common code factored out of the SmallVector class to reduce ...
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:449
virtual void setInitialColour(size_t chainIndex, const ColourValue &col)
Set the starting ribbon colour for a given segment.
ProfileHistory history
Definition: OgreProfiler.h:337
Abstract interface which classes must implement if they wish to receive events from the scene manager...
Definition: OgreRenderObjectListener.h:44
virtual void registerVertexBufferSourceAndCopy(const HardwareVertexBufferSharedPtr &sourceBuffer, const HardwareVertexBufferSharedPtr ©)
Registers a vertex buffer as a copy of another.
uint32 getID(void) const
Get the region ID of this region.
Definition: OgreStaticGeometry.h:407
void addConfig(void)
Add any special config values to the system.
const Vector3 & getAreaInnerRegion(void) const
Definition: OgreCubemapProbe.h:187
@ CB_DRAW_CALL_INDEXED_EMULATED_NO_BASE_INSTANCE
Definition: OgreCbCommon.h:40
bool applyTextureAliases(const AliasTextureNamePairList &aliasList, const bool apply=true)
Applies texture names to Texture Unit State with matching texture name aliases.
Real tcModStretchParams[4]
Definition: OgreQuake3Shader.h:91
static uint32 QUERY_FRUSTUM_DEFAULT_MASK
Default query mask for frusta and cameras.
Definition: OgreSceneManager.h:293
static const IdString TexMatrixCount2
Definition: OgreHlmsUnlitMobile.h:98
DXGI_FORMAT getD3dFormat(void) const
Definition: OgreD3D11Texture.h:89
TextureMapType
Definition: OgreHlmsTextureManager.h:133
static CommandBufferExecuteFunc execute_setConstantBufferGS
Definition: OgreCommandBuffer.h:76
virtual void getInterpolatedKeyFrame(const TimeIndex &timeIndex, KeyFrame *kf) const
Gets a KeyFrame object which contains the interpolated transforms at the time index specified.
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create counter buffer.
Definition: OgreGLES2DefaultHardwareBufferManager.h:149
::EGLConfig getGLConfigFromDrawable(::EGLSurface drawable, unsigned int *w, unsigned int *h)
Definition: OgreSegment.h:47
StringVectorPtr find(const String &pattern, bool recursive=true, bool dirs=false)
Find all file or directory names matching a given pattern in this archive.
@ ID_MAX_LIGHTS
Definition: OgreScriptCompiler.h:704
void deallocate(pointer ptr, size_type)
memory deallocation (elements, used by STL)
Definition: OgreMemorySTLAllocator.h:136
virtual RaySceneQuery * createRayQuery(const Ray &ray, uint32 mask=QUERY_ENTITY_DEFAULT_MASK)
Creates a RaySceneQuery for this scene manager.
void objectDestroyed(ObjectData &outObjectData, size_t renderQueue)
Releases current memory.
void advanceDirtyInstanceMgr()
Advances all pointers needed by InstanceBatch::_updateBounds to the next pack, i.e.
Definition: OgreObjectData.h:208
GLenum getGLShaderType(GpuProgramType programType)
Get OpenGL GLSL shader type from OGRE GPU program type.
bool isActive(void) const
Overridden - see RenderWindow.
void _writeRawConstant(size_t physicalIndex, const Vector3 &vec)
Write a 3-element floating-point parameter to the program via Vector3.
@ ID_SHADOW_CASTER_MATERIAL
Definition: OgreScriptCompiler.h:621
void show(void)
Shows the overlay if it was hidden.
void saveGroupDefinition(StreamSerialiser &stream)
Save the group data only in native form to a serializing stream.
void setLayerWorldSize(uint8 index, Real size)
How large an area in world space the texture in a terrain layer covers before repeating.
IdString outNode
Definition: OgreCompositorWorkspaceDef.h:62
TerrainGroup(SceneManager *sm)
Alternate constructor.
SceneManager * createInstance(const String &instanceName)
static const IdString DetailWeights
Definition: OgreHlmsPbsMobile.h:125
void setLightFixedToShadowMap(size_t shadowMapIdx, Light *light)
Marks a shadow map as statically updated, and ties the given light to always use that shadow map.
void _notifyIndex(unsigned short index)
Internal method to adjust pass index.
void setAttenuation(Real range, Real constant, Real linear, Real quadratic)
Sets the attenuation parameters of the light source i.e.
Definition: OgreGTKWindow.h:49
vector< TexturePtr >::type TextureVec
Definition: OgreCompositorChannel.h:58
static void AddInternalProgram(String name, String source, String language, String entryPoint, String target, GpuProgramType type)
Add and load high level gpu program.
@ SM_Source1Modulate
Definition: OgreShaderExLayeredBlending.h:86
Definition: OgreX11EGLSupport.h:141
ushort getLod(void) const
Get the LOD index.
Definition: OgreStaticGeometry.h:334
size_t getBytesOffsetToSource(uint8 sourceIdx) const
static String FACTORY_TYPE_NAME
Definition: OgreManualObject2.h:366
OctreeRaySceneQuery(SceneManager *creator)
static float fixedToFloat(unsigned value, unsigned int bits)
Fixed point to float.
Definition: OgreBitwise.h:240
virtual const MaterialPtr & getMaterial(void) const
This struct allows a single comparison of result data no matter what the type.
Definition: OgreSceneQuery.h:350
@ ID_GEOMETRY
Definition: OgreScriptCompiler.h:979
virtual SceneNode * getSkyBoxNode(void) const
Get the skybox node, if enabled.
Definition: OgreSceneManager.h:2270
vector< DepthBuffer * >::type DepthBufferVec
Definition: OgreRenderSystem.h:54
void _update(bool updateChildren, bool parentHasChanged)
virtual void _hlmsPipelineStateObjectCreated(HlmsPso *newPso)
@ ID_ALPHA_OP_EX
Definition: OgreScriptCompiler.h:774
Real tcModScale[2]
Definition: OgreQuake3Shader.h:84
@ PFF_NATIVEENDIAN
Format is in native endian.
Definition: OgrePixelFormat.h:381
bool getPassSurfaceAndLightStates(void) const
Returns whether a vertex program wants light and material states to be passed through fixed pipeline ...
BlendChannelMasks
Definition: OgreHlmsDatablock.h:149
@ ID_2DARRAY
Definition: OgreScriptCompiler.h:727
@ CB_SET_CONSTANT_BUFFER_CS
Definition: OgreCbCommon.h:51
vector< Geometry >::type GeometryVec
Definition: OgreVertexShadowMapHelper.h:130
const Quaternion & getOrientation(void) const
~OctreeSceneManagerFactory()
Definition: OgreOctreeSceneManager.h:220
static const ArrayReal HALF
Definition: OgreMathlibC.h:45
static void lodSet(ObjectData &t, Real lodValues[ARRAY_PACKED_REALS])
size_t indexStart
Index in the buffer to start from for this operation.
Definition: OgreVertexIndexData.h:302
time_t getModifiedTime(const String &filename)
Retrieve the modification time of a given file.
Aabb getAreaLS(void) const
Definition: OgreCubemapProbe.h:168
void addOverlayElementFactory(OverlayElementFactory *elemFactory)
Registers a new OverlayElementFactory with this manager.
T value_type
Definition: OgreMemorySTLAllocator.h:73
Vector3 pos
Position of the terrain.
Definition: OgreTerrain.h:355
virtual ~LodOutputProvider()
Definition: OgreLodOutputProvider.h:42
void _changeRenderSystem(RenderSystem *newRs)
static const int InputLayoutMask
Definition: OgreHlms.h:904
A not rotated cube.
Definition: OgreVolumeCSGSource.h:105
DefaultGpuBufferAllocator()
void _unload(void)
Internal unload method, derived from call to Material::unload.
void initializeMemoryManager(void)
void unprepare()
Unprepare data - may be called in the background.
@ ID_TARGET_HEIGHT
Definition: OgreScriptCompiler.h:828
virtual ~GL3PlusStagingBuffer()
static const IdString BlendModeIndex1
Definition: OgreUnlitProperty.h:110
Real getLayerUVMultiplier(uint8 index) const
Get the layer UV multiplier.
virtual SceneNode * createSceneNode(const String &name)
Creates a PCZSceneNode.
virtual void touch()
'Touch' the page to let it know it's being used
Mesh::IndexMap::const_iterator boneIdxStart
Definition: OgreInstanceBatchHW_VTF.h:129
@ OR_LANDSCAPELEFT
Definition: OgreFrustum.h:57
Camera * getCamera() const
Definition: OgreCompositorPassScene.h:95
void load(const Matrix4 &src)
Assumes src is aligned.
Definition: C/OgreArrayMatrix4.h:227
Renderable * renderable
Definition: OgreRenderQueue.h:51
TerrainLodManager(Terrain *t, const String &filename="")
virtual ~OverlayManager()
@ OT_PATCH_11_CONTROL_POINT
Definition: OgreHlmsPso.h:70
GeometryAllocatedObject StagingBufferAlloc
Definition: OgreMemoryAllocatorConfig.h:334
static const uint8 B_MASK
Definition: OgreHlmsUnlitDatablock.h:72
void convertColourValue(const ColourValue &colour, uint32 *pDest)
Generates a packed data version of the passed in ColourValue suitable for use with the current Render...
@ VET_BYTE4
Definition: OgreVertexElements.h:103
Entity * getParent(void) const
Accessor to get parent Entity.
Definition: OgreSubEntity.h:135
void _notifyBarriersDirty(void)
Definition: OgreCompositorWorkspace.h:318
HlmsPbsMobileDatablock(IdString name, Hlms *creator, const HlmsMacroblock *macroblock, const HlmsBlendblock *blendblock, const HlmsParamVec ¶ms)
Valid parameters in params:
#define _OgreGL3PlusExport
Definition: OgreGL3PlusPrerequisites.h:102
PCZ implementation of PlaneBoundedVolumeListSceneQuery.
Definition: OgrePCZSceneQuery.h:112
ShadeOptions getShadingMode(void) const
Returns the type of light shading to be used.
@ SHADER_FUNC_INVERSESAWTOOTH
Definition: OgreQuake3Types.h:114
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
virtual void queueBindUAV(uint32 slot, TexturePtr texture, ResourceAccess::ResourceAccess access=ResourceAccess::ReadWrite, int32 mipmapLevel=0, int32 textureArrayIndex=0, PixelFormat pixelFormat=PF_UNKNOWN)
Queues the binding of an UAV to the binding point/slot.
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
Implementation for WorkQueue::RequestHandler.
Definition: OgreScriptCompiler.h:92
const String & getLanguage(void) const
Overridden from GpuProgram.
const Matrix4 & getProjectionMatrix(void) const
virtual const String & getTargetLanguage(void) const
Definition: OgreShaderHLSLProgramWriter.h:128
@ ID_CULL_HARDWARE
Definition: OgreScriptCompiler.h:685
void FromEulerAnglesZYX(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
bool isNaN() const
Check whether this dual quaternion contains valid values.
Definition: OgreDualQuaternion.h:148
static const IdString UvDiffuseSwizzle6
Definition: OgreUnlitProperty.h:98
void _swapAllFinalTargets(void)
void build(const v1::Skeleton *skeleton, const v1::Animation *animation, Real frameRate)
const MaterialPtr & getCustomShadowCasterMaterial(const SkinningType skinningType, ushort index) const
Returns the name of a custom shadow caster material for a given number of weights.
int mNumLeaves
Definition: OgreQuake3Level.h:130
GLES2Texture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, GLES2Support &support)
Particle emitter which emits particles randomly from points inside a hollow ellipsoid.
Definition: OgreHollowEllipsoidEmitter.h:47
vector< VertexBufferPacked * >::type VertexBufferPackedVec
Definition: OgreVertexArrayObject.h:38
virtual ~PVRTCCodec()
Definition: OgrePVRTCCodec.h:59
friend class LwString
Definition: OgreLwConstString.h:65
virtual void write(const Radian *angle, size_t count=1)
const GpuConstantDefinition * mConstantDef
The constant definition it relates to.
Definition: OgreGLSLProgram.h:68
D3D11VertexArrayObjectShared * mSharedData
Definition: OgreD3D11VertexArrayObject.h:54
virtual void execute(const Camera *lodCamera)
virtual RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
static int ICeil(float fValue)
Definition: OgreMath.h:252
virtual void textureCoord(Real u, Real v, Real w)
Add a texture coordinate to the current vertex.
DriverVersion is used by RenderSystemCapabilities and both GL and D3D9 to store the version of the cu...
Definition: OgreRenderSystemCapabilities.h:247
VectorIterator< TextureUnitStates > TextureUnitStateIterator
Definition: OgrePass.h:501
void doSet(void *target, const String &val)
void addArchiveFactory(ArchiveFactory *factory)
Adds a new ArchiveFactory to the list of available factories.
static ParameterPtr createOutBiNormal(int index)
Real tcModTransform[6]
Definition: OgreQuake3Shader.h:87
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
void setHidden(bool hidden)
Hide (or show) the window.
static Real getDefaultIterationInterval(void)
Get the default iteration interval for all ParticleSystem instances.
Definition: OgreParticleSystem.h:435
LwString & a(const char *a0)
Definition: OgreLwString.h:217
static const IdString UvCount4
Definition: OgreHlms.h:794
void setShaderMacros(D3D_SHADER_MACRO *shaderMacros)
Sets shader macros created manually.
static const IdString BlendModeIdx6
Definition: OgreHlmsUnlitMobile.h:131
~GL3PlusFBOMultiRenderTarget()
FileStreamDataStream(const String &name, std::ifstream *s, bool freeOnClose=true)
Construct named read-only stream from an STL stream.
void mapOutputChannel(size_t outChannel, IdString textureName)
Maps the output channel to the given texture name, which can be either a local texture or a reference...
@ LBX_SOURCE2
use source2 without modification
Definition: OgreBlendMode.h:79
void setMinimum(const Vector3 &vec)
Sets the minimum corner of the box.
Definition: OgreAxisAlignedBox.h:180
void setAssociatedVertexData(VertexData *data)
Sets the associated VertexData which this track will update.
Definition: OgreAnimationTrack.h:660
ResourceHandle materialHandle
Handle to material used by this group.
Definition: OgreStaticFaceGroup.h:105
TextureSource(const String &volumeTextureName, const Real worldWidth, const Real worldHeight, const Real worldDepth, const bool trilinearValue=true, const bool trilinearGradient=false, const bool sobelGradient=false)
Constructur.
virtual void setInitialWidth(size_t chainIndex, Real width)
Set the starting ribbon width in world units.
LodStrategy * getStrategy(const String &name)
Get the strategy with the specified name.
virtual bool getManualBonesDirty(void) const
Have manual bones been modified since the skeleton was last updated?
Definition: OgreSkeleton.h:358
Real getFrameTime(void) const
const Vector4 & getCameraPosition(void) const
virtual NumericKeyFrame * createNumericKeyFrame(Real timePos)
Creates a new KeyFrame and adds it to this animation at the given time index.
RequestHandler()
Definition: OgreWorkQueue.h:165
SceneCtlAllocatedObject LodAlloc
Definition: OgreMemoryAllocatorConfig.h:345
const LodValueArray * _getLodValues(void) const
Definition: OgreMaterial.h:505
size_t getNumSubEntities(void) const
Retrieves the number of SubEntity objects making up this entity.
static bool _isDynamic(TextureUsage usage)
Definition: OgreD3D11Mappings.h:87
@ NONE
Definition: OgrePCZCamera.h:58
IteratorWrapper< T, IteratorType, typename T::mapped_type >::ValueType ValueType
Redefined ValueType for a map/set.
Definition: OgreIteratorWrapper.h:258
bool isUseTexcoordRect(void) const
Returns true if this billboard use individual texture coordinate rect (i.e.
Definition: OgreBillboard.h:183
GpuBufferAllocator()
Definition: OgreTerrain.h:539
static CommandBufferExecuteFunc execute_drawCallIndexed
Definition: OgreCommandBuffer.h:70
@ DEFORM_FUNC_NONE
Definition: OgreQuake3Types.h:134
virtual uint32 getStrategyId()
Definition: OgreTerrainAutoUpdateLod.h:80
virtual Real getMaximumDepthInputValue(void)
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
virtual void setShadowColour(const ColourValue &colour)
Set the colour used to modulate areas in shadow.
virtual void destroyWireAabb(WireAabb *wireAabb)
Removes & destroys an WireAabb from the SceneManager.
void setFragmentProgramConstantBoolCount(ushort c)
The number of boolean constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:725
ColourValue getBackgroundDiffuse(void) const
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreRenderTarget.h:429
Maintains a pool of buffers grouped by hash ID.
Definition: OgreConstBufferPool.h:54
@ FFP_TRANSFORM
Definition: OgreShaderFFPRenderState.h:71
Real getGlyphAspectRatio(CodePoint id) const
Gets the aspect ratio (width / height) of this character.
Definition: OgreFont.h:317
void updateVertexData(bool positions, bool deltas, const Rect &rect, bool cpuData)
Tell the node to update its vertex data for a given region.
@ SBF_ZERO
Definition: OgreBlendMode.h:237
@ PF_R16_SNORM
16-bit pixel format, 16 bits red (signed normalised int).
Definition: OgrePixelFormat.h:238
void addAffectorFactory(ParticleAffectorFactory *factory)
Adds a new 'factory' object for affectors to the list of available affector types.
void save(const DataStreamPtr &stream)
Save world data to a stream.
map< IdString, String >::type PiecesMap
Definition: OgreHlmsCommon.h:147
Represents the state of an animation and the weight of its influence.
Definition: OgreAnimationState.h:56
Function * getFunctionByName(const String &name)
Get a function by a given name.
virtual size_t getConstBufferSize(void) const =0
Returns the amount of bytes that fillConstBufferData is going to fill.
virtual Real getShadowFarDistanceSquared(void) const
Definition: OgreSceneManager.h:2759
NodeList mNodes
Public list of SceneNodes attached to this particular octree.
Definition: OgreOctree.h:128
GLenum blendFunc
Definition: OgreGLES2HlmsPso.h:59
Vector4 getLightAs4DVector(size_t index) const
void destroyInstance(PageContentCollection *c)
Definition: OgreSimplePageContentCollection.h:125
~PCZFrustum()
Standard destructor.
void setOverlayPosition(Real left, Real top)
Set the position of the profiler overlay, in pixels.
static const String & getDirectionalLightExtruderVs_1_1Debug(void)
Get extruder program source for debug directional lights, compatible with vs_1_1.
Definition: OgreShadowVolumeExtrudeProgram.h:266
vector< Block >::type BlockVec
Definition: OgreD3D11VaoManager.h:77
This class manages the available ArchiveFactory plugins.
Definition: OgreArchiveManager.h:48
virtual uint getFSAA() const
Get the level of multisample AA to be used if this texture is a rendertarget.
Definition: OgreTexture.h:213
void dump(std::ofstream &of) const
Dump contents for diagnostics.
ParallaxCorrectedCubemap * getParallaxCorrectedCubemap(void) const
Definition: OgreHlmsPbs.h:282
static CommandBufferExecuteFunc execute_setConstantBufferInvalid
Definition: OgreCommandBuffer.h:80
static const String & getDirectionalLightExtruderArbvp1Debug(void)
Get extruder program source for debug directional lights, compatible with arbvp1.
Definition: OgreShadowVolumeExtrudeProgram.h:264
void setHomePath(const Ogre::String &path)
Definition: OgreFileSystemLayer.h:119
@ ID_SYNTAX
Definition: OgreScriptCompiler.h:631
@ M_MESH_LOD_USAGE
Definition: OgreMeshFileFormat.h:240
virtual MeshPtr convertToMesh(const String &meshName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, bool buildShadowMapBuffers=true)
Convert this object to a Mesh.
virtual void _restoreManualHardwareResources()
bool isSky
Is this a sky surface?
Definition: OgreStaticFaceGroup.h:74
void _registerResourceManager(const String &resourceType, ResourceManager *rm)
Internal method for registering a ResourceManager (which should be a singleton).
Specialisation of HardwareVertexBuffer for OpenGL ES.
Definition: OgreGLES2HardwareVertexBuffer.h:41
GLSL ES program writer factory implementation.
Definition: OgreShaderGLSLESProgramWriter.h:140
const_reference at(size_type n) const
Definition: OgreCommon.h:532
SubRenderStateSet::iterator SubRenderStateSetIterator
Definition: OgreShaderSubRenderState.h:162
DefaultHardwareBufferManager()
Definition: OgreDefaultHardwareBufferManager.h:187
@ ParentMat
Definition: OgreBoneArrayMemoryManager.h:61
virtual unsigned long getResponseProcessingTimeLimit() const =0
Get the time limit imposed on the processing of responses in a single frame, in milliseconds (0 indic...
virtual Real getFogEnd(void) const
Returns the fog end distance for the scene.
HardwareVertexBufferSharedPtr()
Definition: OgreHardwareVertexBuffer.h:92
void set(const Vector3 &newOrigin, const Vector3 &newEnd, Real newRadius)
Vector3 position
Definition: OgreLodData.h:101
virtual void setHlmsPassProperties(Hlms *hlms)
Specialisation of HardwareBuffer for a pixel buffer.
Definition: OgreHardwarePixelBuffer.h:58
virtual void setPaused(bool pause)=0
Set whether to pause further processing of any requests.
size_t find_first_of(char c, size_t pos=0) const
Definition: OgreLwConstString.h:120
float mShadowConstantBias
Definition: OgreHlmsDatablock.h:285
void setWBufferEnabled(bool enabled)
Sets whether or not W-buffers are enabled if they are available for this renderer.
@ CB_SET_CONSTANT_BUFFER_VS
Definition: OgreCbCommon.h:46
Window XCreateWindow(Display *nativeDisplayType, Window nativeWindowType, int left, int top, int width, int height, int dummy1, int depth, int inputOutput, int visual, int mask, XSetWindowAttributes *xSetWindowAttributes)
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)=0
virtual void _dirtyState()
Manually mark the state of this resource as having been changed.
int lm_size[2]
Definition: OgreQuake3Types.h:195
OGRE_HASH_NAMESPACE::OGRE_HASHSET_NAME< K, H, E, A > type
Definition: OgrePrerequisites.h:709
bool getShadowMappingUseBackFaces(void)
Definition: OgreHlmsManager.h:310
static const IdString UvDiffuse5
Definition: OgreUnlitProperty.h:80
@ ID_MODULATE_X2
Definition: OgreScriptCompiler.h:757
static LodWorkQueueWorker & getSingleton()
Vector3 getFresnel(void) const
Returns the current fresnel.
void setTexcoordIndex(uint16 texcoordIndex)
setTexcoordIndex() sets which texture coordinate rect this billboard will use when rendering.
static uint16 _calcSkirtVertexIndex(uint16 mainIndex, uint16 vdatasize, bool isCol, uint16 numSkirtRowsCols, uint16 skirtRowColSkip)
Utility method to calculate the skirt index for a given original vertex index.
const CompositorPassSceneDef * getDefinition() const
Definition: OgreCompositorPassScene.h:105
virtual void _buildKeyFrameIndexMap(const vector< Real >::type &keyFrameTimes)
Internal method to build keyframe time index map to translate global lower bound index to local lower...
NativeDisplayType getNativeDisplay(void)
static String normalizeFilePath(const String &init, bool makeLowerCase=true)
Returns a normalized version of a file path This method can be used to make file path strings which p...
Real getMaxPointSize(void) const
Maximum point screen size in pixels.
Definition: OgreRenderSystemCapabilities.h:757
@ PF_B8G8R8A8
32-bit pixel format, 8 bits for blue, green, red and alpha.
Definition: OgrePixelFormat.h:79
void destroyNode(Transform &inOutTransform)
Releases memory acquired through.
@ SPC_POSITION_VIEW_SPACE
Position in view space.
Definition: OgreShaderParameter.h:87
@ PBSM_BLEND_SCREEN
Definition: OgreHlmsPbsPrerequisites.h:87
@ SPC_POSTOLIGHT_WORLD_SPACE4
Definition: OgreShaderParameter.h:141
bool getResetsEveryUpdate() const
Does this object reset its buffer each time it updates?
Definition: OgreRenderToVertexBuffer.h:95
void _setFog(FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, Real expDensity=1.0, Real linearStart=0.0, Real linearEnd=1.0)
float mVpScissorLeft
Definition: OgreCompositorPassDef.h:98
size_t rowPitch
Number of elements between the leftmost pixel of one row and the left pixel of the next.
Definition: OgrePixelBox.h:87
This is an HLMS implementation that acts as proxy to use the Material system from Ogre 1....
Definition: OgreHlmsLowLevel.h:61
void removeGPUDeviceNameRule(const String &devicePattern)
Removes a matching device name rule.
virtual_l2 void yaw(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around the Y-axis.
@ GCT_MATRIX_3X2
Definition: OgreGpuProgramParams.h:83
GLuint getGLMultisampleFBOID() const
Get the GL id for the multisample FBO.
Definition: OgreGL3PlusFrameBufferObject.h:74
uint16 getCompositeMapSize() const
Get the default size of the composite maps for a new terrain.
Definition: OgreTerrain.h:2086
#define OGRE_CAPS_BITSHIFT
Definition: OgreRenderSystemCapabilities.h:46
String name
The name of the profile.
Definition: OgreProfiler.h:326
virtual void endCurrent()
This is called before another context is made current.
const PointerType peekNextValuePtr() const
Returns a pointer to the next/current value element in the collection, without advancing to the next ...
Definition: OgreIteratorWrapper.h:292
void setManualBone(Bone *bone, bool isManual)
Sets the given node to manual.
@ LightsVpl
Warning: Importing w/ both BuildInstantRadiosity and LightsVpl can result in an incorrect scene (VPLs...
Definition: OgreSceneFormatBase.h:73
std::multimap< K, V, P, A >::iterator iterator
Definition: OgrePrerequisites.h:672
void _setTextureMatrix(size_t unit, const Matrix4 &xform)
Sets the texture coordinate transformation matrix for a texture unit.
RenderTexture * getRenderTarget(size_t zoffset)
Get rendertarget for z slice.
@ ID_SEPARATE_UV
Definition: OgreScriptCompiler.h:733
WaveType
Definition: OgreQuake3Types.h:108
void * getLump(int lumpType)
Utility function to return a pointer to a lump.
HlmsTypes getType(void) const
Definition: OgreHlms.h:422
bool getEnableDebugMarkers(void) const
Definition: OgreInstantRadiosity.h:322
PanelOverlayElement(const String &name)
Constructor.
virtual StreamSerialiser * readPageStream(PageID pageID, PagedWorldSection *section)
Get a serialiser set up to read Page data for the given PageID, or null if this provider cannot suppl...
Definition: OgrePageManager.h:114
unsigned char mIndex
Which of the packed values is ours. Value in range [0; 4) for SSE2.
Definition: OgreObjectData.h:41
virtual void bindToFramebuffer(GLenum attachment, uint32 zoffset)
Bind surface to frame buffer.
Abstract class representing a Texture resource.
Definition: OgreTexture.h:124
static bool startsWith(const String &str, const String &pattern, bool lowerCase=true)
Returns whether the string begins with the pattern passed in.
@ ID_JOB
Definition: OgreScriptCompiler.h:938
virtual bool _unloadProceduralPage(Page *page, PagedWorldSection *section)
Give a manager the opportunity to unload page content procedurally.
virtual const ColourValue & getShadowColour(void) const
Get the colour used to modulate areas in shadow.
virtual void removeAll(void)
Removes all resources.
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Notifies the ultimate texture owner the buffer changed.
@ ACT_CUSTOM
A custom parameter which will come from the renderable, using 'data' as the identifier.
Definition: OgreGpuProgramParams.h:1166
void increaseRefreshRate(DXGI_RATIONAL rr)
void suggestIrradianceVolumeParameters(const Vector3 &inCellSize, Vector3 &outVolumeOrigin, Real &outLightMaxPower, uint32 &outNumBlocksX, uint32 &outNumBlocksY, uint32 &outNumBlocksZ)
Outputs suggested parameters for a volumetric texture that will encompass all VPLs.
virtual void worldGeometryPrepareStageEnded(void)
This event is fired when a stage of preparing linked world geometry has been completed.
Definition: OgreResourceGroupManager.h:145
reference front()
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:328
GLint mBinding
GL binding handle (similar to location)
Definition: OgreGLSLProgram.h:62
static UINT _getAccessFlags(v1::HardwareBuffer::Usage usage)
static const ColourValue Red
Definition: OgreColourValue.h:63
@ PT_BOOL
Definition: OgreStringInterface.h:49
int getFaceGroupStart(void) const
Returns the index to the face group index list for this leaf node.
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
virtual ~ResponseHandler()
Definition: OgreWorkQueue.h:201
bool automipmaps
Definition: OgreTextureDefinition.h:90
virtual FogMode getFogMode(void) const
Returns the fog mode for the scene.
virtual void loadImage(const Image &img)
Loads the data from an image.
void setInvertVertexWinding(bool invert)
Sets whether or not vertex windings set should be inverted; this can be important for rendering refle...
virtual void computeVertexCollapseCost(LodData *data, LodData::Vertex *vertex, Real &collapseCost, LodData::Vertex *&collapseTo)
Called by initVertexCollapseCost and updateVertexCollapseCost, when the vertex minimal cost needs to ...
GLint getFBConfigAttrib(GLXFBConfig fbConfig, GLint attribute, GLint *value)
Portable replacement for glXGetFBConfigAttrib.
Octree datastructure for managing scene nodes.
Definition: OgreOctree.h:58
void getCustomWorldSpaceCorners(ArrayVector3 outCorners[(8+ARRAY_PACKED_REALS - 1)/ARRAY_PACKED_REALS], Real customFarPlane) const
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
v1::GL3PlusHardwarePixelBuffer * buffer
Definition: OgreGL3PlusRenderTexture.h:46
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
virtual void setTimeToLive(Real ttl)
Sets the lifetime of all particles emitted.
void destroyWorld(PagedWorld *world)
Destroy a world.
virtual void execute(const Camera *lodCamera)
virtual void _setTexture(size_t unit, bool enabled, const String &texname)
Sets the texture to bind to a given texture unit.
Listener on any general material events.
Definition: OgreMaterialManager.h:70
unsigned short * pshort
Definition: OgreLodData.h:130
static void recreateResizableBuffers(const BufferDefinitionVec &bufferDefs, CompositorNamedBufferVec &inOutBufContainer, const RenderTarget *finalTarget, RenderSystem *renderSys, const CompositorNodeVec &connectedNodes, const CompositorPassVec *passes)
Destroys & recreates only the buffers that depend on the main RT (i.e.
MetalTextureBuffer(__unsafe_unretained id< MTLTexture > renderTexture, __unsafe_unretained id< MTLTexture > resolveTexture, MetalDevice *device, const String &baseName, MTLTextureType target, int width, int height, int depth, PixelFormat format, int face, int level, Usage usage, bool writeGamma, uint fsaa)
Texture constructor.
const MeshPtr & getMesh(void) const
Gets the Mesh that this Item is based on.
Real tcModScroll[2]
Definition: OgreQuake3Shader.h:86
ProjectionType
Specifies perspective (realistic) or orthographic (architectural) projection.
Definition: OgreFrustum.h:63
Real * ptr()
Pointer accessor for direct copying.
Definition: OgreVector4.h:134
virtual void setRenderingDistance(Real dist)
Sets the distance at which batches are no longer rendered.
Definition: OgreStaticGeometry.h:619
static DXGI_FORMAT _getGammaFormat(DXGI_FORMAT format, bool appendSRGB)
utility method, optionally maps plain format to _SRGB counterparts
AtomicObject(const AtomicObject< T > &cousin)
Definition: OgreAtomicObject.h:51
static HardwareSkinningFactory * getSingletonPtr(void)
Override standard Singleton retrieval.
virtual size_t getContentCollectionCount() const
Get the number of content collections.
Bone * getBone(IdString boneName)
Gets the bone with given name. Throws if not found.
uint32 front
Definition: OgreCommon.h:839
const SubroutineMap & getSubroutineMap() const
Get map with.
Definition: OgreGpuProgramParams.h:2465
void uninstall()
Perform the final plugin uninstallation sequence.
String doGet(const void *target) const
SharedPtr< UniformParameter > UniformParameterPtr
Definition: OgreShaderPrerequisites.h:75
virtual ~DefaultWorkQueue()
void setClipPlane(ushort index, Real A, Real B, Real C, Real D)
See RenderSystem.
ProfileChildrenVec children
Definition: OgreProfiler.h:331
void setReferenceViewEnabled(bool value)
Enables to disables use of the reference view.
ushort getComputeProgramConstantIntCount(void) const
The number of integer constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:933
@ CB_SET_TEXTURE_BUFFER_DS
Definition: OgreCbCommon.h:57
const AutoConstantEntry * _findRawAutoConstantEntryFloat(size_t physicalIndex)
Finds an auto constant that's affecting a given physical position in the floating-point buffer.
bool isStatic
Definition: OgreCommon.h:676
std::pair< MemoryDataStreamPtr, CodecDataPtr > DecodeResult
Result of a decoding; both a decoded data stream and CodecData metadata.
Definition: OgreCodec.h:139
virtual const String & getType() const =0
Get the type of this sub render state factory.
A class for performing queries on a scene.
Definition: OgreSceneQuery.h:69
void reserve(size_t reserveAmount)
Definition: OgreFastArray.h:283
const Aabb & getProbeShape(void) const
Definition: OgreCubemapProbe.h:189
bool isSortedForV2(void) const
GLenum blendFuncAlpha
Definition: OgreGL3PlusHlmsPso.h:60
void notifyBillboardDataChanged(void)
When billboard set is not auto updating its GPU buffer, the user is responsible to inform it about an...
Definition: OgreBillboardSet.h:825
const Matrix4 & getTextureTransformMatrix(size_t index) const
Real getMaximumDepthInputValue(void)
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
Definition: OgreGL3PlusRenderSystem.h:504
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
virtual bool preCreateGpuPrograms(ProgramSet *programSet)
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:68
virtual BackgroundProcessTicket loadResourceGroup(const String &name, Listener *listener=0)
Loads a resource group in the background.
static long _getDictionaryLong(CFDictionaryRef dict, const void *key)
const String & getName(void) const
See RenderSystem.
~ParallaxCorrectedCubemap()
@ ST_DUAL_QUATERNION
Definition: OgreShaderPrerequisites.h:96
virtual const SceneManagerMetaData & getMetaData(void) const
Get information about the SceneManager type created by this factory.
Definition: OgreSceneManager.h:3350
@ RSC_GEOMETRY_PROGRAM
Supports hardware geometry programs.
Definition: OgreRenderSystemCapabilities.h:131
void setToInverse(void)
Calculates the inverse of the matrix.
OldNodeTrackIterator getOldNodeTrackIterator(void) const
Get non-updateable iterator over node tracks.
Definition: OgreAnimation.h:419
void setAutoUpdateLod(TerrainAutoUpdateLod *updater)
BlendMode getBlendMode(unsigned short index) const
Return the blend mode of the given texture unit index.
void _setParent(OverlayContainer *parent)
Definition: OgreOverlayElement.h:434
Real getNDF(const Vector3 &posLS) const
Gets the Normalized Distance Function.
void useAncestorVertexData(TerrainQuadTreeNode *owner, uint16 treeDepthEnd, uint16 resolution)
Tell a node that it should use an anscestor's vertex data.
void doSet(void *target, const String &val)
virtual void loadPage(PageID pageID, bool forceSynchronous=false)
Ask for a page to be loaded with the given (section-relative) PageID.
virtual_l2 Vector3 getScale(void) const
Gets the scaling factor of this node.
virtual Real getBaseValue() const
Get the value of the first (highest) level of detail.
void clearVertices(void)
Clear all vertices.
bool useSharedVertices
Indicates if this submesh shares vertex data with other meshes or whether it has it's own vertices.
Definition: OgreSubMesh.h:73
void fromRotationTranslation(const Quaternion &q, const Vector3 &trans)
Construct a dual quaternion from a rotation described by a Quaternion and a translation described by ...
void _growToDepth(const vector< size_t >::type &bonesPerDepth)
Since skeleton's hierarchy structure is known beforehand, we use this information for setting a bette...
Definition of a pool of resources, which users can use to reuse similar resources many times without ...
Definition: OgreResourceManager.h:503
static size_t getMemorySize(uint32 width, uint32 height, uint32 depth, PixelFormat format)
Returns the size in memory of a region with the given extents and pixel format with consecutive memor...
IteratorWrapper< T, IteratorType, typename T::mapped_type >::PointerType PointerType
Redefined PointerType for a map/set.
Definition: OgreIteratorWrapper.h:260
@ OT_PATCH_28_CONTROL_POINT
Definition: OgreHlmsPso.h:87
@ GCT_SAMPLER_WRAPPER2D
Definition: OgreGpuProgramParams.h:116
~BillboardParticleRendererFactory()
virtual Real getMinRepeatDelay(void) const
Gets the minimum duration of this emitter in seconds (see setRepeatDelay for more details)
HardwareBufferManagerBase * getHardwareBufferManager()
@ PBSM_SPECULAR
Definition: OgreHlmsPbsPrerequisites.h:59
virtual void setUavStartingSlot(uint32 startingSlot)
In Direct3D11, UAV & RenderTargets share the same slots.
@ RSC_NON_POWER_OF_2_TEXTURES
Supports non-power of two textures.
Definition: OgreRenderSystemCapabilities.h:119
~GL3PlusHardwareOcclusionQuery()
Object destructor.
@ RIM_LINEAR
Values are interpolated linearly.
Definition: OgreAnimation.h:110
void setReadOnly(bool readOnlyDepth, bool readOnlyStencil)
RenderSystem::RenderSystemContext * rsContext
Definition: OgreSceneManager.h:870
void setConstant(size_t index, const Vector3 &vec)
Sets a 4-element floating-point parameter to the program via Vector3.
size_t length
Amount of bytes to copy.
Definition: OgreStagingBuffer.h:90
virtual const Vector3 & getScale(void) const
Gets the scaling factor of this OldNode.
Definition: OgreWin32EGLWindow.h:38
Definition: OgreMetalTextureManager.h:37
void _updateAutoProperties(void)
void freeVertexBuffers(const HardwareVertexBufferSharedPtr &posbuf, const HardwareVertexBufferSharedPtr &deltabuf)
Free (or return to the pool) vertex buffers for terrain.
SkinningData()
Definition: OgreShaderExHardwareSkinning.h:61
void setOrigin(const Vector3 &origin)
Sets the origin of the ray.
Definition: OgreRay.h:56
GL3PlusSurfaceDesc()
Definition: OgreGL3PlusRenderTexture.h:50
void getUV(Real &u1, Real &v1, Real &u2, Real &v2) const
Get the uv coordinates for the panel.
Vector3(const Real scaler)
Definition: OgreVector3.h:89
PrefabType
Prefab shapes available without loading a model.
Definition: OgreSceneManager.h:1460
void doSet(void *target, const String &val)
@ BCT_BOOL
Definition: OgreGpuProgramParams.h:55
KfTransform *RESTRICT_ALIAS mBoneTransform
Definition: OgreSkeletonTrack.h:46
Comparator function to be used for sorting.
Definition: OgreShaderFunctionAtom.h:233
void setTop(Real Top)
Sets the top of this element in relation to the screen (where 0 = top, 1.0 = bottom)
const AxisAlignedBox & getBounds(void) const
Get the axis-aligned bounding box for this mesh.
void remove2D(OverlayContainer *cont)
Removes a 2D container from the overlay.
int visual
Definition: OgreX11EGLSupport.h:85
@ M_GEOMETRY_TEXCOORDS
Definition: OgreMeshFileFormat.h:369
FunctionAtomInstanceList & getAtomInstances()
Return list of atom instances composing this function.
Definition: OgreShaderFunction.h:156
virtual void _renderEmulatedNoBaseInstance(const CbDrawCallStrip *cmd)
@ ID_PSSM_LAMBDA
Definition: OgreScriptCompiler.h:955
const Vector3 & getVertex(size_t vertex) const
Returns a vertex.
static const ColourValue Black
Definition: OgreColourValue.h:61
virtual ~GL3PlusContext()
Contains information needed by PBS (Physically Based Shading) for OpenGL ES 2.0.
Definition: OgreHlmsPbsMobileDatablock.h:51
size_t getVertexShaderCount() const
Return the current number of generated vertex shaders.
virtual bool isVertexTextureFetchRequired(void) const
Returns whether this vertex program requires support for vertex texture fetch from the hardware.
Definition: OgreGpuProgram.h:359
Vector3(const Real afCoordinate[3])
Definition: OgreVector3.h:70
virtual ~ProgramWriterFactory()
Definition: OgreShaderProgramWriterManager.h:51
virtual Real getDuration(void) const
Gets the duration of the emitter from when it is created or re-enabled.
void _notifyObjectDetached(const MovableObject *mov)
Internal method, makes sure an object is removed from the leaves when detached from a node.
static Radian Sqrt(const Radian &fValue)
Square root function.
Definition: OgreMath.h:431
Definition of container that holds the current bool constants.
Definition: OgreGpuProgramParams.h:628
bool isVisible(void) const
RenderWindow::isVisible
Request(uint16 channel, uint16 rtype, const Any &rData, uint8 retry, RequestID rid)
Constructor.
Vector3 mC7
Definition: OgreVolumeDualGridGenerator.h:52
static const Vector2 UNIT_Y
Definition: OgreVector2.h:586
Real distance(const Vector2 &rhs) const
Returns the distance to another vector.
Definition: OgreVector2.h:357
void setParentEntity(Entity *pEntity)
static const String FACTORY_TYPE_NAME
Factory type name.
Definition: OgrePCZSceneManager.h:387
ushort getMaxCalculableBoneCount() const
The maximum number of bones for which hardware skinning is performed.
Definition: OgreShaderExHardwareSkinning.h:249
unsigned long getLastVisibleFrame(void)
Get the lastVisibleFrame counter value.
Definition: OgrePCZone.h:116
Definition: OgreD3D11MultiRenderTarget.h:36
void addVariable(const String &name)
static ArrayReal InvNonZero4(ArrayReal val)
Returns the reciprocal of x.
Definition: OgreMathlibC.h:346
Enumeration of queue groups, by which the application may group queued renderables so that they are r...
Definition: OgreRenderQueue.h:84
bool operator>=(const Degree &d) const
Definition: OgreMath.h:135
void doSet(void *target, const String &val)
uint16 xIdx
Definition: OgreHlmsPbsDatablock.h:51
GL3PlusFBOManager(const GL3PlusSupport &support)
Real weight
Definition: OgreVertexBoneAssignment.h:67
virtual BoneIterator getRootBoneIterator(void)
Get an iterator over the root bones in the skeleton, ie those with no parents.
ScriptLoader * _findScriptLoader(const String &pattern)
Method used to directly query for registered script loaders.
virtual Camera * createCamera(const String &name)
Creates a specialized OctreeCamera.
Definition: OgreMetalNullTexture.h:36
void bindParameters(GpuProgramParametersSharedPtr params, uint16 mask)
Execute the param binding functions for this shader.
LayerBlendSource source1
The first source of colour/alpha.
Definition: OgreBlendMode.h:147
float mFresnelR
Definition: OgrePbsMobileShaderCreationData.h:58
DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
const Vector4 & getCustomParam(unsigned char idx)
virtual void frameEnded(void)
Called when the frame has fully ended (ALL passes have been executed to all RTTs)
Definition: OgreHlms.h:706
void destroy()
Definition: OgreAny.h:138
@ TexturesOriginal
See HlmsDatablock::saveTextures.
Definition: OgreSceneFormatBase.h:63
ShadowNodeRecalculation mShadowNodeRecalculation
Definition: OgreCompositorPassSceneDef.h:80
void rotate(const Vector3 &axis, const Radian &angle)
Rotate the camera around an arbitrary axis.
virtual ~RequestHandler()
Definition: OgreWorkQueue.h:166
void setDatablock(IdString datablockName)
Assigns a datablock (i.e.
~DefaultAxisAlignedBoxSceneQuery()
@ OT_PATCH_23_CONTROL_POINT
Definition: OgreHlmsPso.h:82
@ VES_BLEND_INDICES2
Second pair of blending indices (i.e. more than 4, less or equal than 8)
Definition: OgreVertexElements.h:62
virtual ~PageContentCollectionFactory()
Definition: OgrePageContentCollectionFactory.h:51
virtual unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
void destroyPortal(Portal *p)
Delete a portal instance by pointer.
const HlmsBlendblock * getBlendblock(void) const
Retrieves current blendblock.
Real getWidth(void) const
Gets the width of this element in relation to the screen (where 1.0 = screen width)
const CompositorTextureVec & getCompositorTextures(void) const
Definition: OgreSceneManager.h:1555
list< PCZone * >::type PCZoneList
Definition: OgrePCZone.h:70
@ ID_PSSM_SPLIT_PADDING
Definition: OgreScriptCompiler.h:952
AutoConstantEntry * getAutoConstantEntry(const size_t index)
Gets a specific Auto Constant entry if index is in valid range otherwise returns a NULL.
virtual void setFocalLength(Real focalLength=1.0)
Sets frustum focal length (used in stereo rendering).
@ False
Definition: OgreX11EGLSupport.h:71
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
HardwareIndexBufferSharedPtr()
Definition: OgreHardwareIndexBuffer.h:84
virtual void getInterpolatedKeyFrame(const TimeIndex &timeIndex, KeyFrame *kf) const =0
Gets a KeyFrame object which contains the interpolated transforms at the time index specified.
virtual Real getRenderingDistance(void) const
Gets the distance at which batches are no longer rendered.
Definition: OgreStaticGeometry.h:625
DepthBuffer * _addManualDepthBuffer(IDirect3DDevice9 *depthSurfaceDevice, IDirect3DSurface9 *surf)
This function is meant to add Depth Buffers to the pool that aren't released when the DepthBuffer is ...
SubRenderState * createSubRenderState(const String &type)
Create an instance of sub render state from a given type.
static String eventType
Definition: OgreScriptCompiler.h:580
uint8 lastRq
Last RenderQueue ID to render (exclusive)
Definition: OgreSceneManager.h:160
@ ID_IN
Definition: OgreScriptCompiler.h:820
D3D11HLSLProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, D3D11Device &device)
bool isRenderedAtCurrentLod() const
Returns whether this node is rendering itself at the current LOD level.
bool hasGeometryProgram(void) const
Returns true if this pass uses a programmable geometry pipeline.
Definition: OgrePass.h:190
void setUseIdentityView(bool useIdentityView)
Sets whether or not to use an 'identity' view.
vector< NodeAnimationTrack * >::type NodeTrackList
Definition: OgreAnimation.h:397
void updateFaceNormals(size_t vertexSet, const HardwareVertexBufferSharedPtr &positionBuffer)
Updates the face normals for this edge list based on (changed) position information,...
float getBlueAdjust(void) const
Gets the blue adjustment to be made per second to particles.
static const IdString AnimationMatricesPerBuffer
Definition: OgreUnlitProperty.h:46
Triplanar Texturing.
Definition: OgreShaderExTriplanarTexturing.h:50
void update(void *controlPointBuffer, size_t width, size_t height, size_t uMaxSubdivisionLevel, size_t vMaxSubdivisionLevel, PatchSurface::VisibleSide visibleSide)
Update the mesh with new control points positions.
void reset(void)
Destroys all collected samples and starts over.
void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
A sphere primitive, mostly used for bounds checking.
Definition: OgreSphere.h:51
void serialize(const Vector3 &from, const Vector3 &to, float voxelWidth, const String &file)
Serializes a volume source to a discrete grid file with deflated compression.
String doGet(const void *target) const
bool isPointRenderingEnabled(void) const
Returns whether point rendering is enabled.
static void collectSamplerblocks(const HlmsDatablock *datablock, set< const HlmsSamplerblock * >::type &outSamplerblocks)
void setBottomLeftBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the bottom-left corner of the border.
static const Vector2 UNIT_X
Definition: OgreVector2.h:585
virtual void activate(void)=0
Makes a program object active by making sure it is linked and then putting it in use.
@ WorldAabb
Definition: OgreArrayMemoryManager.h:368
virtual void setCurrentPassIterationCount(const size_t count)
set the current multi pass count value.
Definition: OgreRenderSystem.h:1233
virtual void setDepthBufferPool(uint16 poolId)
Sets the pool ID this RenderTarget should query from.
static float snorm8ToFloat(int8 v)
Definition: OgreBitwise.h:435
~DefaultHardwareBufferManager()
Definition: OgreDefaultHardwareBufferManager.h:192
@ SPC_LIGHTDIRECTION_OBJECT_SPACE0
Light direction in object space index 0-7.
Definition: OgreShaderParameter.h:167
virtual void unloadPage(PageID pageID, bool forceSynchronous=false)
Ask for a page to be unloaded with the given (section-relative) PageID.
virtual void createNodeZoneData(PCZSceneNode *)
Create zone specific data for a node.
int numNodes()
Returns the number of scene nodes attached to this octree.
Definition: OgreOctree.h:76
@ SPC_LIGHTDIRECTION_OBJECT_SPACE4
Definition: OgreShaderParameter.h:171
void setDecalsDiffuse(const TexturePtr &tex)
Sets the decal texture for diffuse.
Definition: OgreSceneManager.h:1360
void destroySubMesh(unsigned short index)
Destroy a SubMesh with the given index.
RenderOperation * getRenderOperation(void)
Retrieve render operation for manipulation.
@ OT_POINT_LIST
A list of points, 1 vertex per point.
Definition: OgreHlmsPso.h:48
@ ID_TRIANGLE
Definition: OgreScriptCompiler.h:791
@ SKELETONS_SUPPORTED
Definition: OgreInstanceBatch.h:101
Terrain * instance
Actual terrain instance.
Definition: OgreTerrainGroup.h:330
static String TargetLanguage
Definition: OgreShaderHLSLProgramWriter.h:75
void notifyCameraCreated(Camera *c)
called when the scene manager creates a camera because some zone managers (like TerrainZone) need the...
void makeFloor(const Vector3 &cmp)
Sets this vector's components to the minimum of its own and the ones of the passed in vector.
Definition: OgreVector3.h:544
float point[3]
Definition: OgreQuake3Types.h:209
virtual void injectMovableObject(MovableObject *m)
Inject a MovableObject instance created externally.
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgreOldNode.h:744
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
FileInfoListPtr findFileInfo(const String &pattern, bool recursive=true, bool dirs=false)
Find all files or directories matching a given pattern in this archive and get some detailed informat...
GLES2OldVertexArrayObject()
virtual Real getNearClipDistance(void) const
Sets the position of the near clipping plane.
static const IdString UvDiffuse12
Definition: OgreUnlitProperty.h:87
@ ENV_PLANAR
Envmap based on vector from camera to vertex position, good for planar geometry.
Definition: OgreTextureUnitState.h:97
virtual uint32 getWidth(void) const
static GLenum getGLType(unsigned int type)
Utility function to get the correct GL type based on VET's.
Definition: OgreGL3PlusHardwareBufferManager.h:130
void _genMipmaps()
Internal function to update mipmaps on update of level 0.
float getHeightAtWorldPosition(Real x, Real y, Real z, Terrain **ppTerrain=0)
Get the height data for a given world position (projecting the point down on to the terrain underneat...
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
const BufferSourceVec & getBufferSources(void) const
Definition: OgreCompositorPassComputeDef.h:137
Frustum * getCullingFrustum(void) const
Returns the custom culling frustum in use.
Definition: OgreCamera.h:603
virtual void removeResponseHandler(uint16 channel, ResponseHandler *rh)=0
Remove a Response handler.
const T & const_reference
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:240
GLES2DefaultHardwareBufferManagerBase()
virtual void * getProcAddress(const char *procname) const =0
Get the address of a function.
Standard 2-dimensional vector.
Definition: OgreVector2.h:51
VisibleSide
Definition: OgrePatchSurface.h:71
@ GMM_RELATIVE_ASPECT_ADJUSTED
Positions & sizes are in virtual pixels.
Definition: OgreOverlayElement.h:64
bool copyTo(DepthBuffer *destination)
Copies the contents of the DepthBuffer to the destination.
static const IdString UsePrePass
Definition: OgreHlms.h:827
Definition: OgreD3D11Device.h:37
size_t size
Definition: OgreNULLVaoManager.h:53
virtual void setValue(const Quaternion &)
Set value.
Definition: OgreAnimable.h:168
virtual BufferPackedTypes getBufferPackedType(void) const
Useful to query which one is the derived class.
Definition: OgreUavBufferPacked.h:54
static PixelFormat getFormatFromName(const String &name, bool accessibleOnly=false, bool caseSensitive=false)
Gets the format from given name.
PagedWorldSection * createWorldSection(const String &typeName, const String &name, PagedWorld *parent, SceneManager *sm)
Create a new instance of PagedWorldSection using the registered factories.
void saveMaterials(const Hlms *hlms, String &outString, const String &additionalTextureExtension)
Saves all the Datablocks defined in the given Hlms into a JSON formatted string.
void attachToProgramObject(const GLuint programObject)
const Vector3 getCenterFront(void) const
Gets the center of the corners 2, 3, 6, 7.
Definition: OgreVolumeOctreeNode.h:301
Definition: OgreNaClGLContext.h:40
Utility class which defines the sub-parts of an Entity.
Definition: OgreSubEntity.h:64
@ SBT_TRANSPARENT_COLOUR
Make the object transparent based on the colour values in the texture (brighter = more opaque)
Definition: OgreBlendMode.h:220
int XRRConfigCurrentConfiguration(XRRScreenConfiguration *config, Rotation *rotation)
bool getSourceModifier(unsigned short index, SourceModifier &modType, int &customNum) const
Returns the source modifier parameters for a given texture unit.
@ UNLIT_BLEND_OVERLAY
Definition: OgreHlmsUnlitPrerequisites.h:71
const Vector3 & _getCachedRealPosition(void) const
Definition: OgreCamera.h:420
bool applyTextureAliases(const AliasTextureNamePairList &aliasList, const bool apply=true) const
Applies texture names to Texture Unit State with matching texture name aliases.
unsigned char * getSwBufferPtr(void)
Definition: OgreIndirectBufferPacked.h:51
int flags
Definition: OgreX11EGLSupport.h:87
Alignment getAlignment() const
Definition: OgreTextAreaOverlayElement.h:121
void destroyAllTracks(void)
Removes and destroys all tracks making up this animation.
virtual void setPageRangeMinY(int32 minY)
Set the index range of all Pages (values outside this will be ignored)
const Radian & getRotationRangeStart(void) const
Gets the minimum rotation of particles to be emitted.
ReadBarrier
Definition: OgreResourceTransition.h:83
virtual const String & getMovableType(void) const
Returns the type name of this object.
Definition: OgreMovableObject.h:629
bool hasSkeleton(void) const
Returns whether or not this Item is skeletally animated.
Definition: OgreItem.h:190
T left
Definition: OgreCommon.h:735
PageProvider()
Definition: OgrePageManager.h:60
GeneralAllocatedObject StereoDriverAlloc
Definition: OgreMemoryAllocatorConfig.h:347
@ ACT_VIEW_UP_VECTOR
This variable provides the view up vector (world space).
Definition: OgreGpuProgramParams.h:1252
ViewportRenderTargetFlags
Definition: OgreViewport.h:45
VertexElementType getColourVertexElementType(void) const
See RenderSystem.
Definition: OgreD3D9MultiRenderTarget.h:40
void addVertex(size_t index, const Vector3 &offset)
Adds an offset to a vertex for this pose.
HlmsSamplerblock const * samplerBlock
Definition: OgreCbTexture.h:40
const Vector3 & getCenter(void) const
void setRotationSpeedRangeEnd(const Radian &angle)
Sets the maximum rotation speed of particles to be emitted.
ParamVec mParams
Definition: OgreShaderParams.h:145
@ OT_PATCH_14_CONTROL_POINT
Definition: OgreHlmsPso.h:73
virtual void getMidPointGridSpace(int32 x, int32 y, int32 z, Vector3 &mid)
void readData(size_t offset, size_t length, void *pDest)
Reads data from the buffer and places it in the memory pointed to by pDest.
bool validateMaterial(const String &schemeName, const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Validate specific material scheme.
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
@ ID_IDENTIFIER
Definition: OgreScriptCompiler.h:855
Concrete IteratorWrapper for nonconst access to the underlying container.
Definition: OgreIteratorWrapper.h:186
virtual bool createCpuSubPrograms(ProgramSet *programSet)
Create sub programs that represents this sub render state as part of a program set.
void setSortingEnabled(bool enabled)
Set whether or not particles are sorted according to the camera.
Definition: OgreParticleSystem.h:543
@ PBSM_DETAIL1_NM
Definition: OgreHlmsPbsPrerequisites.h:68
virtual void createInternalResources(void)
Creates the internal texture resources for this texture.
@ PF_DXT4
DDS (DirectDraw Surface) DXT4 format.
Definition: OgrePixelFormat.h:118
PCZAxisAlignedBoxSceneQuery(SceneManager *creator)
virtual void reset(void)
Clears any of the entities / nodes added to this geometry and destroys anything which has already bee...
ColourValue mColourValue
Definition: OgreCompositorPassClearDef.h:51
Represents Texture buffers (also known as tbuffers in D3D11)
Definition: OgreTexBufferPacked.h:40
void initialize()
Render-System specific data.
Definition: OgreHlmsPso.h:197
static const String & getPointLightExtruderVs_glslesFiniteDebug(void)
Get extruder program source for debug point lights, compatible with glsles.
Definition: OgreShadowVolumeExtrudeProgram.h:310
TargetRenderState()
Class default constructor.
@ SPC_LIGHTPOSITION_OBJECT_SPACE5
Definition: OgreShaderParameter.h:212
PCZRaySceneQuery(SceneManager *creator)
TexturePtr texture
Definition: OgreHlmsPbsDatablock.h:50
static IDirect3DDevice9 * getActiveD3D9Device()
A caching Source.
Definition: OgreVolumeCacheSource.h:52
virtual SceneManager * createInstance(const String &instanceName, size_t numWorkerThreads, InstancingThreadedCullingMethod threadedCullingMethod)=0
Create a new instance of a SceneManager.
void addStrategy(PageStrategy *strategy)
Add a new PageStrategy implementation.
virtual void setInputOperationType(OperationType operationType)
Sets the operation type that this geometry program expects to receive.
Definition: OgreGLSLShader.h:123
Real getVerticalTexelOffset()
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
virtual IdString addTextureSourceName(const String &name, size_t index, TextureSource textureSource)
Overloaded to prevent creating input channels.
IdString name
Definition: OgreCompositorNamedBuffer.h:48
void assign(QueuedSubMesh *qsm, ushort atLod)
Assign a queued submesh to this bucket, using specified mesh LOD.
bool getSharedVertexDataAnimationIncludesNormals() const
Returns whether animation on shared vertex data includes normals.
Definition: OgreMesh.h:933
int msEdges[16]
Definition: OgreVolumeIsoSurfaceTablesMC.h:334
bool _getMorphRequired() const
Get whether LOD morphing is needed.
Definition: OgreTerrain.h:1482
Real getWorldSize() const
Get the size of the terrain in world units.
@ SPC_LIGHTDIRECTION_OBJECT_SPACE5
Definition: OgreShaderParameter.h:172
bool getColourWrite(void) const
Vector2(const Real afCoordinate[2])
Definition: OgreVector2.h:74
virtual uint8 getMaxLayers(const Terrain *terrain) const
Get the maximum number of layers supported with the given terrain.
Definition: OgreTerrainMaterialGenerator.h:325
static void toUpperCase(String &str)
Upper-cases all the characters in the string.
bool hasColour(void) const
If this returns false, the values of mR, mG, mB & mA will be ignored.
Definition: OgreHlmsUnlitDatablock.h:171
MeshPtr prepare(const String &filename, const String &groupName, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexBufferShadowed=true, bool indexBufferShadowed=true)
Prepares a mesh for loading from a file.
@ ID_SHADING
Definition: OgreScriptCompiler.h:689
static PropertyType getTypeForValue(const String &val)
Definition: OgreProperty.h:163
LightFactory()
Definition: OgreLight.h:606
virtual void _hlmsSamplerblockCreated(HlmsSamplerblock *newBlock)
virtual void destroyParticleSystem(ParticleSystem *obj)
Removes & destroys a ParticleSystem from the SceneManager.
Real skyDomeDistance
Definition: OgreSceneManager.h:308
bool requiresZoneSpecificNodeData(void)
Indicates whether or not this zone requires zone-specific data for each scene node.
_StringBase String
Definition: OgreCommon.h:53
void setSaveMicrocodesToCache(const bool val)
Set if the microcode of a shader should be saved to a cache.
LodInfo & getLodInfo(uint lodLevel)
Definition: OgreTerrainLodManager.h:120
OverlayElement representing a flat, single-material (or transparent) panel which can contain other el...
Definition: OgrePanelOverlayElement.h:60
Definition: OgrePlanarReflectionActor.h:75
ImageDownsamplerCube downscale2x_Float32_XXXA_cube
Definition: OgreImageDownsampler.h:156
@ M_ANIMATION_BASEINFO
Definition: OgreMeshFileFormat.h:161
GeometryAllocatedObject PatchAlloc
Definition: OgreMemoryAllocatorConfig.h:320
const Vector3 getCorner1(void) const
Gets the coordinate of corner 1.
Definition: OgreVolumeOctreeNode.h:454
STBIImageCodec(const String &type)
static ParameterPtr createOutTexcoord1(int index, Parameter::Content content)
~D3D11MultiRenderTarget()
CategorisedAllocPolicy< Ogre::MEMCATEGORY_GENERAL > GeneralAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:265
uint16 getLODLevelWhenVertexEliminated(long rowOrColulmn) const
Utility method, get the first LOD Level at which this vertex is no longer included.
MeshPtr createManual(const String &name, const String &groupName, ManualResourceLoader *loader=0)
Creates a new Mesh specifically for manual definition rather than loading from an object file.
virtual void getCornersGridSpace(int32 x, int32 y, Vector2 *pFourPoints)
Get the (grid space) corners of a cell.
virtual void _setVertexArrayObject(const VertexArrayObject *vao)
Part of the low level rendering interface.
void updateUniformBlocks(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object uniform blocks using data from GpuProgramParameters.
void _reload()
Detects all supported fbo's and recreates the tempory fbo.
This class defines a ParticleAffector which deflects particles.
Definition: OgreDeflectorPlaneAffector.h:47
void setConfigOption(const String &name, const String &value)
Sets an option for this API.
Shared pointer implementation used to share pixel buffers.
Definition: OgreHardwarePixelBuffer.h:200
@ D3D_NO_EXCEPTION
Definition: OgreD3D11Device.h:90
@ HLMS_USER1
Definition: OgreHlmsCommon.h:173
void setScrollAnimation(Real uSpeed, Real vSpeed)
Sets up an animated scroll for the texture layer.
FontPtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new font.
void setSchemeName(const String &schemeName)
Set the 'scheme name' for this technique.
virtual void setAlphaTestThreshold(float threshold)
Alpha test's threshold.
void getTransforms(SimpleMatrixAf4x3 *RESTRICT_ALIAS outTransform, const FastArray< unsigned short > &usedBones) const
Real getScrollY(void) const
Gets the current Y scroll value.
ResourcePtr load(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *loadParams=0)
Loads a BSP-based level from the named file.
Manages the target rendering window.
Definition: OgreRenderWindow.h:63
virtual Endian getEndian() const
Get the endian mode.
Definition: OgreStreamSerialiser.h:138
@ GPU_AMD
Definition: OgreRenderSystemCapabilities.h:291
RawSimdUniquePtr(size_t numElements)
Definition: OgreRawPtr.h:59
size_t getPassNumber(const CompositorPassDef *passDef) const
Returns the pass # of the given pass definition in this node.
GeneralAllocatedObject PropertyAlloc
Definition: OgrePropertyPrerequisites.h:37
@ ID_ONE_MINUS_DEST_ALPHA
Definition: OgreScriptCompiler.h:660
static bool RealEqual(Real a, Real b, Real tolerance=std::numeric_limits< Real >::epsilon())
Compare 2 reals, using tolerance for inaccuracies.
Representation of a dynamic light source in the scene.
Definition: OgreLight.h:71
bool operator==(const HlmsPassPso &_r) const
Definition: OgreHlmsPso.h:122
v1::VertexData * vertexData
Definition: OgreVertexShadowMapHelper.h:126
const Radian & getTextureRotate(void) const
Get texture rotation effects angle value.
Definition: OgreShaderExTextureAtlasSampler.h:223
void destroyNode(BoneTransform &inOutTransform)
Releases memory acquired through.
CompareFunction getAlphaRejectFunction(void) const
Gets the alpha reject function.
Definition: OgrePass.h:702
void setInstancesPerBatch(size_t instancesPerBatch)
Raises an exception if trying to change it after creating the first InstancedEntity.
virtual void undoReadChunk(uint32 id)
Call this to 'rewind' the stream to just before the start of the current chunk.
HlmsManager * getHlmsManager(void) const
Gets the HlmsManager, which is needed to register generators at startup.
Definition: OgreRoot.h:322
const IteratorType & end()
Bookmark to the end (one behind the last element) of the underlying collection.
Definition: OgreIteratorWrapper.h:117
void setInnerSizeZ(Real z)
Sets the z component of the area inside the ellipsoid which doesn't emit particles.
@ PASS_UAV
Definition: OgreCompositorPassDef.h:57
virtual ~HlmsPbsMobileDatablock()
bool operator!=(const AnimationState &rhs) const
Inequality operator.
void loadingComplete(Resource *prog)
Called whenever the resource finishes loading.
virtual void normal(const Vector3 &norm)
Add a vertex normal to the current vertex.
static String FACTORY_TYPE_NAME
Definition: OgreEntity.h:747
virtual void destroyLight(const String &name)
Removes the named light from the scene and destroys it.
virtual OldNode * removeChild(unsigned short index)
Drops the specified child from this OldNode.
virtual void _renderEmulated(const CbDrawCallStrip *cmd)
static const IdString TexMatrixCount
Definition: OgreHlmsUnlitMobile.h:95
Real getSquaredViewDepth(const Camera *cam) const
Overridden from Renderable.
virtual void _makeOrthoMatrix(const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)=0
Builds an orthographic projection matrix suitable for this render system.
void _calcZonesAffectedByLights(Camera *cam)
Calculate which zones are affected by each light.
bool getShareableDepthBuffer(void) const
Definition: OgreGLES2DepthTexture.h:48
Vector3 vScale
Definition: OgreSkeletonDef.h:51
void addDependency(const String &libFileName)
Add dependency for this program.
virtual String getErrorDescription(long errorNumber) const =0
Returns a description of an error code.
static CommandBufferExecuteFunc execute_disableTextureUnitsFrom
Definition: OgreCommandBuffer.h:90
virtual void _notifyParentNodeMemoryChanged(void)
@See Node::_callMemoryChangeListeners
Definition: OgreMovableObject.h:209
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
@ SPC_POSITION_LIGHT_SPACE1
Definition: OgreShaderParameter.h:94
SkeletonInstance * createSkeletonInstance(const SkeletonDef *skeletonDef)
Creates an instance of a skeleton based on the given definition.
Region(IdType id, ObjectMemoryManager *objectMemoryManager, StaticGeometry *parent, SceneManager *mgr, uint32 regionID, const Vector3 ¢re)
const String & getNormalMapTextureName() const
Return the normal map texture name.
Definition: OgreShaderExNormalMapLighting.h:140
void setDatablockOrMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the material to use for the whole of this Item.
void windowMovedOrResized(void)
Overridden - see RenderWindow.
Real getNormalMapWeight(void) const
Returns the detail normal maps' weight.
uint32 texUnitIdx
Index of texture unit state to change.
Definition: OgreCompositorPassComputeDef.h:56
Local texture definition.
Definition: OgreTextureDefinition.h:75
vector< Bone * >::type BoneVec
Definition: OgreSceneNode.h:38
void destroy(HighLevelGpuProgram *prog)
CbStartV1LegacyRendering()
@ PF_R32_UINT
32-bit pixel format, 32 bits red (unsigned int).
Definition: OgrePixelFormat.h:176
virtual ~OverlayElementFactory()
Destroy the overlay element factory.
Definition: OgreOverlayElementFactory.h:62
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
virtual v1::Entity * createEntity(PrefabType ptype, SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Create an Entity (instance of a discrete mesh) from a range of prefab shapes.
GeneralAllocatedObject SerializerAlloc
Definition: OgreMemoryAllocatorConfig.h:328
virtual const DisplayString & getCaption(void) const
Gets the caption for this element.
Definition: OgreThreads.h:91
Definition: OgreSceneManager.h:227
Definition: OgreGL3PlusNullTexture.h:91
Quaternion(Real *valptr)
Construct a quaternion from 4 manual w/x/y/z values.
Definition: OgreQuaternion.h:92
CompositorWorkspaceDef * addWorkspaceDefinition(const String &name)
Returns a new workspace definition.
@ ENDIAN_AUTO
Automatically determine endianness.
Definition: OgreStreamSerialiser.h:74
static ArrayMaskR CompareGreater(ArrayReal a, ArrayReal b)
Returns the result of "a > b".
Definition: OgreMathlibC.h:254
bool outSkipped
Whether the Lod level generation was skipped, because it has same vertex count as the previous Lod le...
Definition: OgreLodConfig.h:122
A volume source from a discrete 3d grid.
Definition: OgreVolumeGridSource.h:44
virtual SubRenderState * createOrRetrieveInstance(SGScriptTranslator *translator)
Retrieve the previous instance the SRS in the script translator or create a new instance if not found...
@ ID_DEPTH_FAIL_OP
Definition: OgreScriptCompiler.h:923
Interface to a general purpose request / response style background work queue.
Definition: OgreWorkQueue.h:72
uint8 getExecutionMask(void) const
Definition: OgreCompositorWorkspace.h:316
Glib::RefPtr< const Gdk::GL::Context > getMainContext() const
@ GCT_MATRIX_4X4
Definition: OgreGpuProgramParams.h:88
uint64 getMicrosecondsCPU()
Returns microseconds since initialisation or last reset, only CPU time measured.
Command object for nonvisible timeout (see ParamCommand).
Definition: OgreParticleSystem.h:141
@ TID_END
Definition: OgreScriptLexer.h:56
virtual bool isVisible(const AxisAlignedBox &bound, FrustumPlane *culledBy=0) const
Tests whether the given container is visible in the Frustum.
@ BP_TYPE_CONST
Definition: OgreBufferPacked.h:86
virtual void getInterpolatedKeyFrame(const TimeIndex &timeIndex, KeyFrame *kf) const
Gets a KeyFrame object which contains the interpolated transforms at the time index specified.
static const int TextureShiftTransp
Definition: OgreRenderQueue.h:279
TextureMapType mapType
Definition: OgreHlmsTextureManager.h:146
ComPtr() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:126
void setWorldSize(Real newWorldSize)
Set the world size of terrain.
const ColourValue & getSurfaceDiffuseColour(void) const
ArrayVector3()
Definition: C/OgreArrayVector3.h:69
uint32 primCount
Definition: OgreCbDrawCall.h:44
bool hasMovableObjectFactory(const String &typeName) const
Checks whether a factory is registered for a given MovableObject type.
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgreRenderable.h:382
@ FRUSTUM_PLANE_BOTTOM
Definition: OgreFrustum.h:77
size_t getDualCellCount(void) const
Gets the amount of generated dual cells.
Definition: OgreVolumeDualGridGenerator.h:332
static const IdString BlendModeIndex0
Definition: OgreHlmsPbs.h:385
vector< IdString >::type IdStringVec
Definition: OgreIdString.h:332
TRect(T const &l, T const &t, T const &r, T const &b)
Definition: OgreCommon.h:737
@ NUM_COMPARE_FUNCTIONS
Definition: OgreCommon.h:105
virtual v1::HardwarePixelBufferSharedPtr getBuffer(size_t face=0, size_t mipmap=0)=0
Return hardware pixel buffer for a surface.
@ ID_LOD_DISTANCES
Definition: OgreScriptCompiler.h:625
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
virtual bool canDownload(size_t length) const
Checks if this staging buffer has enough free space to use _asyncDownload.
const SplitPointList & getSplitPoints() const
Returns the calculated split points.
Definition: OgreShadowCameraSetupPSSM.h:118
void setNormalMapFiltering(const FilterOptions minFilter, const FilterOptions magFilter, const FilterOptions mipFilter)
Set the normal map filtering attributes.
Definition: OgreShaderExNormalMapLighting.h:148
virtual void * getRenderSystemData(void)
An internal function that should be used only by a render system for internal use.
Definition: OgreHardwareBuffer.h:351
ConfigOptionMap & getConfigOptions(void)
See RenderSystem.
String textureName
Definition: OgreQuake3Shader.h:70
virtual void queueBindUAV(uint32 slot, UavBufferPacked *buffer, ResourceAccess::ResourceAccess access=ResourceAccess::ReadWrite, size_t offset=0, size_t sizeBytes=0)
See other overload.
void _setGlTextureName(GLuint textureName)
ArrayReal squaredDistance(const ArrayVector3 &rhs) const
Returns the square of the distance to another vector.
MeshPtr createCurvedIllusionPlane(const String &name, const String &groupName, const Plane &plane, Real width, Real height, Real curvature, int xsegments=1, int ysegments=1, bool normals=true, unsigned short numTexCoordSets=1, Real uTile=1.0f, Real vTile=1.0f, const Vector3 &upVector=Vector3::UNIT_Y, const Quaternion &orientation=Quaternion::IDENTITY, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexShadowBuffer=true, bool indexShadowBuffer=true, int ySegmentsToKeep=-1)
Creates a plane, which because of it's texture coordinates looks like a curved surface,...
virtual void endCurrent()
This is called before another context is made current.
void setBatchesAsStatic(bool bStatic)
Tells this batch to stop updating animations, positions, rotations, and display all it's active insta...
void _datablockAdded(HlmsDatablock *datablock)
Internal function used by Hlms types to tell us a datablock has been created so that we can return it...
void setIrradianceVolume(IrradianceVolume *irradianceVolume)
Definition: OgreHlmsPbs.h:285
const VertexElement2 * findBySemantic(VertexElementSemantic semantic, size_t &outIndex, size_t &outOffset, size_t repeat=0) const
Returns the entire VertexElement2 descriptor in the vertex buffers.
void setCompositeMapEnabled(bool enabled)
Whether to use the composite map to provide a lower LOD technique in the distance (default true).
virtual void setRay(const Ray &ray)
Sets the ray which is to be used for this query.
static PixelFormat _getClosestSupportedPF(PixelFormat ogrePF)
utility method, find closest Ogre pixel format that D3D9 can support
void setAlphaRejectFunction(CompareFunction func)
Sets the alpha reject function.
virtual void calculateHash()
Calculates the hashes needed for sorting by the RenderQueue (i.e. mTextureHash)
virtual ~HighLevelGpuProgramFactory()
virtual void setMinDuration(Real min)
Sets the minimum duration of this emitter in seconds (see setDuration for more details)
String getImageAdjust(void) const
void build(v1::HardwareVertexBufferSharedPtr destVertexBuffer, size_t vertexStart, v1::HardwareIndexBufferSharedPtr destIndexBuffer, size_t indexStart)
Tells the system to build the mesh relating to the surface into externally created buffers.
ReadRequests(VertexElementSemantic _semantic)
Definition: OgreVertexArrayObject.h:193
Ogre::SharedPtr< T > argument_type
Definition: OgreSharedPtr.h:393
virtual const String & getType() const
@ ID_EXPOSE
Definition: OgreScriptCompiler.h:862
float normal[3]
Definition: OgreQuake3Types.h:198
Predefined controller function based on linear function interpolation.
Definition: OgrePredefinedControllers.h:289
virtual void setFsaaResolveDirty(void)
Depth buffers never resolve; only colour buffers do.
Definition: OgreMetalDepthTexture.h:110
virtual void setTerrainSize(uint16 newTerrainSize)
Set the size of each terrain instance in number of vertices down one side.
virtual const SyntaxCodes & getSupportedSyntax(void) const
Returns the syntaxes that this manager supports.
bool isInt() const
Definition: OgreGpuProgramParams.h:224
String getShaderTypeLabel(GpuProgramType programType)
Get a string containing the name of the GLSL shader type correspondening to the OGRE GPU program type...
virtual void bindBufferVS(uint16 slot)
Binds the constant buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
@ GeometryShader
Definition: OgreCommon.h:366
virtual ~CGProgramWriter()
Class destructor.
const SubEntity * getSubEntity(const String &name) const
bool isBorderFront(const OctreeNode &root) const
Gets whether this cell is at the front of the given root cell.
Definition: OgreVolumeOctreeNode.h:283
void execute(IntersectionSceneQueryListener *listener)
See IntersectionSceneQuery.
Terrain * getParent() const
Get the parent terrain.
Definition: OgreTerrainLayerBlendMap.h:84
User Interface (2D) implementation specfically designed for OpenGL ES 2.0 and other RenderSystems whi...
Definition: OgreHlmsUnlitMobile.h:53
virtual void _bindTextureUavCS(uint32 slot, Texture *texture, ResourceAccess::ResourceAccess access, int32 mipmapLevel, int32 textureArrayIndex, PixelFormat pixelFormat)
Binds an UAV texture to a Compute Shader.
uint32 stride
Definition: OgreD3D11VaoManager.h:100
static const size_t MS_CORNERS_BOTTOM[4]
To call Marching Squares with a cube on its bottom.
Definition: OgreVolumeIsoSurface.h:75
Helper utility class that creates common parameters.
Definition: OgreShaderParameter.h:608
RenderQueue::Modes getRenderQueueMode(uint8 rqId) const
virtual void setEnclosureNode(PCZSceneNode *)
Set the enclosure node for this OctreeZone.
CompositorWorkspaceDef * getWorkspaceDefinitionNoThrow(IdString name) const
Real getLodBias(void) const
Returns the level-of-detail bias factor currently applied to this camera.
void setResourceGroup(const String &resGroup)
Set the resource group to use when loading / saving.
Definition: OgreTerrain.h:672
static const Vector3 ZERO
Definition: OgreVector3.h:814
@ VET_INT3
Definition: OgreVertexElements.h:97
HardwareBufferLockGuard(const SharedPtr< T > &p, size_t offset, size_t length, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:370
Definition: OgreGLES2NullTexture.h:69
When mUsedMemory >= mMaxMemory (that is, we've exhausted all our preallocated memory) ArrayMemoryMana...
Definition: OgreArrayMemoryManager.h:83
@ PT_INT
Definition: OgreStringInterface.h:51
String doGet(const void *target) const
virtual void createNodeZoneData(PCZSceneNode *)
Create zone specific data for a node.
@ ERR_ITEM_NOT_FOUND
Definition: OgreException.h:113
@ ANT_VARIABLE_SET
Definition: OgreScriptCompiler.h:83
IndexData * indexData
Index data - only valid if useIndexes is true.
Definition: OgreRenderOperation.h:71
@ ID_ANIM_TEXTURE
Definition: OgreScriptCompiler.h:731
@ OT_PATCH_3_CONTROL_POINT
Definition: OgreHlmsPso.h:62
static const IdString GL3Plus
Definition: OgreHlms.h:861
unsigned short submeshID
Definition: OgreLodData.h:119
DriverVersion()
Definition: OgreRenderSystemCapabilities.h:253
LwString & a(const LwString &a0)
Definition: OgreLwString.h:207
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
Definition: OgreD3D11VideoModeList.h:37
Real getBaseKeyFrameTime() const
If a base keyframe is being used, the time of that keyframe.
const BoneDataVec & getBones(void) const
Definition: OgreSkeletonDef.h:143
virtual bool _loadProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to prepare page content procedurally.
SerializeEvent
Definition: OgreMaterialSerializer.h:67
size_t slicePitch
Number of elements between the top left pixel of one (depth) slice and the top left pixel of the next...
Definition: OgrePixelBox.h:95
map< IdString, MetadataCacheEntry >::type MetadataCacheMap
Definition: OgreHlmsTextureManager.h:151
virtual void optimiseAllAnimations(bool preservingIdentityNodeTracks=false)
Optimise all of this skeleton's animations.
StrideChanger(size_t _offsetAfterPadding, size_t _paddedBytes)
Definition: OgreNULLVaoManager.h:63
static const IdString PssmSplits
Definition: OgreHlms.h:817
Side getSide(const Vector3 &rkPoint) const
const String & getDescription() const
Get the description of the property.
Definition: OgreProperty.h:148
Definition: OgreEmscriptenEGLSupport.h:36
RenderSystem * getRenderSystem(void)
Retrieve a pointer to the currently selected render system.
void decreaseLodLevel()
Removes highest LOD level loaded.
static Vector4 parseVector4(const String &val, const Vector4 &defaultValue=Vector4::ZERO)
Parses a Vector4 out of a String.
void baseVertexPointerToElement(void *pBase, float **pElem) const
Adjusts a pointer to the base of a vertex to point at this element.
Definition: OgreHardwareVertexBuffer.h:211
bool mEnabled
While disabled, this probe won't be updated (even if dirty) and won't be considered for blending (i....
Definition: OgreCubemapProbe.h:83
PixelFormat format
Definition: OgreImageCodec.h:69
void reinitialise(void)
See RenderSystem.
virtual_l2 void rotate(const Quaternion &q, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around an aritrary axis using a Quarternion.
bool getReceiveDynamicShadowsLowLod() const
Whether to use shadows on low LOD material rendering (when using composite map) (default false).
Definition: OgreTerrainMaterialGeneratorA.h:143
@ ID_ALPHA_REJECTION
Definition: OgreScriptCompiler.h:681
void setTextureSwizzle(uint8 texType, uint8 r, uint8 g, uint8 b, uint8 a)
Sets the final swizzle when sampling the given texture.
void createPoses(const float **positionData, const float **normalData, size_t numPoses, size_t numVertices, const String *names=0, bool halfPrecision=true)
Fills the pose animation buffer with the given poseData.
IrradianceVolume * getIrradianceVolume(void) const
Definition: OgreHlmsPbs.h:287
Instances of this class 'control' the value of another object in the system.
Definition: OgreController.h:136
@ ID_MASK
Definition: OgreScriptCompiler.h:910
virtual void setSourceA(Source *a)
Sets the first operator source.
const MaterialPtr & _getCompositeMapMaterial() const
Internal getting of material for the terrain composite map.
Definition: OgreTerrain.h:1336
@ PT_UNSIGNED_LONG
Definition: OgreStringInterface.h:56
@ IndexBuffer
After the barrier, data can be used as an index buffer.
Definition: OgreResourceTransition.h:91
const String & getType(void) const
Get the type of the object to be created.
Definition: OgreRenderable.h:488
HlmsTextureManager * getTextureManager(void) const
Definition: OgreHlmsManager.h:272
uint32 getVisibilityFlags(void) const
Get the visbility flags that terrains will be rendered with.
Definition: OgreTerrain.h:1999
virtual void notifyDeviceRestored(D3D11Device *device)=0
void _setName(IdString newName)
Do not call directly.
Definition: OgreTextureDefinition.h:118
static void initialiseModulationPassPrograms(void)
Initialise the creation of these modulation pass programs.
RegionSceneQuery(SceneManager *mgr)
Standard constructor, should be called by SceneManager.
@ InheritScale
Definition: OgreArrayMemoryManager.h:301
bool isStillOutstanding(void)
void neighbourModified(NeighbourIndex index, const Rect &edgerect, const Rect &shadowrect)
Notify that a neighbour has just finished updating and that this change affects this tile.
void destroyOverlayElement(const String &instanceName, bool isTemplate=false)
Destroys a OverlayElement.
virtual void textureCoord(Real u)
Add a texture coordinate to the current vertex.
CylinderEmitter(ParticleSystem *psys)
See AreaEmitter.
bool _getLastVertexPos(LodData *data, Vector3 &outVec)
Returns the last reduced vertex.
@ ACT_CAMERA_POSITION_OBJECT_SPACE
The current camera's position in object space.
Definition: OgreGpuProgramParams.h:1142
virtual void _hlmsBlendblockDestroyed(HlmsBlendblock *block)
bsp_vertex_t * mVertices
Definition: OgreQuake3Level.h:141
void getCustomAttribute(const String &name, void *pData)
Implementation of CompositorPass This implementation will render a fullscreen triangle/quad to the Re...
Definition: OgreCompositorPassQuad.h:87
virtual BufferPackedTypes getBufferPackedType(void) const =0
Useful to query which one is the derived class.
void getAsVector3(Vector3 &out, size_t index) const
Definition: C/OgreArrayVector3.h:77
virtual void initialise(void)
Initialise the background queue system.
@ GVA_TOP
Definition: OgreOverlayElement.h:81
void setBrdf(PbsBrdf::PbsBrdf brdf)
Changes the BRDF in use.
HlmsBasicBlock
Definition: OgreHlmsDatablock.h:45
virtual ~CompositorNodeDef()
Definition: OgreCompositorNodeDef.h:106
Definition: OgreScriptTranslator.h:181
@ ID_COMBINED_UVW
Definition: OgreScriptCompiler.h:734
void _readRawConstants(size_t physicalIndex, size_t count, int *dest)
Read a series of integer values from the underlying integer constant buffer at the given physical ind...
void setCubicTextureName(const String *const names, bool forUVW=false)
Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube...
OGRE_HASH_NAMESPACE::OGRE_HASHMULTISET_NAME< K, H, E, A > type
Definition: OgrePrerequisites.h:721
Decal(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
unsigned short getNumWorldTransforms(void) const
Overridden - see Renderable.
virtual void notifyCameraCreated(Camera *c)
Called when the scene manager creates a camera because some zone managers (like TerrainZone) need the...
void * getProcAddress(const char *procname) const
Get the address of a function.
virtual GpuProgramPtr load(const String &name, const String &groupName, const String &filename, GpuProgramType gptype, const String &syntaxCode)
Loads a GPU program from a file of assembly.
Real calcMaxHeightDelta
Temp calc area for max height delta.
Definition: OgreTerrainQuadTreeNode.h:142
uint32 getBoneBlockIdx(void) const
Definition: OgreSkeletonTrack.h:91
Template struct which creates a distinct type for each exception code.
Definition: OgreException.h:191
void _setDepthBufferCheckEnabled(bool enabled=true)
Basefunctionality for IteratorWrappers.
Definition: OgreIteratorWrapper.h:48
TextureSource
Definition: OgreTextureDefinition.h:59
void exportNamedConstants(const GpuNamedConstants *pConsts, const String &filename, Endian endianMode=ENDIAN_NATIVE)
Level of detail strategy based on distance from camera to an object's bounding box.
Definition: OgreDistanceLodStrategy.h:188
bool isMorphAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform morph animation.
void write(const T *pT, size_t count=1)
Catch-all method to write primitive types.
Definition: OgreStreamSerialiser.h:264
bool operator!=(const ConstVectorRange &rhs) const
comparison operator for inequality
Definition: OgreIteratorRange.h:223
void setClipPlane(ushort index, Real A, Real B, Real C, Real D)
An individual profile that will be processed by the Profiler.
Definition: OgreProfiler.h:228
uint32 getUavBufferAlignment(void) const
Definition: OgreVaoManager.h:361
virtual void _dispatch(const HlmsComputePso &pso)
Struct containing information about a RenderTarget Viewport-specific event.
Definition: OgreRenderTargetListener.h:53
void setSplitRotated(bool split)
Sets whether or not to split vertices when tangent space rotates more than 90 degrees around a vertex...
Definition: OgreTangentSpaceCalc.h:153
String doGet(const void *target) const
Cache-friendly array of Quaternion represented as a SoA array.
Definition: C/OgreArrayQuaternion.h:66
@ PT_STRING
Definition: OgreStringInterface.h:57
GL3PlusContext * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
ThreadLocalPtr()
Definition: OgreThreadDefinesSTD.h:49
virtual void setRegionDimensions(const Vector3 &size)
Sets the size of a single region of geometry.
Definition: OgreStaticGeometry.h:668
const GpuProgramPtr & getGeometryProgram(void) const
Gets the geometry program used by this pass, only available after _load().
float * getFloatPointer(size_t pos)
Get a pointer to the 'nth' item in the float buffer.
Definition: OgreGpuProgramParams.h:761
void bindSharedParameters(GpuProgramParametersSharedPtr params, uint16 mask)
Execute the shared param binding functions for this shader.
static const Real PI
Definition: OgreMath.h:739
GpuProgramUsage(GpuProgramType gptype, Pass *parent)
Default constructor.
VectorIterator< OverlayContainerList > Overlay2DElementsIterator
Returns an iterator over all 2D elements in this manager.
Definition: OgreOverlay.h:249
void setAutoConstant(size_t index, AutoConstantType acType, uint16 extraInfo1, uint16 extraInfo2)
Sets up a constant which will automatically be updated by the system.
static const IdString TexMatrixCount6
Definition: OgreUnlitProperty.h:58
GLSLESLinkProgramManager(void)
static const int MeshShift
Definition: OgreRenderQueue.h:271
virtual void bakeLodLevel(LodData *data, int lodIndex)
@ FILTER_NEAREST
Definition: OgreImage.h:451
virtual void unload(ResourceHandle handle)
Unloads a single resource by handle.
bool mReuseCullData
When true, the frustum culling is skipped in this pass.
Definition: OgreCompositorPassSceneDef.h:134
@ OT_TRIANGLE_STRIP
A strip of triangles, 3 vertices for the first triangle, and 1 per triangle after that.
Definition: OgreHlmsPso.h:56
D3D9Device * getActiveRenderTargetDevice()
virtual void clearShaderCache(void)
Destroys the shader cache from all jobs, causing us to reload shaders from file again.
const Matrix4 & getInverseViewMatrix(void) const
const T * const_iterator
Definition: OgreFastArray.h:98
ScriptCompilerEvent(const String &type)
Definition: OgreScriptCompiler.h:352
bool isBorderBottom(const OctreeNode &root) const
Gets whether this cell is at the bottom of the given root cell.
Definition: OgreVolumeOctreeNode.h:250
static Real InvSqrt(Real fValue)
Inverse square root i.e.
ConstBufferPacked * materialBuffer
Definition: OgreConstBufferPool.h:60
bool getCastsDynamicShadows() const
Whether the terrain will be able to cast shadows (texture shadows only are supported,...
Definition: OgreTerrain.h:1971
bool getSetting(BatchSettingId id, IdString materialName) const
If settings for the given material didn't exist, default value is returned.
void setListener(CompositorWorkspaceListener *listener)
Definition: OgreCompositorWorkspace.h:184
void addZoneToAffectedZonesList(PCZone *zone)
Manually add a zone to the zones affected list.
CompositorShadowMapRepeatTranslator()
virtual_l2 Vector3 convertWorldToLocalPosition(const Vector3 &worldPos)
Gets the local position, relative to this node, of the given world-space position.
static void buildLightList(const size_t numNodes, ObjectData t, const LightListInfo &globalLightList)
@See SceneManager::buildLightList
void setNumTexUnits(uint8 numSlots)
Creates 'numSlots' number of slots before they can be set.
void doSet(void *target, const String &val)
virtual ManualObjectSection * end(void)
Finish defining the object and compile the final renderable version.
void setMacroblock(const HlmsMacroblock ¯oblock)
Sets the macroblock for all passes.
virtual void _update(void)
Internal method to update the element based on transforms applied.
virtual ~MeshSerializer()
static const IdString DetailOffsetsD
Definition: OgreHlmsPbsMobile.h:126
bool getAlwaysUpdateMainSkeleton() const
The skeleton of the main entity will be updated even if the an LOD entity is being displayed.
Definition: OgreEntity.h:711
map< unsigned short, bool >::type SchemeHardwareAnimMap
Definition: OgreEntity.h:90
void _updateEntitiesBoundsThread(size_t threadIdx)
Updates the bounds of only our entities from multiple threads.
UINT getSubresourceIndex(size_t box_front) const
Built, renderable section of geometry.
Definition: OgreManualObject2.h:272
float mMaxLod
Definition: OgreHlmsSamplerblock.h:85
@ BCT_UNKNOWN
Definition: OgreGpuProgramParams.h:58
String doGet(const void *target) const
static Degree Abs(const Degree &dValue)
Absolute value function.
Definition: OgreMath.h:266
VectorIterator< Techniques > TechniqueIterator
Definition: OgreMaterial.h:222
virtual const String & getTargetLanguage(void) const =0
Get the name of the language this factory creates programs for.
FunctionAtom()
Class default constructor.
int8 kernelStartY
Definition: OgreImageDownsampler.h:219
Definition: OgreCbDrawCall.h:36
Vector3 getCorner(CornerEnum cornerToGet) const
Gets the position of one of the corners.
Definition: OgreAxisAlignedBox.h:328
static const IdString UvDetailNm0
Definition: OgreHlmsPbsMobile.h:148
SmallVector< T, S >::iterator iterator
Definition: OgreVectorSet.h:46
virtual ~TerrainLayerBlendMap()
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
void XMapWindow(Display *nativeDisplayType, Window nativeWindowType)
AbstractNode * clone() const
Returns a new AbstractNode which is a replica of this one.
void setEnableVpls(bool enable)
Definition: OgreForwardPlusBase.h:214
bool queryResult(MovableObject *first, MovableObject *second)
Self-callback in order to deal with execute which returns collection.
virtual bool isCustomViewMatrixEnabled(void) const
Returns whether a custom view matrix is in use.
Definition: OgreFrustum.h:420
virtual Real getInitialWidth(size_t chainIndex) const
Get the starting ribbon width in world units.
~RawSimdUniquePtr()
Definition: OgreRawPtr.h:83
const HardwareVertexBufferSharedPtr & getVertexBuffer(void) const
Gets the vertex buffer containing positions for this keyframe.
Real getSquaredViewDepth(const Camera *cam) const
Overridden, see Renderable.
virtual const String & getTargetLanguage() const
Return the target language of this processor.
Definition: OgreShaderCGProgramProcessor.h:60
_OgreExport void SetHandler(Handler newHandler)
@ ACT_LIGHT_DIRECTION_ARRAY
Array of light directions in world space (count set by extra param)
Definition: OgreGpuProgramParams.h:1079
size_t getUnsignedIntLogicalIndexForPhysicalIndex(size_t physicalIndex)
Retrieves the logical index relating to a physical index in the uint buffer, for programs which suppo...
void setCastsDynamicShadows(bool s)
Whether the terrain will be able to cast shadows (texture shadows only are supported,...
Definition: OgreTerrain.h:1978
CbDrawCallStrip(bool supportsBaseInstance)
OctreeNode * root
The octree node to use.
Definition: OgreVolumeChunkHandler.h:69
static std::pair< bool, Real > intersects(const Ray &ray, const list< Plane >::type &planeList, bool normalIsOutside)
Ray / convex plane list intersection test.
virtual RenderTexture * createRenderTexture(const String &name, const GL3PlusSurfaceDesc &target, bool writeGamma, uint fsaa)=0
Create a texture rendertarget object.
String doGet(const void *target) const
static const ArrayMatrix4 IDENTITY
Definition: C/OgreArrayMatrix4.h:214
const String & getPluginStringName(void) const
Returns the string name of this Plugin (as set by the Plugin)
Definition: OgreExternalTextureSource.h:138
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
static Codec * getCodec(char *magicNumberPtr, size_t maxbytes)
Gets the codec that can handle the given 'magic' identifier.
VertexAnimationTrack(Animation *parent, unsigned short handle, VertexAnimationType animType)
Constructor.
virtual void markProfileEvent(const String &event)
Marks an instantaneous event for graphics profilers.
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, uint32 lastTextureHash)
Fills the constant buffers.
void setNull()
Sets the box to a 'null' value i.e.
Definition: OgreAxisAlignedBox.h:528
void removeAnimationState(const String &name)
Remove animation state with the given name.
int mNumLightmaps
Definition: OgreQuake3Level.h:148
PageContent(PageContentFactory *creator)
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
LinkedSkeletonAnimationSource(const String &skelName, Real scl, SkeletonPtr skelPtr)
Definition: OgreSkeleton.h:473
DeformFunc
Definition: OgreQuake3Types.h:133
virtual_l2 Vector3 _getDerivedPositionUpdated(void)
Gets the position of the node as derived from all parents.
const Matrix4 * getWorldMatrixArray(void) const
void reset()
Definition: OgreAny.h:131
virtual void messageLogged(const Ogre::String &message, Ogre::LogMessageLevel lml, bool maskDebug, const Ogre::String &logName, bool &skipThisMessage)
ConstMapIterator< AliasTextureNamePairList > AliasTextureIterator
Definition: OgreSubMesh.h:200
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Overloaded to visibility on a per unit basis and finally updated the vertex texture.
static void packColour(const ColourValue &colour, const PixelFormat pf, void *dest)
Pack a colour value to memory.
void doSet(void *target, const String &val)
A factory that enables creation of LayeredBlending instances.
Definition: OgreShaderExLayeredBlending.h:202
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:100
Controller< Real > * createGpuProgramTimerParam(GpuProgramParametersSharedPtr params, size_t paramIndex, Real timeFactor=1.0f)
Creates a controller for passing a frame time value through to a vertex / fragment program parameter.
Terrain LOD data manager.
Definition: OgreTerrainLodManager.h:53
type::iterator iterator
Definition: OgrePrerequisites.h:689
@ NUM_PBSM_SOURCES
Definition: OgreHlmsPbsPrerequisites.h:73
RenderingAPIException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:235
Definition: OgreSceneManager.h:193
Definition: OgreGL3PlusTexBufferPacked.h:40
static String FACTORY_TYPE_NAME
Definition: OgreLight.h:609
Forward3D(uint32 width, uint32 height, uint32 numSlices, uint32 lightsPerCell, float minDistance, float maxDistance, SceneManager *sceneManager)
size_t calculateSize(void) const
@ ET_UVSCROLL
Constant u/v scrolling effect.
Definition: OgreTextureUnitState.h:77
Node * getParentNode(void) const
Returns our parent node. May be null.
Definition: OgreSkeletonInstance.h:195
virtual void _executeResourceTransition(ResourceTransition *resTransition)
Definition: OgreRenderSystem.h:797
@ SPC_NORMAL_TANGENT_SPACE
Normal in tangent space.
Definition: OgreShaderParameter.h:112
virtual void _notifyResourceTouched(Resource *res)
Notify this manager that a resource which it manages has been 'touched', i.e.
TextureDefinitionVec & getLocalTextureDefinitionsNonConst(void)
Returns the local texture definitions.
Definition: OgreTextureDefinition.h:299
@ ID_POINT
Definition: OgreScriptCompiler.h:711
int _calculateNumUvAtlas(bool casterPass) const
void setAlphaAdjust(float alpha)
Sets the alpha adjustment to be made per second to particles.
int mNumLeafFaces
Definition: OgreQuake3Level.h:133
Node ** mParents
Holds the pointers to each parent. Ours is mParents[mIndex].
Definition: OgreObjectData.h:44
long getSeed(void) const
Gets the initial seed.
virtual ConstObjectIterator getAttachedObjectIterator(void) const
Retrieves an iterator which can be used to efficiently step through the objects attached to this node...
virtual void setTextureStacksAndSlices(uchar stacks, uchar slices)
setTextureStacksAndSlices() will generate texture coordinate rects as if the texture for the billboar...
virtual void getShadowCamera(const SceneManager *sm, const Camera *cam, const Light *light, Camera *texCam, size_t iteration, const Vector2 &viewportRealSize) const
Returns shadow camera configured to get 1-1 homography between screen and shadow map when restricted ...
virtual ResourceCreateOrRetrieveResult createOrRetrieve(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new resource, or retrieve an existing one with the same name if it already exists.
float * getPoseWeights() const
PlaneBoundedVolume getPlaneBoundedVolume()
Gets a world-space list of planes enclosing the frustum.
Codec specialized in loading OpenEXR high dynamic range images.
Definition: OgreEXRCodec.h:39
float mVpScissorHeight
Definition: OgreCompositorPassDef.h:101
Plugin instance for BSPSceneManager.
Definition: OgreBspSceneManagerPlugin.h:40
@ VET_USHORT2
Definition: OgreVertexElements.h:92
static Profiler & getSingleton(void)
Override standard Singleton retrieval.
static const IdString UvDiffuseSwizzle12
Definition: OgreUnlitProperty.h:104
Specialized SceneManager that divides the geometry into an octree in order to facilitate spatial quer...
Definition: OgreOctreeSceneManager.h:62
uint32 BGRA
Definition: OgreColourValue.h:44
static FORCEINLINE T lerp(const T &a, const T &b, const S &w)
Linear interpolation.
Definition: OgreMath.h:387
bool _getBuffersMarkedForAnimation(void) const
Are buffers already marked as vertex animated?
Definition: OgreSubEntity.h:221
ColourValue getColourAdjust(size_t index) const
const String & getName() const
Get the name of the plugin.
Matrix4 getInverseViewProjMatrix(void) const
Definition: OgreHlmsLowLevel.h:107
@ ID_RENDER_QUAD
Definition: OgreScriptCompiler.h:850
String getShaderTypeLabel(GpuProgramType programType)
Get a string containing the name of the GLSL shader type correspondening to the OGRE GPU program type...
static void recreateResizableTextures(const TextureDefinitionVec &textureDefs, CompositorChannelVec &inOutTexContainer, const RenderTarget *finalTarget, RenderSystem *renderSys, const CompositorNodeVec &connectedNodes, const CompositorPassVec *passes)
Destroys & recreates only the textures that depend on the main RT (i.e.
virtual HlmsCache preparePassHash(const Ogre::CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager)
Called every frame by the Render Queue to cache the properties needed by this pass.
static D3D11_BLEND get(SceneBlendFactor sbf, bool forAlpha)
return a D3D11 equivalent for a Ogre SceneBlendFactor value
static const ArrayReal fEpsilon
Definition: OgreMathlibC.h:52
static unsigned long FACTORY_TYPE_FLAG
Definition: OgreAntiPortal.h:60
virtual ~GLSLProgramWriter()
Class destructor.
@ SHADER_FUNC_SQUARE
Definition: OgreQuake3Types.h:112
bool tryLock()
Tries to aquire the lock and returns immediately.
Vector4 getUserValue(uint8 userValueIdx) const
virtual void _renderEmulatedNoBaseInstance(const CbDrawCallIndexed *cmd)
bool isDerivedDataUpdateInProgress() const
Calls Terrain::isDerivedDataUpdateInProgress on each loaded instance and returns true if any of them ...
void convertImageToUVSpace(size_t x, size_t y, Real *outX, Real *outY)
Convert image space (0, imageSize) to local space values (0,1).
Implements default shadow camera setup.
Definition: OgreShadowCameraSetup.h:94
Matrix3(const Real arr[3][3])
Definition: OgreMatrix3.h:76
GLES2DepthPixelBuffer(GLES2DepthTexture *parentTexture, const String &baseName, uint32 width, uint32 height, uint32 depth, PixelFormat format)
@ ID_SCALE
Definition: OgreScriptCompiler.h:784
@ ID_COMPUTE_PROGRAM
Definition: OgreScriptCompiler.h:974
static GLenum getGLOriginFormat(PixelFormat mFormat, bool hwGamma)
Takes the OGRE pixel format and returns the appropriate GL one.
void setLightScissoringEnabled(bool enabled)
Sets whether or not this pass will be clipped by a scissor rectangle encompassing the lights that are...
Definition: OgrePass.h:1057
static ScreenRatioPixelCountLodStrategy & getSingleton(void)
Override standard Singleton retrieval.
void install()
Perform the plugin initial installation sequence.
void setIndexBufferPolicy(HardwareBuffer::Usage usage, bool shadowBuffer=false)
Sets the policy for the index buffers to be used when loading this Mesh.
D3D11HLSLProgram * domainShader
Definition: OgreD3D11HlmsPso.h:55
@ ID_SHARED_PARAMS_REF
Definition: OgreScriptCompiler.h:806
String mResourceGroup
Definition: OgreScriptCompiler.h:579
int refCount
Definition: OgreLodData.h:90
virtual void fillConstBufferData(Viewport *viewport, RenderTarget *renderTarget, IdString shaderSyntax, float *RESTRICT_ALIAS passBufferPtr) const =0
Fills 'passBufferPtr' with the necessary data for ForwardPlusBase rendering.
void removeTemplate(const String &name, bool deleteTemplate=true)
Removes a specified template from the ParticleSystemManager.
Definition: OgreManualObject2.h:44
@ FBT_DEPTH
Definition: OgreCommon.h:343
Real getSurfaceAlphaRejectionValue(void) const
@ TLSS_SPECULAR
Specular reflectance.
Definition: OgreTerrainMaterialGenerator.h:65
static size_t gcd(size_t a, size_t b)
Returns Greatest Common Denominator.
Definition: OgreMath.h:725
SourceData(char const *_data, size_t _bytesPerVertex, VertexElement2 _element)
Definition: OgreSubMesh2.h:292
const SkeletonDefPtr & getSkeleton(void) const
Gets a pointer to any linked Skeleton.
Definition: OgreMesh2.h:299
Listener()
Definition: OgreCamera.h:90
D3D11HardwareBuffer(BufferType btype, size_t sizeBytes, HardwareBuffer::Usage usage, D3D11Device &device, bool useSystemMem, bool useShadowBuffer, bool streamOut)
void cleanerArrayAabb(char *dstPtr, size_t indexDst, char *srcPtr, size_t indexSrc, size_t numSlots, size_t numFreeSlots, size_t elementsMemSize)
@ ID_GEOMETRY_PROGRAM
Definition: OgreScriptCompiler.h:611
BufferPacked * destination
Buffer where the contents of the staging buffer will be copied to after unmapping.
Definition: OgreStagingBuffer.h:81
A interface class defining a listener which can be used to receive notifications of RenderTarget even...
Definition: OgreRenderTargetListener.h:78
bool hasSkeleton(void) const
Returns true if this Mesh has a linked Skeleton.
Definition: OgreMesh2.h:293
void addSharedParameters(const String &sharedParamsName)
Use a set of shared parameters in this parameters object.
Definition: OgreCompositorWorkspaceDef.h:60
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
Update GPU programs parameters before a rendering operation occurs.
Definition: OgreShaderSubRenderState.h:106
int firstside
Definition: OgreQuake3Types.h:246
ConstPoseRefIterator getPoseReferenceIterator(void) const
Get a const iterator over the pose references.
Parameters for loading the volume.
Definition: OgreVolumeChunk.h:51
@ FO_LINEAR
Average of a 2x2 pixel area, denotes bilinear for MIN and MAG, trilinear for MIP.
Definition: OgreCommon.h:242
TextureUnitStateIterator getTextureUnitStateIterator(void)
Get an iterator over the TextureUnitStates contained in this Pass.
virtual v1::Rectangle2D * createRectangle2D(bool bQuad, SceneMemoryMgrTypes sceneType=SCENE_STATIC)
Creates a 2D rectangle that can be displayed for screen space effects or showing a basic GUI.
@ GCT_MATRIX_DOUBLE_3X3
Definition: OgreGpuProgramParams.h:102
~GLSLESLinkProgramManager(void)
size_t getGlobalNumberOfInstances() const
Gets the global number of instances.
bool mCameraCubemapReorient
When true, the camera will be rotated 90°, -90° or 180° depending on the value of mRtIndex and then r...
Definition: OgreCompositorPassSceneDef.h:113
virtual SortMode _getSortMode(void) const
Gets the sort mode of this billboard set.
virtual const String & getType() const
const IndexToIndexMap & getSlotToBone(void) const
Definition: OgreSkeletonDef.h:195
bool isCategoryRelevant(CapabilitiesCategory cat)
Return whether a category is 'relevant' or not, ie will it be reported.
Definition: OgreRenderSystemCapabilities.h:839
Radian & operator=(const Real &f)
Definition: OgreMath.h:56
virtual void postqueueEntityMeshLodChanged(const EntityMeshLodChangedEvent &evt)
Called after an entity's mesh LOD has changed.
Definition: OgreLodListener.h:171
const String & getMaterialScheme(void) const
Get the material scheme which the viewport should use.
Definition: OgreViewport.h:246
Particle emitter which emits particles randomly from points inside an area (box, sphere,...
Definition: OgreAreaEmitter.h:48
virtual void _collectKeyFrameTimes(vector< Real >::type &keyFrameTimes)
Internal method to collect keyframe times, in unique, ordered format.
ulong frameTime
The total time this profile has taken this frame.
Definition: OgreProfiler.h:251
virtual void enableReflection(const MovablePlane *p)
Modifies this frustum so it always renders from the reflection of itself through the plane specified.
Vector3 transformDirectionAffine(const Vector3 &v) const
3-D Vector transformation specially for an affine matrix.
Definition: OgreMatrix4.h:667
void destroyConstBuffer(ConstBufferPacked *constBuffer)
Destroys the given constant buffer created with createConstBuffer.
bool operator==(const Degree &d) const
Definition: OgreMath.h:133
unordered_map< String, uint32 >::type IdMap
Definition: OgreScriptCompiler.h:192
virtual bool isCompatible(RenderTarget *renderTarget, bool exactFormatMatch) const
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is,...
static const IdString UvDiffuseSwizzle15
Definition: OgreUnlitProperty.h:107
void setDefaultStrategy(LodStrategy *strategy)
Set the default strategy.
void setStencilBufferParams(CompareFunction func=CMPF_ALWAYS_PASS, uint32 refValue=0, uint32 compareMask=0xFFFFFFFF, uint32 writeMask=0xFFFFFFFF, StencilOperation stencilFailOp=SOP_KEEP, StencilOperation depthFailOp=SOP_KEEP, StencilOperation passOp=SOP_KEEP, bool twoSidedOperation=false, bool readBackAsTexture=false)
TextureEntryVec textureEntry
Definition: OgreHlmsTexturePack.h:58
Basic triangle structure.
Definition: OgreEdgeListBuilder.h:60
Class for the generation of the DualGrid.
Definition: OgreVolumeDualGridGenerator.h:66
virtual_l1 void textureCoord(Real u, Real v)
Add a texture coordinate to the current vertex.
Direct3D implementation of a few things common to low-level vertex & fragment programs.
Definition: OgreD3D9GpuProgram.h:40
bool execute(ObjectData objData, size_t numNodes, SceneQueryListener *listener)
GLuint getWarningTextureID()
Definition: OgreGLES2TextureManager.h:45
@ ACT_TEXTURE_SIZE
Provides texture size of the texture unit (index determined by setAutoConstant call).
Definition: OgreGpuProgramParams.h:1317
HighLevelGpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
String doGet(const void *target) const
static const eExceptionsErrorLevel getExceptionsErrorLevel()
~GL3PlusHardwareShaderStorageBuffer()
Class representing colour.
Definition: OgreColourValue.h:58
GpuProgramParametersSharedPtr createParameters(void)
Creates a new parameters object compatible with this program definition.
virtual void _forceReleaseBufferCopies(HardwareVertexBuffer *sourceBuffer)
Internal method that forces the release of copies of a given buffer.
Definition: OgreHardwareBufferManager.h:544
float mGaussianDeviationFactor
Used when mMipmapGenerationMethod == ComputeHQ.
Definition: OgreCompositorPassMipmapDef.h:72
void _update(void)
Overridden from OverlayElement.
const Any & _getRenderSystemData() const
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:852
Definition: OgreX11EGLSupport.h:88
SceneCtlAlignedObject SceneMgtAlignedAlloc
Definition: OgreMemoryAllocatorConfig.h:329
ForceApplication getForceApplication(void) const
Retrieves how the force vector is applied to a particle.
static D3DFILLMODE get(PolygonMode level)
return a D3D9 equivalent for a Ogre PolygonMode value
const Radian & getRotate(void) const
Gets the rotation applied to this overlay, in degrees.
Definition: OgreOverlay.h:216
bool operator==(const ConstMapRange &rhs) const
comparison operator for equality
Definition: OgreIteratorRange.h:324
void createScheme(const String &schemeName)
Create a scheme.
@ ID_CULL_MODE
Definition: OgreScriptCompiler.h:686
void setResetsEveryUpdate(bool resetsEveryUpdate)
Set whether this object resets its buffers each time it updates.
Definition: OgreRenderToVertexBuffer.h:90
uint32 uavSlot
Definition: OgreCompositorPassUavDef.h:81
multimap< TextureEffectType, TextureEffect >::type EffectMap
Texture effects in a multimap paired array.
Definition: OgreTextureUnitState.h:149
void setTopLeftBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the top-left corner of the border.
virtual ~Win32EGLContext()
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
WireAabbFactory()
Definition: OgreWireAabb.h:69
virtual size_t getChainIndexForNode(const Node *n)
Get the chain index for a given Node being tracked.
void setActiveVertexShader(GLSLESShader *vertexShader)
Set the active vertex shader for the next rendering state.
ComPtr & operator=(U *other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:157
virtual void _notifyViewport()
Overridden from OverlayElement.
Matrix4(const Quaternion &rot)
Creates a standard 4x4 transformation matrix with a zero translation part from a rotation/scaling Qua...
Definition: OgreMatrix4.h:143
@ WFT_TRIANGLE
An angular wave with a constant increase / decrease speed with pointed peaks.
Definition: OgreCommon.h:298
@ DefaultSeparateDiffuseFresnel
Same as Default but the fresnel of the diffuse is calculated differently.
Definition: OgreHlmsPbsDatablock.h:131
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
static AngleUnit getAngleUnit(void)
Get the unit being used for angles.
void setConstant(size_t index, const Vector2 &vec)
Sets a 4-element floating-point parameter to the program via Vector2.
Real getSkirtSize() const
The default size of 'skirts' used to hide terrain cracks (default 10, set for new Terrain using Terra...
Definition: OgreTerrain.h:1239
void setManualValue(const uint32 *value, uint32 numValues)
virtual void processMeshCompleted(Mesh *mesh)=0
Allows to do changes on mesh after it's completely loaded. For example you can generate LOD levels he...
virtual void touchVertexBufferCopy(const HardwareVertexBufferSharedPtr &bufferCopy)
Tell engine that the vertex buffer copy intent to reuse.
Definition: OgreHardwareBufferManager.h:521
AxisAlignedBox intersection(const AxisAlignedBox &b2) const
Calculate the area of intersection of this box and another.
Definition: OgreAxisAlignedBox.h:593
IndexData * indexData
Definition: OgreStaticGeometry.h:156
static HardwareSkinningFactory & getSingleton(void)
Override standard Singleton retrieval.
virtual RenderOperation build(const SubMesh *baseSubMesh)
Constructs all the data needed to use this batch, as well as the InstanceEntities.
HardwarePixelBufferSharedPtr(HardwarePixelBuffer *buf)
void reinitialise()
Restart the renderer (normally following a change in settings).
@ ID_CONTENT_TYPE
Definition: OgreScriptCompiler.h:799
PageID calculatePageID(int32 x, int32 y)
void setCurrentPlugIn(const String &sTexturePlugInType)
Sets active plugin (ie.
@ SOP_INCREMENT_WRAP
Increase the stencil value by 1, wrapping back to 0 when incrementing the maximum value.
Definition: OgreCommon.h:122
static const int ShaderBits
Definition: OgreRenderQueue.h:262
virtual void updateDebugDisplay(Page *p, SceneNode *sn)=0
Update the contents of the passed in SceneNode to reflect the debug display of a given page.
NULLMultiSourceVertexBufferPool(size_t vboPoolIndex, const VertexElement2VecVec &vertexElementsBySource, size_t maxVertices, BufferType bufferType, size_t internalBufferStart, VaoManager *vaoManager)
Pass * getPass(unsigned short index)
Retrieves the Pass with the given index.
bool hasResolvedTexture2D() const
Definition: OgreD3D11Texture.h:85
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
SharedPtr< DataStreamList > DataStreamListPtr
Shared pointer to list of DataStream items.
Definition: OgreDataStream.h:310
void convertUVToWorldSpace(Real x, Real y, Vector3 *outWorldPos)
Helper method - convert a point in local space to worldspace based on the terrain settings.
virtual bool preCreateGpuPrograms(ProgramSet *programSet)
RuntimeAssertionException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:241
void reloadAll(bool reloadableOnly=true)
Caused all currently loaded resources to be reloaded.
Definition: OgreResourceManager.h:227
virtual void setOrigin(const Vector3 &worldOrigin)
Set the origin of the grid in world space.
void setKeepParticlesInLocalSpace(bool keepLocal)
Sets whether particles (and any affector effects) remain relative to the node the particle system is ...
Octree implementation of AxisAlignedBoxSceneQuery.
Definition: OgreOctreeSceneQuery.h:88
const Vector3 * getWorldSpaceCorners(void) const
Gets the world space corners of the frustum.
std::map< K, V, P, A >::iterator iterator
Definition: OgrePrerequisites.h:658
void unbindSurface(size_t attachment)
Unbind attachment.
void recreateAllNodes(void)
Destroys and recreates all nodes.
Definition: OgreNULLUavBufferPacked.h:41
virtual void unprepareImpl(void)
virtual void _updateBounds(void)
Update the bounds of the billboardset.
virtual void prepareWorldGeometry(const String &filename)
Sets the source of the 'world' geometry, i.e.
void destroyAllNumericTracks(void)
Removes and destroys all tracks making up this animation.
virtual void setNearClipDistance(Real nearDist)
Sets the position of the near clipping plane.
const map< String, RenderSystemCapabilities * >::type & getCapabilities() const
Access to the internal map of loaded capabilities.
static void saveLodData(StreamSerialiser &stream, Terrain *terrain)
Save each LOD level separately compressed so seek is possible.
PlaneList planes
Publicly accessible plane list, you can modify this direct.
Definition: OgrePlaneBoundedVolume.h:54
virtual void _notifyAttached(Page *parent)
Internal method to notify a collection that it is attached.
@ Default
Most physically accurate BRDF we have.
Definition: OgreHlmsPbsDatablock.h:89
GLuint getGLShaderHandle() const
Definition: OgreGLSLESShader.h:72
virtual bool preCreateGpuPrograms(ProgramSet *programSet)
const Vector3 getCenterFrontBottom(void) const
Gets the center of the corners 2, 3.
Definition: OgreVolumeOctreeNode.h:373
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
size_t sizeBytes
Definition: OgreCompositorPassComputeDef.h:90
bool isSkeletalAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform skeletal animation.
@ STALL_FULL
The whole pipeline is brought to a stop.
Definition: OgreStagingBuffer.h:50
Command object for getting/setting assembler code.
Definition: OgreD3D9HLSLProgram.h:92
const uint32 * getNumThreadGroups(void) const
Definition: OgreHlmsComputeJob.h:210
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:76
ID3D11InputLayout * getLayoutForPso(const VertexElement2VecVec &vertexElements)
virtual StringVectorPtr find(const String &pattern, bool recursive=true, bool dirs=false)=0
Find all file or directory names matching a given pattern in this archive.
const Vector3 getCenterBackRight(void) const
Gets the center of the corners 1, 5.
Definition: OgreVolumeOctreeNode.h:436
SharedPtr< HighLevelGpuProgram > HighLevelGpuProgramPtr
Definition: OgrePrerequisites.h:354
XSizeHints * XAllocSizeHints()
Vector3 xyz() const
Swizzle-like narrowing operations.
Definition: OgreVector4.h:100
A class that represents a shader based program parameter.
Definition: OgreShaderParameter.h:48
T width() const
Definition: OgreCommon.h:753
const Vector3 & getCenter(void) const
Returns the center point of the sphere.
Definition: OgreSphere.h:72
virtual ~D3D11VaoManager()
virtual void addListener(RenderTargetListener *listener)
Add a listener to this RenderTarget which will be called back before & after rendering.
@ LBO_ALPHA_BLEND
Blend based on texture alpha.
Definition: OgreBlendMode.h:65
VertexAnimationTrack * _clone(Animation *newParent) const
Clone this track (internal use only)
virtual ~HLSLProgramWriter()
Class destructor.
TrackedRenderable(Renderable *_renderable, MovableObject *_movableObject, const Vector3 &_reflNormal, const Vector3 &_renderableCenter)
Definition: OgrePlanarReflections.h:99
RenderTexture * getRenderTarget(size_t zoffset)
Get rendertarget for z slice.
@ CB_DRAW_CALL_STRIP_EMULATED
Definition: OgreCbCommon.h:44
Definition: OgreCapsule.h:46
@ SKELETON_VERSION_1_8
OGRE version v1.8+.
Definition: OgreSkeletonSerializer.h:46
#define _OgreGLES2Export
Definition: OgreGLES2Prerequisites.h:291
void destroyBufferResources(IDirect3DDevice9 *d3d9Device)
Destroy resources associated with the given device.
void setSkiesEnabled(bool enabled)
Tells this viewport whether it should display skies.
virtual v1::StaticGeometry * createStaticGeometry(const String &name)
Creates a StaticGeometry instance suitable for use with this SceneManager.
bool isYawFixed(void) const
Definition: OgreSceneNode.h:234
static int getFloatCount(int mask)
Return the float count of the given mask.
const String & getMovableType(void) const
Overridden from MovableObject.
virtual RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)=0
Creates a new rendering window.
uint flags
Definition: OgreImageCodec.h:67
Quaternion getOrientation() const
Returns a quaternion representing the nodes orientation.
static ArrayReal Abs4(ArrayReal a)
Returns the absolute values of each 4 floats.
Definition: OgreMathlibC.h:69
void detachFromProgramObject(const GLuint programObject)
Implementation of HardwareBufferManager for OpenGL ES.
Definition: OgreGLES2HardwareBufferManager.h:41
GPUVendor getVendor() const
Definition: OgreRenderSystemCapabilities.h:439
virtual void removeAllLinkedSkeletonAnimationSources(void)
Remove all links to other skeletons for the purposes of sharing animation.
void swap(Quaternion &other)
Exchange the contents of this quaternion with another.
Definition: OgreQuaternion.h:99
Command object for blue adjust (see ParamCommand).
Definition: OgreColourFaderAffector.h:65
const NumericTrackList & _getNumericTrackList(void) const
Fast access to NON-UPDATEABLE numeric track list.
HlmsSamplerblock const * samplerBlock
Definition: OgreHlmsPbsDatablock.h:59
const String & getGLVendor(void) const
Get vendor information.
Definition: OgreGL3PlusSupport.h:74
ShaderProgramWriterGLSLFactory()
Definition: OgreShaderGLSLProgramWriter.h:124
void undeclareResource(const String &name, const String &groupName)
Undeclare a resource.
virtual void _hlmsMacroblockCreated(HlmsMacroblock *newBlock)
Pose * clone(void) const
Clone this pose and create another one configured exactly the same way (only really useful for clonin...
static ArrayReal Sin4(ArrayReal x)
Returns the sine of x.
unsigned short getNumWorldTransforms(void) const
Returns the number of world transform matrices this renderable requires.
@ HBL_NO_OVERWRITE
As HBL_DISCARD, except the application guarantees not to overwrite any region of the buffer which has...
Definition: OgreHardwareBuffer.h:138
void setGamma(Real gamma)
Sets the gamma adjustment factor applied to this texture on loading the data.
Definition: OgreTextureUnitState.h:540
String doGet(const void *target) const
GPUDeviceNameRuleIterator getGPUDeviceNameRuleIterator() const
Get an iterator over the currently registered device name rules.
size_t getFrameCount(void) const
Returns how many times _update has been called.
Definition: OgreCompositorManager2.h:219
float getGreenAdjust(void) const
Gets the green adjustment to be made per second to particles.
void setVertexData(VertexData *v_in)
Set the incoming vertex data (which will be modified)
void setDoBoneCalculations(bool doBoneCalculations)
virtual void defineTerrain(long x, long y, const Terrain::ImportData *importData)
Define the content of a 'slot' in the terrain grid.
size_t size
Definition: OgreGL3PlusVaoManager.h:53
GLboolean depthWrite
Definition: OgreGL3PlusHlmsPso.h:48
IdString getTypeName(void) const
Definition: OgreHlms.h:423
static const IdString BlendModeIndex8
Definition: OgreUnlitProperty.h:117
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
@ TID_UNKNOWN
Definition: OgreScriptLexer.h:55
virtual void convertGridToWorldSpace(const Vector2 &grid, Vector3 &world)
Convert a grid point to world space - note only 2 axes populated.
void setTopBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the top edge of the border.
const String & getDefaultResourceGroup() const
Get the default resource group to use to load / save terrains.
Definition: OgreTerrain.h:2098
MemoryDataStream(const String &name, const DataStreamPtr &sourceStream, bool freeOnClose=true, bool readOnly=false)
Create a named stream which pre-buffers the contents of another stream.
@ mutYes
Definition: OgreD3D9RenderSystem.h:58
static void SetRandomValueProvider(RandomValueProvider *provider)
@ ID_BUFFERS
Definition: OgreScriptCompiler.h:899
virtual OldNode * getChild(unsigned short index) const
Gets a pointer to a child OldNode.
Hlms * getCreator(void) const
Definition: OgreHlmsComputeJob.h:152
void addConstantDefinition(const String &name, GpuConstantType constType, size_t arraySize=1)
Add a new constant definition to this shared set of parameters.
virtual void _notifyRenderTargetDetached(RenderTarget *renderTarget)
Called when a RenderTarget is detaches from this DepthBuffer.
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
String doGet(const void *target) const
bool mTemplatesOutOfDate
Definition: OgreHlmsDiskCache.h:168
static long parseLong(const String &val, long defaultValue=0)
Converts a String to a whole number.
This class uses as accessor from a template SubRenderState to all of its instances that created based...
Definition: OgreShaderSubRenderState.h:173
Real getValueImpl(const MovableObject *movableObject, const Camera *camera) const
VertexBufferPacked const * vertexBuffer
Definition: OgreVertexArrayObject.h:191
virtual void destroyAllBillboardSets(void)
Removes & destroys all BillboardSets.
String doGet(const void *target) const
@ OGREPROF_USER_DEFAULT
User default profile.
Definition: OgreProfiler.h:205
void doSet(void *target, const String &val)
std::set< T, P, A > type
Definition: OgrePrerequisites.h:643
const PluginInstanceList & getInstalledPlugins() const
Gets a read-only list of the currently installed plugins.
Definition: OgreRoot.h:791
ConstVectorIterator< NodeVec > ConstNodeVecIterator
Definition: OgreNode.h:76
Definition: OgreScriptParser.h:47
int SafeBoolHelper::* SafeBoolType
Definition: OgreComPtr.h:190
virtual void resourceGroupLoadEnded(const String &groupName)=0
This event is fired when a resource group finished loading.
virtual_l2 Quaternion convertLocalToWorldOrientation(const Quaternion &localOrientation)
Gets the world orientation of an orientation in the node local space useful for simple transforms tha...
void clear(void)
Clear the settings.
#define ARRAY_PACKED_REALS
Definition: OgreArrayConfig.h:159
map< unsigned short, HardwareVertexBufferSharedPtr >::type VertexBufferBindingMap
Defines the vertex buffer bindings used as source for vertex declarations.
Definition: OgreHardwareVertexBuffer.h:502
BufferType getBufferType(void) const
Definition: OgreBufferPacked.h:205
std::set< T, P, A >::const_iterator const_iterator
Definition: OgrePrerequisites.h:645
void setAutoConstantReal(size_t index, AutoConstantType acType, Real rData)
virtual void _startLegacyV1Rendering(void)
May override the current VertexArrayObject!
void setStartLight(unsigned short startLight)
Sets the light index that this pass will start at in the light list.
virtual void passPreExecute(CompositorPass *pass)
Called when each pass is about to be executed.
A staging buffer is a buffer that resides on the GPU and be written to/from both CPU & GPU However th...
Definition: OgreGLES2StagingBuffer.h:46
virtual void _hlmsComputePipelineStateObjectCreated(HlmsComputePso *newPso)
virtual void setHlmsPassProperties(Hlms *hlms)
static const IdString TexMatrixCount
Definition: OgreUnlitProperty.h:51
MovablePlane(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const Vector3 &rkPoint0, const Vector3 &rkPoint1, const Vector3 &rkPoint2)
void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
DataStreamPtr open(const String &filename, bool readOnly=true)
Open a stream on a given file.
virtual ~AnimationTrack()
void add3D(SceneNode *node)
Adds a node capable of holding 3D objects to the overlay.
GLenum destBlend
Definition: OgreGLES2HlmsPso.h:56
void setPlanePoint(const Vector3 &pos)
Sets the plane point of the deflector plane.
SceneManagerFactory()
Definition: OgreSceneManager.h:3347
PCZCamera * getLastVisibleFromCamera()
Get the lastVisibleFromCamera pointer.
Definition: OgrePCZone.h:122
virtual Real getDefaultHeight(void) const
See setDefaultDimensions - this gets 1 component individually.
virtual void setCustomShadowCasterMaterials(const SkinningType skinningType, const MaterialPtr &caster1Weight, const MaterialPtr &caster2Weight, const MaterialPtr &caster3Weight, const MaterialPtr &caster4Weight)
Sets the list of custom shadow caster materials.
void importLodConfig(Ogre::LodConfig *config, const Ogre::String &filename)
HighLevelGpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Create an instance of GLSLProgram.
void setSamplerblock(const HlmsSamplerblock &samplerblock)
Changes the current samplerblock for a new one.
DefaultHardwareIndexBuffer(IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage)
static const IdString DetailOffsetsN1
Definition: OgreHlmsPbsMobile.h:133
SceneNode * createSceneNodeImpl(void)
Creates a specialized BspSceneNode.
void _frameEnded(void)
Called when the frame has fully ended (ALL passes have been executed to all RTTs)
Contains information needed by PBS (Physically Based Shading) for OpenGL 3+ & D3D11+.
Definition: OgreHlmsUnlitDatablock.h:67
bool isAA() const
Definition: OgreD3D9RenderWindow.h:54
Definition: OgreScriptTranslator.h:225
RenderTexture * getBoundSurface(size_t index)
Get a pointer to a bound surface.
Definition: OgreRenderTexture.h:125
Definition: OgreOSXCocoaTouchView.h:51
void updatePortalsZoneData(void)
Update the zone data for each portal.
void _setVertexTexture(size_t unit, const TexturePtr &tex)
Binds a texture to a vertex, geometry, compute, tessellation hull or tessellation domain sampler.
CbDrawCallStrip(int baseInstanceAndIndirectBuffers, VertexArrayObject *_vao, void *_indirectBufferOffset)
bool mIncludeOverlays
TODO: Refactor OgreOverlay to remove this design atrocity.
Definition: OgreCompositorPassDef.h:129
#define OGRE_STATIC_MUTEX(name)
Definition: OgreThreadDefinesBoost.h:48
NumericAnimationTrack * _clone(Animation *newParent) const
Clone this track (internal use only)
IncludeOrExclude includeOrExclude
Definition: OgreTechnique.h:97
static Real Cos(const Radian &fValue, bool useTables=false)
Cosine function.
Definition: OgreMath.h:321
GeneralAllocatedObject RTShaderSystemAlloc
Definition: OgreShaderPrerequisites.h:47
static uint8 getMaxMipmapCount(uint32 width, uint32 height, uint32 depth)
Vector3 getDiffuse(void) const
DataStream(uint16 accessMode=READ)
Constructor for creating unnamed streams.
Definition: OgreDataStream.h:197
virtual void postInitializePassDef(CompositorPassDef *passDef)
Called right after we create a pass definition.
Definition: OgreCompositorNodeDef.h:134
SkeletonPtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Get a resource by name.
bool contains(const Box &def) const
Return true if the other box is a part of this one.
Definition: OgreCommon.h:887
static const IdString UvDiffuse3
Definition: OgreUnlitProperty.h:78
unsigned long getLastUsedTimestamp(void)
Returns the time in millisecond when the ref. count became 0.
Definition: OgreStagingBuffer.h:303
InstanceManager(IdString customName, SceneManager *sceneManager, const String &meshName, const String &groupName, InstancingTechnique instancingTechnique, uint16 instancingFlags, size_t instancesPerBatch, unsigned short subMeshIdx, bool useBoneMatrixLookup=false)
virtual void _setMaterialName(const String &matName, const String &resourceGroup)
Sets the material this renderer must use; called by ParticleSystem.
void close(void)
Close the stream; this makes further operations invalid.
void doSet(void *target, const String &val)
~GL3PlusDefaultHardwareIndexBuffer()
const float & max(const float &a, const float &b)
Definition: OgreCommon.h:1016
virtual void bindBufferVS(uint16 slot)
Binds the constant buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
const StringVector & getVertexShaderProfilesList() const
Get the output vertex shader target profiles as list of strings.
Definition: OgreShaderGenerator.h:168
@ PF_R8
8-bit pixel format, all bits red.
Definition: OgrePixelFormat.h:226
TexturePtr getTexture(uint8 texUnit) const
virtual ~GLES2GpuProgramManager()
virtual bool frameStarted(const FrameEvent &evt)
Called when a frame is about to begin rendering.
Definition: OgreFrameListener.h:97
void preExtraThreadsStarted()
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
Vertex array objects (Vaos) are immutable objects that describe a combination of vertex buffers and i...
Definition: OgreVertexArrayObject.h:58
void setFog(bool overrideScene, FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, Real expDensity=0.001, Real linearStart=0.0, Real linearEnd=1.0)
Sets the fogging mode applied to each pass.
virtual void loadImage(const Image &img)
Loads the data from an image.
DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
Definition: OgreLwConstString.h:64
const AutoConstantEntry * _findRawAutoConstantEntryUnsignedInt(size_t physicalIndex)
Finds an auto constant that's affecting a given physical position in the unsigned integer buffer.
CompositorPassType getType() const
Definition: OgreCompositorPass.h:167
void getRenderOperation(v1::RenderOperation &op, bool casterPass)
See Renderable.
virtual v1::StaticGeometry * getStaticGeometry(const String &name) const
Retrieve a previously created StaticGeometry instance.
const MaterialPtr & getMaterial() const
Get the material being used for the terrain.
ushort supportsPoseAnimation
Definition: OgreMaterialSerializer.h:55
virtual Real getHoldRadiusInCells()
Get the Hold radius as a multiple of cells.
Definition: OgreGrid2DPageStrategy.h:175
void setProgram(GpuProgramPtr &prog)
Sets the program to use.
GLES2VertexArrayObject(GLuint vaoName, uint32 renderQueueId, const VertexBufferPackedVec &vertexBuffers, IndexBufferPacked *indexBuffer, OperationType opType)
Definition: Vao/OgreGLES2VertexArrayObject.h:42
static GLenum getGLType(unsigned int type)
Utility function to get the correct GL type based on VET's.
ConstVectorRange(typename T::const_iterator b, typename T::const_iterator e)
Constructor.
Definition: OgreIteratorRange.h:208
virtual void _notifyRenderTargetAttached(RenderTarget *renderTarget)
Called when a RenderTarget is attaches this DepthBuffer.
GenericDocument< UTF8< char >, MemoryPoolAllocator< CrtAllocator >, CrtAllocator > Document
Definition: OgreSceneFormatImporter.h:40
void upload(const void *data, size_t elementStart, size_t elementCount)
virtual const Vector3 & getDirection(void) const
Returns the base direction of the emitter.
@ BRDF_MASK
Definition: OgreHlmsPbsDatablock.h:79
Real getAttenuationRange(void) const
Returns the absolute upper range of the light.
Definition: OgreLight.h:231
virtual void _updateCustomGpuParameter(const GpuProgramParameters::AutoConstantEntry &constantEntry, GpuProgramParameters *params) const
Update a custom GpuProgramParameters constant which is derived from information only this Renderable ...
Definition: OgreRenderable.h:328
bool isFullyVisible(const Sphere &bound) const
static const IdString UvDiffuseSwizzle2
Definition: OgreUnlitProperty.h:94
bool getPassFogStates(void) const
const Matrix4 & getSpotlightWorldViewProjMatrix(size_t index) const
SimplexNoise(unsigned long definedSeed)
Constructor with a by seed defined permutation table.
@ MetallicWorkflow
Definition: OgreHlmsPbsDatablock.h:218
const String & getMovableType() const
virtual PixelFormat getSupportedAlternative(PixelFormat format)
Get the closest supported alternative format.
StringVector possibleValues
Definition: OgreConfigOptionMap.h:53
@ GCT_MATRIX_2X4
Definition: OgreGpuProgramParams.h:82
static Real AngleUnitsToDegrees(Real units)
Convert from the current AngleUnit to degrees.
LayerBlendSource source2
The second source of colour/alpha.
Definition: OgreBlendMode.h:149
virtual RenderTexture * getRenderTarget(size_t slice=0)
Get a render target for this PixelBuffer, or a slice of it.
vector< Destination >::type DestinationVec
Definition: OgreStagingBuffer.h:102
std::string getReleaseText() const
Always returns "[Hash 0x0a0100ef]" strings in any mode.
Definition: OgreIdString.h:267
void setDetailMapOffsetScale(uint8 detailMap, const Vector4 &offsetScale)
Sets the scale and offset of the detail map.
AndroidEGLWindow(AndroidEGLSupport *glsupport)
TexturePtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new texture.
static void getBitShifts(PixelFormat format, unsigned char rgba[4])
Gives the bit shifts for R, G, B and A component.
@ ID_DEPTH_CHECK
Definition: OgreScriptCompiler.h:668
ValType ValueType
Type you expect to get by funktions like peekNext(Value)
Definition: OgreIteratorWrapper.h:63
size_t split
Definition: OgreCompositorShadowNodeDef.h:65
void destroy()
Destroys the memory ptrs.
@ ID_LIGHT_CLIP_PLANES
Definition: OgreScriptCompiler.h:684
virtual void setColourRangeStart(const ColourValue &colour)
Sets the minimum colour of particles to be emitted.
const LightList * setShadowMapsToPass(Renderable *rend, const Pass *pass, AutoParamDataSource *autoParamDataSource, size_t startLight)
SceneNode *const * getProxySceneNodes(void) const
Definition: OgreParallaxCorrectedCubemap.h:234
int getSoftwareAnimationRequests(void) const
Returns the number of requests that have been made for software animation.
Definition: OgreEntity.h:510
const String & findGroupContainingResource(const String &filename)
Find the group in which a resource exists.
void setDumpPathsOnShutdown(const String &fullPathPerFrame, const String &fullPathAccum)
Ogre will call dumpProfileResults for your on shutdown if you set these paths.
void merge(const Vector3 &points)
Extends the box to encompass the specified point (if needed).
bool getLightCountAutoUpdate() const
Return true if this render state override the light count.
Definition: OgreShaderRenderState.h:109
char * DisplayString(NativeDisplayType nativeDisplayType)
virtual_l1 void textureCoord(const Vector3 &uvw)
Add a texture coordinate to the current vertex.
@ SKELETONS_NOT_SUPPORTED
Definition: OgreInstanceBatch.h:100
static CmdBounce msBounceCmd
Definition: OgreDeflectorPlaneAffector.h:100
void _setViewMatrix(const Matrix4 &m)
Sets the view transform matrix.
virtual void setDefaultHeight(Real height)
See setDefaultDimensions - this sets 1 component individually.
Definition: OgreMetalNullTexture.h:98
void beginOcclusionQuery()
Starts the hardware occlusion query.
void setCustomParameter(size_t index, const Vector4 &value)
Sets a custom parameter for this Renderable, which may be used to drive calculations for this specifi...
Definition: OgreRenderable.h:259
bool async
Whether to load the chunks async. if set to false, the call to load waits for the whole chunk....
Definition: OgreVolumeChunk.h:92
void notifyStaticAabbDirty(MovableObject *movableObject)
Notifies that the given MovableObject is dirty (i.e.
virtual void index(uint32 idx)
Add a vertex index to construct faces / lines / points via indexing rather than just by a simple list...
static vector< String >::type split(const String &str, const String &delims="\t\n ", unsigned int maxSplits=0, bool preserveDelims=false)
Returns a StringVector that contains all the substrings delimited by the characters in the passed del...
~D3D9HLSLProgramFactory()
static String getBNFExpressionOfPixelFormats(bool accessibleOnly=false)
Gets the BNF expression of the pixel-formats.
virtual void _setRenderOperation(const v1::CbRenderOp *cmd)
bool isCompositeMapEnabled() const
Whether to use the composite map to provide a lower LOD technique in the distance (default true).
Definition: OgreTerrainMaterialGeneratorA.h:110
Polygon(const Polygon &cpy)
bool isVertexTextureFetchRequired(void) const
Returns whether this vertex program requires support for vertex texture fetch from the hardware.
@ PF_BC5_UNORM
DDS (DirectDraw Surface) BC5 format (unsigned normalised)
Definition: OgrePixelFormat.h:214
virtual PagedWorldSection * getParentSection() const
Get the PagedWorldSection this page belongs to.
Definition: OgrePage.h:115
GpuNamedConstants()
Definition: OgreGpuProgramParams.h:491
@ BBT_PERPENDICULAR_COMMON
Billboards are perpendicular to a shared direction vector (used as Z axis, the facing direction) and ...
Definition: OgreBillboardSet.h:86
@ PFF_DEPTH
This is a depth format (for depth textures)
Definition: OgrePixelFormat.h:378
Particle * getNext(void)
Returns a pointer to the next particle, and moves the iterator on by 1 element.
#define _OgreHlmsUnlitExport
Definition: OgreHlmsUnlitPrerequisites.h:50
static const uint32 TERRAINLAYERSAMPLERELEMENT_CHUNK_ID
Definition: OgreTerrain.h:286
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
virtual void shutdown(void)
Shut down the background queue system.
bool canHandleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
virtual void extractLayoutQualifiers(void)
Finds layout qualifiers in the shader source and sets attribute indices appropriately.
virtual void destroyAdvancedTexture(const String &sTextureName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)=0
What this destroys is dependent on the plugin...
vector< IndexData * >::type LODFaceList
Definition: OgreSubMesh.h:118
Timer class.
Definition: Android/OgreTimerImp.h:38
static ArrayReal Modf4(ArrayReal x, ArrayReal &outIntegral)
Break x into fractional and integral parts.
HLMS implementation that handles compute shaders.
Definition: OgreHlmsCompute.h:50
void setNamedConstant(const String &name, Real val)
Sets a single value constant floating-point parameter to the program.
Archive * archive
The archive in which the file has been found (for info when performing multi-Archive searches,...
Definition: OgreArchive.h:54
const String & getLanguage(void) const
Returns a string that specifies the language of the gpu programs as specified in a material script.
size_t getNumOldNodeTracks(void) const
Gets the number of OldNodeAnimationTrack objects contained in this animation.
virtual void setSourceB(Source *b)
Sets the second operator source.
virtual ~BaseInstanceBatchVTF()
int32 value
Definition: OgreHlmsCommon.h:135
void setOrientationMode(OrientationMode orientationMode)
Set the orientation mode of the frustum.
static const size_t MS_CORNERS_RIGHT[4]
To call Marching Squares with a cube on its right.
Definition: OgreVolumeIsoSurface.h:69
bool requiresTextureFlipping() const
Definition: OgreGL3PlusRenderTexture.h:60
LinkedSkeletonAnimationSource(const String &skelName, Real scl)
Definition: OgreSkeleton.h:471
static const IdString UvAtlas1
Definition: OgreHlmsUnlitMobile.h:144
size_t currentSize
Current physical size allocation.
Definition: OgreGpuProgramParams.h:561
void setGlyphAspectRatio(CodePoint id, Real ratio)
Sets the aspect ratio (width / height) of this character.
Definition: OgreFont.h:334
void setBounds(const Aabb &aabb, Real radius)
Set the bounds of the BillboardSet.
const String & getName(void) const
Gets resource name.
Class for rendering the border of a BorderPanelOverlayElement.
Definition: OgreBorderPanelOverlayElement.h:324
void setFilenamePrefix(const String &prefix)
virtual void addChild(OldNode *child)
Adds a (precreated) child scene OldNode to this OldNode.
static MeshManager & getSingleton(void)
Override standard Singleton retrieval.
Level of detail strategy based on distance from camera.
Definition: OgreDistanceLodStrategy.h:59
bool operator<(const LightClosest &right) const
Definition: OgreCommon.h:686
CompareFunction compareOp
Definition: OgreCommon.h:134
DefaultShadowCameraSetup()
Default constructor.
Node * removeChild(Node *child)
Overridden from Node to remove any reference to octants.
bool requiresTextureFlipping() const
Definition: OgreGLES2FBOMultiRenderTarget.h:48
void addResourceLocation(const String &name, const String &locType, const String &resGroup=DEFAULT_RESOURCE_GROUP_NAME, bool recursive=false, bool readOnly=true)
Method to add a resource location to for a given resource group.
Factory class for DeflectorPlaneAffector.
Definition: OgreDeflectorPlaneAffectorFactory.h:39
void reposition(int left, int top)
Reposition the window.
Definition: OgreD3D11RenderWindow.h:59
ConstVectorRange(const VectorRange< T > &rhs)
Constructor.
Definition: OgreIteratorRange.h:216
Definition: OgreHlmsUnlitMobile.h:94
void _createSurfaceList(void)
internal method, create D3D11HardwarePixelBuffers for every face and mipmap level.
uint treeEnd
Definition: OgreTerrainLodManager.h:80
void setBlendValue(size_t x, size_t y, float val)
Set a single value of blend information (0 = transparent, 255 = solid)
bool getIgnoreAlphaDiffuse(void) const
void setValue(Real value)
ControllerValue implementation.
AutoParam ap
Definition: OgreShaderParams.h:85
@ SPC_POSTOLIGHT_OBJECT_SPACE6
Definition: OgreShaderParameter.h:133
virtual bool hasAnimationState(const String &name) const
Returns whether an animation state with the given name exists.
void setInnerSizeY(Real y)
Sets the y component of the area inside the ellipsoid which doesn't emit particles.
size_t getBytesPerElement(void) const
Definition: OgreBufferPacked.h:286
TerrainQuadTreeNode * getParent() const
Get parent node.
static D3DLIGHTTYPE get(Ogre::Light::LightTypes lightType)
return a D3D9 equivalent for a Ogre LightTypes value
float r
Definition: OgreColourValue.h:76
unsigned long long int ResourceHandle
Definition: OgreResource.h:39
String doGet(const void *target) const
Abstract class defining a movable object in a scene.
Definition: OgreMovableObject.h:65
static const IdString UvDiffuse10
Definition: OgreUnlitProperty.h:85
bool Undef(const char *iMacroName, size_t iMacroNameLen)
Undefine a macro.
void setShadowCasterMaterial(const Ogre::String &name)
set this material specific shadow casting specific material
virtual TransformKeyFrame * createNodeKeyFrame(Real timePos)
Creates a new KeyFrame and adds it to this animation at the given time index.
void optimiseVertexCacheTriList(void)
Re-order the indexes in this index data structure to be more vertex cache friendly; that is to re-use...
void doSet(void *target, const String &val)
void setQueryFlags(uint32 flags)
Set the default query flags for terrains.
Definition: OgreTerrain.h:2010
static const uint8 DERIVED_DATA_DELTAS
Definition: OgreTerrain.h:1192
@ M_GEOMETRY
Definition: OgreMeshFileFormat.h:212
void setTrueTypeResolution(uint ttfResolution)
Gets the resolution (dpi) of the font used to generate the texture (only required for FT_TRUETYPE).
virtual ConfigOptionMap & getConfigOptions(void)
Returns the details of this API's configuration options.
Definition: OgreNULLRenderSystem.h:70
HLMS Texture Manager manages textures in the way HLMS expects.
Definition: OgreHlmsTextureManager.h:72
const Vector4 & getLodCameraPosition(void) const
virtual bool getCastsShadows(void) const
Method which reports whether this renderable would normally cast a shadow.
Definition: OgreRenderable.h:242
FogMode getFogMode(void) const
Returns the fog mode for this pass.
MemoryDataStream(void *pMem, size_t size, bool freeOnClose=false, bool readOnly=false)
Wrap an existing memory chunk in a stream.
D3D11NullTextureTarget(D3D11NullTexture *ultimateTextureOwner, const String &name, v1::HardwarePixelBuffer *buffer, uint32 zoffset)
virtual void uninstall()=0
Perform the final plugin uninstallation sequence.
void _findNodes(const PlaneBoundedVolume &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
int _findclose(intptr_t id)
virtual void setMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the name of the material to be used for this billboard set.
static ArrayReal Max(ArrayReal a, ArrayReal b)
Returns the maximum value between a and b.
Definition: OgreMathlibC.h:293
void deleteAllInputParameters()
Delete all input parameters from this function.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:135
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
size_t mIndex
Definition: OgreColourInterpolatorAffector.h:52
bool IsHlsl4() const
Return if hlsl 4.0 shading language is currently in use.
Definition: OgreShaderGenerator.h:143
PageManager * getManager() const
void destroyAllTexBufferViews(void)
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
void setMaximumX(Real x)
Changes one of the components of the maximum corner of the box used to resize only one dimension of t...
Definition: OgreAxisAlignedBox.h:231
static const IdString UvAtlas7
Definition: OgreHlmsUnlitMobile.h:150
void setSpeedFactor(Real speedFactor)
Sets a 'speed factor' on this particle system, which means it scales the elapsed real time which has ...
Definition: OgreParticleSystem.h:402
~RibbonTrailFactory()
Definition: OgreRibbonTrail.h:235
VisibleObjectsPerThreadArray & _getTmpVisibleObjectsList()
@See mTmpVisibleObjects
Definition: OgreSceneManager.h:1904
ResourceAccess::ResourceAccess access
The UAV pass already sets the texture access.
Definition: OgreCompositorPassDef.h:151
void load(StreamSerialiser &stream)
Prepare and load the terrain in one simple call from a stream.
static uint16 floatToHalfI(uint32 i)
Converts float in uint32 format to a a half in uint16 format.
Definition: OgreBitwise.h:309
@ LOADSTATE_PREPARED
Fully prepared.
Definition: OgreResource.h:126
static const IdString BlendModeIdx12
Definition: OgreHlmsUnlitMobile.h:137
virtual ~GL3PlusTexture()
virtual void setFsaaResolved()
Definition: OgreD3D11DepthTexture.h:124
ColourValue saturateCopy(void) const
As saturate, except that this colour value is unaffected and the saturated colour value is returned a...
Definition: OgreColourValue.h:136
virtual const Source * getSourceA() const
Gets the first operator source.
#define OGRE_NUM_SHADOW_EXTRUDER_PROGRAMS
Definition: OgreShadowVolumeExtrudeProgram.h:200
@ ACT_SURFACE_AMBIENT_COLOUR
Surface ambient colour, as set in Pass::setAmbient.
Definition: OgreGpuProgramParams.h:1007
static const IdString UvDiffuse15
Definition: OgreUnlitProperty.h:90
void reload(LoadingFlags flags=LF_DEFAULT)
Reloads the resource, if it is already loaded.
uint16 getLodIndex(Real value) const
Retrieves the level of detail index for the given LOD value.
ControllerFunction(bool deltaInput)
Constructor.
Definition: OgreController.h:89
uint16 boneIndex
Definition: OgreVertexBoneAssignment.h:66
uint32 getLifetimeThreshold(void) const
Returns the time in milliseconds in which a StagingBuffer should live with a reference count of 0 bef...
Definition: OgreStagingBuffer.h:300
@ M_EDGE_LIST_LOD
Definition: OgreMeshFileFormat.h:121
virtual void setSortingEnabled(bool sortenable)
Enables sorting for this BillboardSet.
static const IdString BlendModeIdx11
Definition: OgreHlmsUnlitMobile.h:136
Hlms(HlmsTypes type, const String &typeName, Archive *dataFolder, ArchiveVec *libraryFolders)
@ PM_POINTS
Only points are rendered.
Definition: OgreCommon.h:314
const UniformParameterList & getParameters() const
Get the list of uniform parameters of this program.
Definition: OgreShaderProgram.h:122
@ ST_LINEAR
Definition: OgreShaderPrerequisites.h:95
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
@ OT_PATCH_21_CONTROL_POINT
Definition: OgreHlmsPso.h:80
const Radian & getRotation(void) const
Get the rotation of the billboard.
Definition: OgreBillboard.h:105
@ ID_TARGET_WIDTH_SCALED
Definition: OgreScriptCompiler.h:829
static ArrayReal Inv4(ArrayReal val)
Returns the reciprocal of x.
Definition: OgreMathlibC.h:330
virtual void updateCompositeMap(const Terrain *terrain, const Rect &rect)
Update the composite map for a terrain.
virtual void translateCustomPass(const AbstractNodePtr &node, CompositorPassDef *customPassDef)
Optional override which allows users to define custom properties in the compositor scripts for custom...
Definition: OgreCompositorPassProvider.h:105
~SimplePageContentCollection()
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
uint32 getDepth() const
Gets the depth of this buffer.
Definition: OgreHardwarePixelBuffer.h:193
void _useLights(const LightList &lights, unsigned short limit)
Tells the rendersystem to use the attached set of lights (and no others) up to the number specified (...
double PreciseReal
Real type for numeric solvers.
Definition: OgreNumerics.h:44
Ogre::SharedPtr< Vector3 > vertexNormalBuffer
Definition: OgreLodBuffer.h:52
RenderToVertexBufferSharedPtr createRenderToVertexBuffer()
Create a render to vertex buffer.
Definition: OgreHardwareBufferManager.h:457
void doSet(void *target, const String &val)
size_t globalIndex
Index to SceneManager::mGlobalLightList.
Definition: OgreCommon.h:674
virtual void _renderEmulated(const CbDrawCallIndexed *cmd)
ImageDownsampler2D downscale2x_Float32_XXXA
Definition: OgreImageDownsampler.h:145
static String AUTODETECT_RESOURCE_GROUP_NAME
Special resource group name which causes resource group to be automatically determined based on searc...
Definition: OgreResourceGroupManager.h:270
@ InheritOrientation
Definition: OgreBoneArrayMemoryManager.h:65
Real getTanTime_0_1(Real x) const
~GLES2OldVertexArrayObject()
bool isHeightDataModified() const
Returns whether terrain heights have been modified since the terrain was first loaded / defined.
Definition: OgreTerrain.h:768
Visibility
Visibility types.
Definition: OgrePCZCamera.h:57
virtual PCZone * updateNodeHomeZone(PCZSceneNode *pczsn, bool allowBackTouces)
Update a node's home zone.
Definition: OgreHlmsJson.h:74
Command object for area emitter size (see ParamCommand).
Definition: OgreAreaEmitter.h:52
void load()
Load - will be called in main thread.
virtual void setCullIndividually(bool cullIndividual)
Sets whether culling tests billboards in this individually as well as in a group.
Matrix4 getInverseTransposeProjectionMatrix() const
void buildTangentVectors(VertexElementSemantic targetSemantic=VES_TANGENT, unsigned short sourceTexCoordSet=0, unsigned short index=0, bool splitMirrored=false, bool splitRotated=false, bool storeParityInW=false)
This method builds a set of tangent vectors for a given mesh into a 3D texture coordinate buffer.
static const IdString TexMatrixCount6
Definition: OgreHlmsUnlitMobile.h:102
GLenum getGL3PlusTextureTarget(void) const
void _setSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendOperation op)
VertexData * _getSoftwareVertexAnimVertexData(void) const
Advanced method to get the temporarily blended software vertex animation information.
static D3DBLEND get(SceneBlendFactor sbf)
return a D3D9 equivalent for a Ogre SceneBlendFactor value
D3D9Device(D3D9DeviceManager *deviceManager, UINT adapterNumber, HMONITOR hMonitor, D3DDEVTYPE devType, DWORD behaviorFlags)
@ TAM_UNKNOWN
Unknown.
Definition: OgreHlmsSamplerblock.h:56
static PixelFormat getClosestOGREFormat(GLenum fmt, GLenum dataType)
Function to get the closest matching OGRE format to an internal GL format.
@ FFP_VS_PRE_PROCESS
Definition: OgreShaderFFPRenderState.h:45
void createIrradianceVolumeTexture(uint32 numBlocksX, uint32 numBlocksY, uint32 numBlocksZ)
GLXFBConfig * chooseFBConfig(const GLint *attribList, GLint *nElements)
Portable replacement for glXChooseFBConfig.
virtual ~MeshSerializerImpl_v1_10()
ComPtr(ComPtr< U > const &other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:140
@ VET_USHORT3_DEPRECATED
Definition: OgreVertexElements.h:93
void _removeCompositorTextures(size_t from)
Removes all compositor textures from 'from' to end.
unsigned int line
Definition: OgreScriptCompiler.h:69
void setRenderQueueMode(uint8 rqId, RenderQueue::Modes newMode)
Sets the mode for the RenderQueue ID.
void setBlendblock(const HlmsBlendblock &blendblock)
Sets the blendbock to every pass.
MovableObject * detachObjectFromBone(const String &movableName)
Detach a MovableObject previously attached using attachObjectToBone.
unsigned short getNumWorldTransforms(void) const
Returns the number of world transform matrices this renderable requires.
Definition: OgreBorderPanelOverlayElement.h:336
const Vector3 & _getBindingPoseInverseScale(void) const
Gets the inverted binding pose scale.
Definition: OgreOldBone.h:119
@ MESH_VERSION_LEGACY
Legacy versions, DO NOT USE for writing.
Definition: OgreMeshSerializer.h:62
GLSLShaderFactory(const GL3PlusSupport &support)
@ VES_COUNT
The number of VertexElementSemantic elements (note - the first value VES_POSITION is 1)
Definition: OgreVertexElements.h:64
@ FFP_ALPHA_TEST
Definition: OgreShaderFFPRenderState.h:77
D3D11VideoModeList(IDXGIAdapterN *pAdapter)
virtual void _setTexture(size_t unit, bool enabled, Texture *texPtr)=0
Sets the texture to bind to a given texture unit.
@ MESH_VERSION_LEGACY
Definition: OgreMesh2Serializer.h:66
void setMaterial(const MaterialPtr &material)
Sets the material to use for the whole of this entity.
virtual const String & getType() const
Get the type of the content, which will match it's factory.
@ ACT_TIME_0_X
Single float value, which repeats itself based on given as parameter "cycle time".
Definition: OgreGpuProgramParams.h:1173
#define OGRE_MUTEX(name)
Definition: OgreThreadDefinesBoost.h:47
void setShadowCasterVertexProgram(const String &name)
Sets the details of the vertex program to use when rendering as a shadow caster.
vector< Frustum * >::type FrustumVec
Definition: OgreMovableObject.h:45
SubStringRef(const String *original, size_t start)
Definition: OgreHlmsCommon.h:55
Class for quickly loading settings from a text file.
Definition: OgreConfigFile.h:62
MeshPtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new mesh.
size_t getNumActiveShadowCastingLights(void) const
The return value may change in the future, which happens when the number of lights changes to or from...
Definition: OgreCompositorShadowNode.h:274
virtual void setCommonDirection(const Vector3 &vec)
Use this to specify the common direction given to billboards of type BBT_ORIENTED_COMMON or BBT_PERPE...
Real * ptr()
Pointer accessor for direct copying.
Definition: OgreVector3.h:126
virtual void _notifyParticleResized(void)
Internal callback used by Particles to notify their parent that they have been resized.
void loadImage(const Image &img)
Load an image into this blend layer.
uint32 getHeight() const
Gets the height of this buffer.
Definition: OgreHardwarePixelBuffer.h:191
virtual bool resourceExists(const String &name)
Returns whether the named resource exists in this manager.
Definition: OgreResourceManager.h:381
void _releaseManualHardwareResources()
Notifies that hardware resources were lost.
virtual_l2 void translate(Real x, Real y, Real z, TransformSpace relativeTo=TS_PARENT)
Moves the node along the Cartesian axes.
std::list< T, A > type
Definition: OgrePrerequisites.h:629
void addResolveStageMask(unsigned int mask)
Add the given mask to resolve stage flags that this sub render state will produce.
Definition: OgreShaderFFPColour.h:108
void removePose(const String &name)
Destroy a pose by name.
HardwareVertexBufferSharedPtr createStreamOutputVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a stream output vertex buffer.
Win32EGLWindow(Win32EGLSupport *glsupport)
virtual TerrainSlotDefinition * getTerrainDefinition(long x, long y) const
Get the definition of a slot in the terrain.
Class representing an approach to rendering this particular Material.
Definition: OgreTechnique.h:51
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
FilterType
Definition: OgreCommon.h:226
Definition: C/OgreBooleanMask.h:39
SGMaterialSerializerListener * getMaterialSerializerListener()
Return custom material Serializer of the shader generator.
GLES2SurfaceDesc requestRenderBuffer(GLenum format, uint32 width, uint32 height, uint fsaa)
Request a render buffer.
float getMaxDistance(void) const
Definition: OgreForwardClustered.h:129
A specialisation of the PanelOverlayElement to provide a panel with a border.
Definition: OgreBorderPanelOverlayElement.h:59
virtual const String & getTargetLanguage() const =0
Return the target language of this writer.
IdString(const char *string)
Definition: OgreIdString.h:112
GPUVendorRule(GPUVendor v, IncludeOrExclude ie)
Definition: OgreTechnique.h:100
MovableObject * getAttachedObject(const String &name)
Retrieves a pointer to an attached object.
static const int TextureBits
Definition: OgreRenderQueue.h:264
static const IdString Pcf4x4
Definition: OgreHlmsPbs.h:391
Definition: OgreD3D9Texture.h:41
OperationType
Definition: OgreHlmsPso.h:46
bool isShadowMapIdxActive(uint32 shadowMapIdx) const
Returns true if the shadow map index is not active.
@ PF_R8G8B8A8
32-bit pixel format, 8 bits for red, green, blue and alpha.
Definition: OgrePixelFormat.h:81
Class encapsulating a set of AnimationState objects.
Definition: OgreAnimationState.h:198
const RenderSystemList & getAvailableRenderers(void)
Retrieve a list of the available render systems.
const String & getResourceGroup(void) const
Gets the resource group of the ultimate parent Material.
void install()
Perform the plugin initial installation sequence.
virtual void getCornersGridSpace(int32 x, int32 y, int32 z, Vector3 *pEightPoints)
Get the (grid space) corners of a cell.
bool ff(size_t count)
Step forward in cached stream by 'count' bytes.
Definition: OgreDataStream.h:123
virtual void setConfigOption(const String &name, const String &value)
Sets an option for this API.
Definition: OgreNULLRenderSystem.h:71
void setNamedConstant(const String &name, const float *val, size_t count, size_t multiple=4)
Sets a multiple value constant floating-point parameter to the program.
A volume source from a 16 Bit float 3D grid capable of loading volume serializations.
Definition: OgreVolumeHalfFloatGridSource.h:41
const String & getType(void) const
Returns the factory type.
void setManualValue(float value)
Shortcut for setting the given value without dealing with mp manually.
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
void addSoftwareAnimationRequest(bool normalsAlso)
Add a request for software animation.
@ CB_SET_CONSTANT_BUFFER_HS
Definition: OgreCbCommon.h:49
BillboardType
The type of billboard to use.
Definition: OgreBillboardSet.h:78
double mVplIntensityRangeMultiplier
Definition: OgreInstantRadiosity.h:217
Definition: OgreArrayRay.h:37
uint64 getMilliseconds()
Returns milliseconds since initialisation or last reset.
@ BoolUndefined
Definition: OgreTextureDefinition.h:70
virtual void nodeDestroyed(const Node *)
Node is being destroyed.
Definition: OgreNode.h:94
Math(unsigned int trigTableSize=4096)
Default constructor.
Log * getLog(const String &name)
Retrieves a log managed by this class.
static const IdString DiffuseMapCount15
Definition: OgreHlmsUnlitMobile.h:123
float getAlphaTestThreshold(void) const
Definition: OgreHlmsDatablock.h:380
OptimisedSubMeshGeometry()
Definition: OgreStaticGeometry.h:141
@ SPC_LIGHTPOSITION_WORLD_SPACE1
Definition: OgreShaderParameter.h:218
@ RSC_CONST_BUFFER_SLOTS_IN_SHADER
Definition: OgreRenderSystemCapabilities.h:212
HlmsPbs(Archive *dataFolder, ArchiveVec *libraryFolders)
virtual MaterialPtr generateForCompositeMap(const Terrain *terrain)=0
Generate / reuse a material for the terrain.
void setProfiles(const StringVector &profiles)
Sets the Cg profiles which can be supported by the program.
virtual AsyncTicketPtr createAsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)
void execute(SceneQueryListener *listener)
See RaySceneQuery.
@ LBX_BLEND_DIFFUSE_ALPHA
use interpolated alpha value from vertices to scale source1, then add source2 scaled by (1-alpha)
Definition: OgreBlendMode.h:95
virtual void _findNodes(const AxisAlignedBox &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)=0
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Overridden from OverlayElement.
virtual void applyDeltaValue(const Any &val)
Apply delta value.
@ ID_PARAM_NAMED_AUTO
Definition: OgreScriptCompiler.h:636
static bool pointInTri2D(const Vector2 &p, const Vector2 &a, const Vector2 &b, const Vector2 &c)
Checks whether a given point is inside a triangle, in a 2-dimensional (Cartesian) space.
VertexData * getVertexDataForBinding(bool casterPass)
Retrieve the VertexData which should be used for GPU binding.
void setRedAdjust2(float red)
ProfileChildrenMap childrenMap
Definition: OgreProfiler.h:332
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest, bool forGpuProgram=false)
Converts a uniform projection matrix to suitable for this render system.
const D3DCAPS9 & getD3D9DeviceCaps() const
Definition: OgreD3D9Driver.h:54
void _updateTracking(void)
Called by the SceneManager every frame to update our data based on tracked target.
const HlmsMacroblock * _getMacroblock(uint16 idx) const
Gets a macroblock based on its index.
void setFog(bool overrideScene, FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, Real expDensity=0.001, Real linearStart=0.0, Real linearEnd=1.0)
Sets the fogging mode applied to each pass.
virtual PageStrategyData * getStrategyData() const
Get the data required by the PageStrategy which is specific to this world section.
Definition: OgrePagedWorldSection.h:135
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:74
bool isInitialised(void) const
Has this Entity been initialised yet?
Definition: OgreEntity.h:668
bool compile(const String &str, const String &source, const String &group)
Takes in a string of script code and compiles it into resources.
uint hierarchicalLvl
The hierarchical level of this profile, 0 being the root profile.
Definition: OgreProfiler.h:292
virtual void bindBufferPS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
void setMetricsMode(GuiMetricsMode gmm)
Tells this element how to interpret the position and dimension values it is given.
virtual StringVectorPtr list(bool recursive=true, bool dirs=false)=0
List all file names in the archive.
@ PF_ASTC_SRGB8A8_8X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 8x5)
Definition: OgrePixelFormat.h:299
void execute(SceneQueryListener *listener)
See SceneQuery.
uint32 getDepth(void) const
Returns the depth of the texture (only applicable for 3D textures).
Definition: OgreTexture.h:229
Image & loadRawData(DataStreamPtr &stream, uint32 width, uint32 height, uint32 depth, PixelFormat format, size_t numFaces=1, size_t numMipMaps=0)
Loads raw data from a stream.
T * Get() const ASSUME_NOEXCEPT
Definition: OgreComPtr.h:197
void _updateViewportCullPhase01(Viewport *viewport, Camera *camera, const Camera *lodCamera, uint8 firstRq, uint8 lastRq)
virtual void quad(uint32 i1, uint32 i2, uint32 i3, uint32 i4)
Add a set of 4 vertex indices to construct a quad (out of 2 triangles); this is a shortcut to calling...
void destroySamplerblock(const HlmsSamplerblock *Samplerblock)
@See destroyMacroblock
Definition: OgreSkeletonDef.h:42
static void prepareMatricesForVertexBlend(const Matrix4 **blendMatrices, const Matrix4 *boneMatrices, const IndexMap &indexMap)
Prepare matrices for software indexed vertex blend.
void insert(iterator pos, InputIterator f, InputIterator l)
Definition: OgreCommon.h:599
void migrateTo(NodeMemoryManager *nodeMemoryManager)
Migrates the node and all of its children to the new memory manager, at the same depth level.
TextureAddressingMode mW
Definition: OgreHlmsSamplerblock.h:72
@ FOG_LINEAR
Fog density increases linearly between the start and end distances.
Definition: OgreCommon.h:265
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
uint16 fromTexUnit
Definition: OgreCbTexture.h:48
virtual ~ParamCommand()
Definition: OgreStringInterface.h:84
static String toString(const ColourValue &val)
Converts a ColourValue to a String.
virtual void readChunkEnd(uint32 id)
Finish the reading of a chunk.
const ColourValue & getAmbient(void) const
Gets the ambient colour reflectance of the pass.
virtual void setStencilBufferParams(uint32 refValue, const StencilParams &stencilParams)
See RenderSystem.
bool _isSkeletonAnimated(void) const
Tests if skeleton was animated.
void * getSymbol(const String &strName) const
Returns the address of the given symbol from the loaded library.
virtual ~D3D11StereoDriverBridge()
Definition: OgreSharedPtr.h:97
Real m[4][4]
Definition: OgreMatrix4.h:90
Definition: OgreGL3PlusAsyncTicket.h:39
void merge(const Aabb &rhs)
Merges the passed in box into the current box.
void XSendEvent(Display *nativeDisplayType, Window nativeWindowType, int dummy1, int mask, XEvent *xevent)
virtual ~ParticleEmitterFactory()
@ ACT_SHADOW_SCENE_DEPTH_RANGE_ARRAY
Provides an array of information about the depth range of the scene as viewed from a given shadow cam...
Definition: OgreGpuProgramParams.h:1308
SharedPtr< D3D9HLSLProgram > D3D9HLSLProgramPtr
Definition: OgreD3D9Prerequisites.h:100
Box(uint32 l, uint32 t, uint32 r, uint32 b)
Define a box from left, top, right and bottom coordinates This box will have depth one (front=0 and b...
Definition: OgreCommon.h:854
void getActualDimensions(int &left, int &top, int &width, int &height) const
Access to actual dimensions (based on target size).
static const IdString OutUvHalfCount
Definition: OgreUnlitProperty.h:127
static const int MeshBits
Definition: OgreRenderQueue.h:263
BufferBindFlags
Definition: OgreBufferPacked.h:94
@ SPC_TEXTURE_COORDINATE2
Definition: OgreShaderParameter.h:290
void buildRenderState(ShaderGenerator::SGPass *sgPass, TargetRenderState *renderState)
Build render state from the given pass that emulates the fixed function pipeline behaviour.
const String & getLanguage(void) const
Get the name of the language this factory creates shaders for.
virtual void updateChainElement(size_t chainIndex, size_t elementIndex, const Element &billboardChainElement)
Update the details of an existing chain element.
virtual PixelFormat getNativeFormat(TextureType ttype, PixelFormat format, int usage)
Gets the format which will be natively used for a requested format given the constraints of the curre...
@ TextureArrays
Definition: OgreHlmsTextureManager.h:76
ParameterPtr resolveOutputParameter(Parameter::Semantic semantic, int index, const Parameter::Content content, GpuConstantType type)
Resolve output parameter of this function.
@ RSC_HW_GAMMA
Supports Blending operations other than +.
Definition: OgreRenderSystemCapabilities.h:164
size_t getSize(void) const
Retrieves info about the size of the resource.
const_reverse_iterator rend() const
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:285
virtual void getInterpolatedKeyFrame(const TimeIndex &timeIndex, KeyFrame *kf) const
Gets a KeyFrame object which contains the interpolated transforms at the time index specified.
ComputeTextureSource(size_t _texUnitIdx, IdString _textureName, size_t _mrtIndex)
Definition: OgreCompositorPassComputeDef.h:69
~OctreeNode()
Standard destructor.
virtual GpuProgramParametersSharedPtr createParameters(void)
Creates a new GpuProgramParameters instance which can be used to bind parameters to your programs.
~BspSceneManagerFactory()
Definition: OgreBspSceneManager.h:272
void setSize(size_t size)
Sets the number of elements in the parameter (for arrays).
Definition: OgreShaderParameter.h:350
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:198
int getTargetLodLevel()
Definition: OgreTerrainLodManager.h:118
MaterialBucket * getParent(void)
Definition: OgreStaticGeometry.h:232
Aabb getWorldAabb() const
Gets the axis aligned box in world space.
unordered_set< BufferPacked * >::type BufferPackedSet
Definition: OgreBufferPacked.h:306
const String & getType(void) const
Returns the factory type.
virtual void changeEnableState(bool enabled)
If the profiler disables this listener then it should hide its panels (if any exists) or stop sending...
Definition: OgreProfiler.h:379
vector< Vector3 >::type extremityPoints
A list of extreme points on the submesh (optional).
Definition: OgreSubMesh.h:140
ConstVectorIterator(const T &c)
Constructor.
Definition: OgreIteratorWrapper.h:232
Prepared IteratorWrapper for container like std::vector.
Definition: OgreIteratorWrapper.h:136
void setGeometryProgramConstantFloatCount(ushort c)
The number of floating-point constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:700
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
void nodeCreated(BoneTransform &outTransform, size_t depth)
Requests memory for the given transform for the first, initializing values.
void setRotation(const Radian &rad)
Sets the current rotation.
vector< Vertex >::type VertexList
Definition: OgreLodData.h:145
SharedPtr< Texture > TexturePtr
Definition: OgrePrerequisites.h:361
@ SPC_LIGHTDIRECTION_TANGENT_SPACE0
Light direction in tangent space index 0-7.
Definition: OgreShaderParameter.h:197
virtual_l1 void setPosition(const Vector3 &pos)
Sets the position of the node relative to it's parent.
bool isVisible(void) const
Returns whether or not this object is supposed to be visible or not.
Ogre::SharedPtr< Vector3 > vertexBuffer
Definition: OgreLodBuffer.h:51
InstancedEntity * createInstancedEntity()
Returns a pointer to a new InstancedEntity ready to use Note it's actually preallocated,...
PixelFormat pixelFormat
Definition: OgreHlmsTextureManager.h:98
const Quaternion & getPoint(unsigned short index) const
Gets the detail of one of the control points of the spline.
Vector3 totalFrom
The back lower left corner of the world.
Definition: OgreVolumeChunkHandler.h:51
virtual const FrameStats & getStatistics(void) const
uint8 getLayerCount() const
Get the number of layers in this terrain.
Definition: OgreTerrain.h:994
ObjectAbstractNode(AbstractNode *ptr)
@ RSC_DOT3
Supports fixed-function DOT3 texture blend.
Definition: OgreRenderSystemCapabilities.h:84
void getWorldTransforms(Matrix4 *xform) const
Overridden from Renderable.
@ LBX_BLEND_MANUAL
as LBX_BLEND_DIFFUSE_ALPHA but use a constant manual blend value (0.0-1.0)
Definition: OgreBlendMode.h:101
GpuProgramPtr tesselationHullShader
Definition: OgreHlmsPso.h:163
void setIsAlpha(bool isAlpha)
Sets whether this texture is requested to be loaded as alpha if single channel.
virtual void triangleRemoved(LodData *data, LodData::Triangle *tri)
Definition: OgreLodOutputProvider.h:47
ResourceAllocatedObject TechniqueAlloc
Definition: OgreMemoryAllocatorConfig.h:338
virtual GLES2Context * clone() const =0
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
virtual void _beginFrameOnce(void)
Signifies the beginning of the main frame.
size_t read(void *buf, size_t count)
Read the requisite number of bytes from the stream, stopping at the end of the file.
@ GCT_UNKNOWN
Definition: OgreGpuProgramParams.h:120
static FORCEINLINE uint64 bswap64(uint64 arg)
Returns value with reversed bytes order.
Definition: OgreBitwise.h:78
static ParameterPtr createOutTexcoord4(int index, Parameter::Content content)
AxisAlignedBox()
Definition: OgreAxisAlignedBox.h:90
ArrayAabb(const ArrayVector3 ¢er, const ArrayVector3 &halfSize)
Definition: C/OgreArrayAabb.h:79
void setCorners(Real left, Real top, Real width, Real height)
Sets the corners of the rectangle, in relative coordinates.
static const IdString DiffuseMapCount11
Definition: OgreHlmsUnlitMobile.h:119
static uint32 blockIdxToSlotStart(uint32 blockIdx)
Convertes a block index back to a slot index.
Definition: OgreSkeletonDef.h:189
size_t getOffset(void) const
Gets the offset into the buffer where this element starts.
Definition: OgreHardwareVertexBuffer.h:134
virtual void postRenderTargetUpdate(const RenderTargetEvent &evt)
Called just after a RenderTarget has been rendered to.
Definition: OgreRenderTargetListener.h:111
String doGet(const void *target) const
virtual_l1 void tangent(Real x, Real y, Real z)
Add a vertex tangent to the current vertex.
void cleanerArrayQuaternion(char *dstPtr, size_t indexDst, char *srcPtr, size_t indexSrc, size_t numSlots, size_t numFreeSlots, size_t elementsMemSize)
@ BIND_SOFTWARE_MORPH
Definition: OgreEntity.h:648
Technique(Material *parent, const Technique &oth)
Copy constructor.
LinearSkinning()
Class default constructor.
@ SHADER_ALPHAFUNC
Definition: OgreQuake3Types.h:100
SendAllSingleTransformsToTexture(float *RESTRICT_ALIAS dstPtr, size_t floatsPerEntity, size_t entitiesPerPadding, size_t widthFloatsPadding)
Definition: OgreInstanceBatchHW_VTF.h:82
const String & getLanguage(void) const
Overridden from GpuProgram.
@ CB_SET_TEXTURE_BUFFER_CS
Definition: OgreCbCommon.h:58
bool _isSM3Available() const
Internal.
Definition: OgreTerrainMaterialGeneratorA.h:146
SceneNode * getParentSceneNode(void) const
size_t prevIndexCount
Definition: OgreLodData.h:140
Animation * getAnimation(const String &name, const LinkedSkeletonAnimationSource **linker=0) const
Returns the named Animation object.
virtual int32 getCellRangeMaxZ() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:173
void _setColourBufferWriteEnabled(bool red, bool green, bool blue, bool alpha)
IdString textureName
Name of the texture (can come from input channel, local textures, or global ones)
Definition: OgreCompositorPassQuadDef.h:56
ParticleEmitter(ParticleSystem *psys)
static const ArrayReal ONE
Definition: OgreMathlibC.h:46
static const IdString MetallicWorkflow
Definition: OgreHlmsPbs.h:345
const D3DDISPLAYMODE & getDesktopMode() const
Definition: OgreD3D9Driver.h:60
Win32Context(HDC HDC, HGLRC Glrc)
MeshSerializerImpl_v1_10()
Real dz
Definition: OgreDualQuaternion.h:166
void addEmitterFactory(ParticleEmitterFactory *factory)
Adds a new 'factory' object for emitters to the list of available emitter types.
SmallVectorTemplateBase<isPodLike = false> - This is where we put method implementations that are des...
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:351
ptrdiff_t difference_type
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:231
void _removeOctreeNode(OctreeNode *)
Removes the given octree node.
ArrayVector3(ArrayReal chunkX, ArrayReal chunkY, ArrayReal chunkZ)
Definition: C/OgreArrayVector3.h:70
size_t capacity() const
capacity - Return the total number of elements in the currently allocated buffer.
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:301
const String & getType(void) const
Get the type of the object to be created.
virtual void _hlmsPipelineStateObjectCreated(HlmsPso *newPso)
virtual Real transformUserValue(Real userValue) const
Transform user supplied value to internal value.
virtual void performCleanup(uint16 level, const MemoryPoolVec &basePtrs, size_t const *elementsMemSizes, size_t startInstance, size_t diffInstances)
Called when too many nodes were destroyed in a non-LIFO fashion.
@ PF_R8G8B8A8_UINT
32-bit pixel format, 8 bits red (unsigned int), 8 bits blue (unsigned int), 8 bits green (unsigned in...
Definition: OgrePixelFormat.h:166
String doGet(const void *target) const
virtual ~WindowEventListener()
Definition: OgreWindowEventUtilities.h:65
void setVisibilityFlags(uint32 flags)
Set the visbility flags that terrains will be rendered with.
Definition: OgreTerrain.h:2004
void setPoseWeight(size_t index, float w)
DefaultSceneManagerFactory()
Definition: OgreSceneManagerEnumerator.h:51
ImageBlur2D separableBlur_XA88
Definition: OgreImageDownsampler.h:104
static const IdString AlphaBlend
Definition: OgreHlms.h:854
virtual bool resolveDependencies(ProgramSet *programSet)
Vector3 collapseMin(void) const
Takes each Vector and returns one returns a single vector.
Terrain * terrain
Which terrain instance was hit, if any.
Definition: OgreTerrainGroup.h:383
bool operator()(const InstanceManager *a, const InstanceManager *b) const
Definition: OgreInstanceManager.h:340
vector< BufferSource >::type BufferSourceVec
Definition: OgreCompositorPassComputeDef.h:100
bool intersects(const Aabb &b2) const
Returns whether or not this box intersects another.
const TexturePtr & getDecalsNormals(void) const
Definition: OgreSceneManager.h:1373
GLSLESProgramPipelineManager(void)
virtual void copyToTexture(TexturePtr &target)
Copies (and maybe scales to fit) the contents of this texture to another texture.
uint8 getRenderQueueGroup(void) const
Get the render queue group that this terrain will be rendered into.
Definition: OgreTerrain.h:1991
SharedPtr< StringVector > StringVectorPtr
Definition: OgreStringVector.h:46
const Vector3 & getPoint(unsigned short index) const
Gets the detail of one of the control points of the spline.
virtual void setMaterial(const MaterialPtr &mat)
Sets the given material. Overrides HLMS materials.
void _applyBaseKeyFrame(const KeyFrame *base)
Internal method to re-base the keyframes relative to a given keyframe.
void nodeDestroyed(const Node *node)
Octree * getOctant()
Returns the Octree in which this OctreeNode resides.
Definition: OgreOctreeNode.h:77
float getRedAdjust1(void) const
Gets the red adjustment to be made per second to particles.
TerrainQuadTreeNode * getChild(unsigned short child) const
Get child node.
virtual void setDebugLevel(unsigned int dbg)
Set the debug level of the material.
Definition: OgreTerrainMaterialGenerator.h:375
Technique * getTechnique(unsigned short index)
Gets the indexed technique.
@ ID_DECREMENT_WRAP
Definition: OgreScriptCompiler.h:921
const String & getTypeName(void) const
Retrieve the type name of this scene manager.
virtual void blitFromMemory(const PixelBox &src_orig, const Box &dstBox)
Hardware implementation of blitFromMemory.
virtual bool queryIsTransferDone(void)
void removeListener(CompositorWorkspaceListener *listener)
CullingMode
Hardware culling modes based on vertex winding.
Definition: OgreCommon.h:283
@ BB_FLAG_UAV
Definition: OgreBufferPacked.h:99
void destroy(HighLevelGpuProgram *prog)
void findNodesIn(const Ray &ray, list< SceneNode * >::type &list, SceneNode *exclude=0)
Recurses the octree, adding any nodes intersecting with the ray into the given list.
virtual void _changeRenderSystem(RenderSystem *newRs)
void doSet(void *target, const String &val)
static ArrayReal SetAll(Real val)
Definition: OgreMathlibC.h:268
virtual IdString addTextureSourceName(const String &name, size_t index, TextureSource textureSource)
Adds a texture name, whether a real one or an alias, and where to grab it from.
@ M_MESH_BOUNDS
Definition: OgreMeshFileFormat.h:104
virtual_l1 void textureCoord(const Vector4 &xyzw)
Add a texture coordinate to the current vertex.
reference back()
Definition: OgreCommon.h:563
ColourValue getColourAt(size_t x, size_t y, size_t z)
Get colour value from a certain location in the PixelBox.
void nodeMoved(Transform &inOutTransform, size_t oldDepth, size_t newDepth)
Requests memory for the given Node to be moved to a different depth level, transferring existing valu...
IteratorWrapper< T, IteratorType, typename T::value_type >::PointerType PointerType
Definition: OgreIteratorWrapper.h:140
void update()
Publish any changes you made to the blend data back to the blend map.
void importMesh(DataStreamPtr &stream, Mesh *pDest, MeshSerializerListener *listener)
Imports Mesh and (optionally) Material data from a .mesh file DataStream.
float getHeightAtTerrainPosition(Real x, Real y) const
Get the height data for a given terrain position.
void execute(RaySceneQueryListener *listener)
See RayScenQuery.
bool getHasAlpha() const
Returns true if the image has an alpha component.
Real aspectRatio
Definition: OgreFont.h:145
Vector4 getLightAttenuation(size_t index) const
virtual TexturePtr createManual(const String &name, const String &group, TextureType texType, uint width, uint height, uint depth, int numMipmaps, PixelFormat format, int usage=TU_DEFAULT, ManualResourceLoader *loader=0, bool hwGammaCorrection=false, uint fsaa=0, const String &fsaaHint=BLANKSTRING, bool explicitResolve=false, bool shareableDepthBuffer=true)
Create a manual texture with specified width, height and depth (not loaded from a file).
virtual const ProfileList & getProfiles() const
Get the list of profiles that this generator supports.
Definition: OgreTerrainMaterialGenerator.h:216
virtual void _notifyBuffer(BufferPacked *buffer)
void setOrientation(const Quaternion &q)
Sets the camera's orientation.
static const Real LOG2
Stored value of log(2) for frequent use.
Definition: OgreMath.h:348
HardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, bool useSystemMemory, bool useShadowBuffer)
Should be called by HardwareBufferManager.
bool hasMaterialAtlasingAttributes(Ogre::Material *material, TextureAtlasAttib *attrib=NULL) const
Tells whether a specific material has atlas attributes associated with it.
@ ID_ALIAS_ON_COPY_FAILURE
Definition: OgreScriptCompiler.h:896
FastArray< Renderable * > RenderableArray
Definition: OgrePlanarReflections.h:52
Specialisation of HardwareBuffer for a vertex buffer.
Definition: OgreHardwareVertexBuffer.h:52
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:249
virtual const Source * getSource(void) const
Gets the source.
void _addDirtyStaticBatch(InstanceBatch *dirtyBatch)
Called by an InstanceBatch when it requests their bounds to be updated for proper culling.
FFPFragmentShaderStage
Definition: OgreShaderFFPRenderState.h:56
bsp_face_t * mFaces
Definition: OgreQuake3Level.h:138
virtual ~Source(void)
Destructor.
TextureEffectType
Definition of the broad types of texture effect you can apply to a texture unit.
Definition: OgreTextureUnitState.h:71
static const IdString DiffuseMapCount9
Definition: OgreHlmsUnlitMobile.h:117
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:221
map< IdString, IdString >::type NodeAliasMap
Definition: OgreCompositorWorkspaceDef.h:70
@ TEXCALC_ENVIRONMENT_MAP_PLANAR
Environment map based on vertex positions.
Definition: OgreRenderSystem.h:67
static const IdString BlendModeIdx14
Definition: OgreHlmsUnlitMobile.h:139
void importTextureMetadataCache(const String &filename, const char *jsonString)
static PFNGLXCREATENEWCONTEXTPROC createNewContext
Definition: OgreGLXUtils.h:44
virtual void dump(const String &filename) const
Dump the contents of this StaticGeometry to a file for diagnostic purposes.
virtual ~CompositorShadowNodeDef()
Definition: OgreCompositorShadowNodeDef.h:136
static ParameterPtr createOutTangent(int index)
virtual void skip(long count)=0
Skip a defined number of bytes.
Command object for setting the constant colour.
Definition: OgreTextAreaOverlayElement.h:197
static HardwareBufferManager & getSingleton(void)
Override standard Singleton retrieval.
void setBuildParametersFromReflection(bool buildParams)
Definition: OgreGpuProgram.h:292
Command object for renderer (see ParamCommand).
Definition: OgreParticleSystem.h:113
Definition: OgreTerrainQuadTreeNode.h:134
@ ID_LOD_VALUES
Definition: OgreScriptCompiler.h:623
Definition: OgreImageDownsampler.h:215
virtual bool isStereoEnabled(const String &renderWindowName)=0
@ ET_VSCROLL
Constant u/v scrolling effect.
Definition: OgreTextureUnitState.h:81
const String & getVertexShaderProfiles() const
Get the output vertex shader target profiles.
Definition: OgreShaderGenerator.h:163
const Vector3 & getCommonUpVector(void) const
Gets the common up-vector for all billboards (BBT_PERPENDICULAR_SELF)
ZipDataStream(ZZIP_FILE *zzipFile, size_t uncompressedSize)
Unnamed constructor.
void updateToLodLevel(int lodLevel, bool synchronous=false)
@ TextureEffectPause
Definition: OgreExternalTextureSource.h:62
Definition: OgreDecal.h:150
virtual Ogre::FloatRect const * getTextureCoords(uint16 *oNumCoords)
getTextureCoords() returns the current texture coordinate rects in effect.
int mBaseValueInt
Definition: OgreAnimable.h:95
GLES2Context * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
static void splitBaseFilename(const Ogre::String &fullName, Ogre::String &outBasename, Ogre::String &outExtention)
Method for splitting a filename into the base name and extension.
@ ID_INCREMENT
Definition: OgreScriptCompiler.h:918
@ PT_PERSPECTIVE
Definition: OgreFrustum.h:65
@ SPC_LIGHTPOSITION_WORLD_SPACE4
Definition: OgreShaderParameter.h:221
virtual void setDepthBufferPool(uint16 poolId)
Sets the pool ID this RenderTarget should query from.
@ TU_UAV
Texture can be bound as an Unordered Access View (imageStore/imageRead/glBindImageTexture in GL jargo...
Definition: OgreTexture.h:72
Shader model 2 profile target.
Definition: OgreTerrainMaterialGeneratorA.h:61
Plane plane
Definition: OgreStaticFaceGroup.h:107
ResourceAllocatedObject CompositorInstAlloc
Definition: OgreMemoryAllocatorConfig.h:303
const String & getEntryPoint(void) const
Gets the entry point defined for this program.
Definition: OgreD3D11HLSLProgram.h:329
ImageDownsampler2D downscale2x_XXX888
Definition: OgreImageDownsampler.h:58
const String * findResourceNameFromAlias(IdString aliasName, uint32 &outPoolId) const
Output outPoolId is left untouched if returned pointer is null.
Command object for setting backwards compatibility.
Definition: OgreD3D11HLSLProgram.h:84
const CompositorTextureVec & getTextureDependencies(void) const
Definition: OgreCompositorPass.h:178
FaceGroupType fType
Definition: OgreStaticFaceGroup.h:71
const Vector3 & getPrevDerivedCP() const
Get the previous position (centerpoint) of the portal in world coordinates.
Definition: OgrePortalBase.h:145
void setLoop(bool loop)
Sets whether or not an animation loops at the start and end of the animation if the time continues to...
Definition: OgreAnimationState.h:119
static const String & getDirectionalLightExtruderVs_glslesFiniteDebug(void)
Get FINITE extruder program source for debug directional lights, compatible with glsles.
Definition: OgreShadowVolumeExtrudeProgram.h:320
virtual void _hlmsSamplerblockCreated(HlmsSamplerblock *newBlock)
Definition: OgreRenderSystem.h:805
@ ID_TECHNIQUE
Definition: OgreScriptCompiler.h:613
virtual void _notifyStaticDirty(void) const
Called by SceneManager when it is telling we're a static node being dirty Don't call this directly.
void _setSeparateSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha, SceneBlendOperation op, SceneBlendOperation alphaOp)
virtual bool hasAnimation(const String &name) const
Returns whether this mesh contains the named vertex animation.
ColourValue mColour
Current colour.
Definition: OgreParticle.h:92
virtual void createInternalResourcesImpl(void)
static CmdRotationSpeedRangeStart msRotationSpeedRangeStartCmd
Definition: OgreRotationAffector.h:109
@ DepthStencil
After the barrier, data can be used as a Depth/Stencil buffer.
Definition: OgreResourceTransition.h:101
virtual void translate(const Matrix3 &axes, Real x, Real y, Real z, TransformSpace relativeTo=TS_PARENT)
Moves the OldNode along arbitrary axes.
static DistanceLodSphereStrategy & getSingleton(void)
Override standard Singleton retrieval.
virtual void textureUnitStateEventRaised(MaterialSerializer *ser, MaterialSerializer::SerializeEvent event, bool &skip, const TextureUnitState *textureUnit)
void setNamedConstant(const String &name, const ColourValue &colour)
Sets a ColourValue parameter to the program.
Specialisation of PageContentCollection which just provides a simple list of PageContent instances.
Definition: OgreSimplePageContentCollection.h:67
virtual void resetWindow(void)
Cancel view window.
static Vector4 calculateFaceNormalWithoutNormalize(const Vector3 &v1, const Vector3 &v2, const Vector3 &v3)
Calculate a face normal without normalize, including the w component which is the offset from the ori...
Real dotProduct(const Vector2 &vec) const
Calculates the dot (scalar) product of this vector with another.
Definition: OgreVector2.h:391
void addTemplateSubRenderState(SubRenderState *subRenderState)
Add a template sub render state to this render state.
boost::function< T(void) > getter_func
Definition: OgreProperty.h:220
static void setDefaultQueryFlags(uint32 flags)
Set the default query flags for all future MovableObject instances.
Definition: OgreMovableObject.h:485
virtual void execute(const Camera *lodCameraconst)=0
bsp_brushside_t * mBrushSides
Definition: OgreQuake3Level.h:155
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:114
@ VES_TANGENT
Tangent (X axis if normal is Z)
Definition: OgreVertexElements.h:58
VertexBufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface, const VertexElement2Vec &vertexElements, size_t multiSourceId, MultiSourceVertexBufferPool *multiSourcePool, uint8 sourceIdx)
Real getSquaredViewDepth(const Camera *cam) const
Definition: OgreRectangle2D.h:88
KeyFrame * _clone(AnimationTrack *newParent) const
Clone a keyframe (internal use only)
Bone * getBone(size_t index)
Gets the bone from its index. Don't overflow!.
size_t size
Definition: OgreGLES2VaoManager.h:53
virtual ~GL3PlusTexBufferPacked()
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
void _notifyResourceGroupChanged(const String &oldGroup, Resource *res)
Internal method to notify the group manager that a resource has changed group (only applicable for au...
Definition: OgreGLXContext.h:37
Base class for GL Render Textures.
Definition: OgreGL3PlusRenderTexture.h:56
@ ID_USE_QUAD
Definition: OgreScriptCompiler.h:885
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
MeshLodGenerator()
Generates the Lod levels for a mesh.
Vector3 getSize(void) const
Gets the size of the box.
#define ACCUM4(x, y, z, factor)
virtual void setLoadRadius(Real sz)
Set the loading radius.
@ ACT_SPOTLIGHT_WORLDVIEWPROJ_MATRIX
The view/projection matrix of a given spotlight projection frustum, combined with the current world m...
Definition: OgreGpuProgramParams.h:1160
void updatePortalsZoneData(void)
Update the zone data for each portal.
void skip(long count)
Skip a defined number of bytes.
virtual void clearResults(void)
Clears the results of the last query execution.
void load(DataStreamPtr &stream)
Load direct from stream.
virtual void setBillboardsInWorldSpace(bool ws)
Sets whether billboards should be treated as being in world space.
Definition: OgreBillboardSet.h:715
Specialises the SceneQuery class for querying within an axis aligned box.
Definition: OgreSceneQuery.h:262
IdString mJobName
Name of the HlmsComputeJob to run.
Definition: OgreCompositorPassComputeDef.h:110
virtual ~MeshSerializerImpl_v2_1_R1()
@ ID_CLAMP
Definition: OgreScriptCompiler.h:738
TimeIndex(Real timePos)
Construct time index object by the given time position.
Definition: OgreAnimationTrack.h:73
static const IdString EnableVpls
Definition: OgreHlms.h:830
virtual Camera * createCamera(const String &name)
Creates a specialized PCZCamera.
Definition: OgreD3D9VideoMode.h:39
BoneTransform & _getTransform()
Returns a direct access to the Transform state.
Definition: OgreBone.h:128
@ PF_R16G16B16A16_UINT
64-bit pixel format, 16 bits red (unsigned int), 16 bits blue (unsigned int), 16 bits green (unsigned...
Definition: OgrePixelFormat.h:174
virtual void setRelativeOrigin(const Vector3 &relativeOrigin, bool bPermanent)
Set whether to use relative offset co-ordinates when rendering, ie offset to subtract to the camera,...
static const IdString ExponentialShadowMaps
Definition: OgreHlmsPbs.h:393
virtual ~GLSLESLinkProgram(void)
HardwareOcclusionQuery * createHardwareOcclusionQuery(void)
Create an object for performing hardware occlusion queries.
void setSplitMirrored(bool split)
Sets whether or not to split vertices when a mirrored tangent space transition is detected (matrix pa...
Definition: OgreTangentSpaceCalc.h:132
void switchMode(uint &width, uint &height, short &frequency)
Abstract memory manager for managing large chunks of contiguous memory, optimized for SoA (Structure ...
Definition: OgreArrayMemoryManager.h:65
OldNodeAnimationTrack * createOldNodeTrack(unsigned short handle, OldNode *node)
Creates a new AnimationTrack automatically associated with a OldNode.
PropertyAbstractNode(AbstractNode *ptr)
String getDeviceName() const
gets the device name for render system
Definition: OgreRenderSystemCapabilities.h:679
bool frameEnded(const FrameEvent &evt)
Called just after a frame has been rendered.
ManualObjectSection(ManualObject *parent, const String &materialName, OperationType opType, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
bool isSystemMemory(void) const
Returns whether this buffer is held in system memory.
Definition: OgreHardwareBuffer.h:336
virtual void setMaxOutputVertices(int maxOutputVertices)
Set the maximum number of vertices that a single run of this geometry program can emit.
Definition: OgreGLSLShader.h:132
GLSLMonolithicProgram * getActiveMonolithicProgram(void)
Get the program object that links the two active shader objects together if a program object was not ...
static CommandBufferExecuteFunc execute_setTextureBufferDS
Definition: OgreCommandBuffer.h:85
static Vector3 calculateBasicFaceNormal(const Vector3 &v1, const Vector3 &v2, const Vector3 &v3)
Calculate a face normal, no w-information.
void setAntialiasColour(bool enabled)
Sets whether or not the colour of this font is antialiased as it is generated from a true type font.
Definition: OgreFont.h:411
bool affectsZone(PCZone *zone)
Check if a zone is in the list of zones affected by the light.
VertexReductionMethod reductionMethod
Reduction method to use.
Definition: OgreLodConfig.h:95
IDirect3DVertexDeclaration9 * getD3DVertexDeclaration(VertexDeclaration *globalDeclaration, bool useGlobalInstancingVertexBufferIsAvailable)
Gets the D3D9-specific vertex declaration.
void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest, bool forGpuProgram=false)
See RenderSystem.
Abstract factory class, archive codec plugins can register concrete subclasses of this.
Definition: OgreArchiveFactory.h:60
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, TextureUnitState *texState, SGScriptTranslator *translator)
bool useGlobalInstancingVertexBufferIsAvailable
A flag to indicate that it is possible for this operation to use a global vertex instance buffer if a...
Definition: OgreRenderOperation.h:87
virtual ~ForwardPlusBase()
virtual OverlayElement * clone(const String &instanceName)
IteratorWrapper< T, IteratorType, typename T::value_type >::ValueType ValueType
Definition: OgreIteratorWrapper.h:139
DXGI_OUTPUT_DESC getDisplayMode() const
void createNewWindow(unsigned int width, unsigned int height, String title)
LwString(char *inStr, size_t maxLength)
Definition: OgreLwString.h:114
Vector2(const Real scaler)
Definition: OgreVector2.h:69
RibbonTrail(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, size_t maxElements=20, size_t numberOfChains=1, bool useTextureCoords=true, bool useVertexColours=true)
Constructor (don't use directly, use factory)
unsigned int getLastQuerysPixelcount()
Manages the organisation and rendering of a 'scene' i.e.
Definition: OgreSceneManager.h:282
@ ID_DOT_PRODUCT
Definition: OgreScriptCompiler.h:767
void doSet(void *target, const String &val)
void unloadResourceGroup(const String &name, bool reloadableOnly=true)
Unloads a resource group.
std::pair< MovableObject *, SceneQuery::WorldFragment * > SceneQueryMovableObjectWorldFragmentPair
Definition: OgreSceneQuery.h:480
list< MovableObject * >::type SceneQueryResultMovableList
Definition: OgreSceneQuery.h:197
virtual uint32 getHeight(void) const
@ PF_BC4_UNORM
DDS (DirectDraw Surface) BC4 format (unsigned normalised)
Definition: OgrePixelFormat.h:210
void mergeIntoBounds(long x, long y, const Vector3 &pos)
Merge a point (relative to terrain node) into the local bounds, and that of children if applicable.
virtual void _renderPhase02(Camera *camera, const Camera *lodCamera, Viewport *vp, uint8 firstRq, uint8 lastRq, bool includeOverlays)
Prompts the class to send its contents to the renderer.
bool getOptionValues(const String &key, StringVector &refValueList)
Method for getting all possible values for a specific option.
virtual void read(Radian *angle, size_t count=1)
void _setPointSpritesEnabled(bool enabled)
See RenderSystem.
void _copySharedParams()
Update the parameters by copying the data from the shared parameters.
uint8 mFirstRQ
First Render Queue ID to render. Inclusive.
Definition: OgreCompositorPassSceneDef.h:102
void setUpdatedTrackedDataFromCamera(Camera *trackedCamera)
Will update both mTrackedPosition & mTrackedViewProjMatrix with appropiate settings every time it's c...
static void scale(const PixelBox &src, const PixelBox &dst)
Definition: OgreImageResampler.h:95
This is the target render state.
Definition: OgreShaderRenderState.h:139
virtual void removeUnreferencedResources(bool reloadableOnly=true)
Remove all resources which are not referenced by any other object.
virtual_l1 void clear(void)
Completely clear the contents of the object.
String doGet(const void *target) const
virtual ~DynLibManager()
Default destructor.
void execute(IntersectionSceneQueryListener *listener)
See IntersectionSceneQuery.
Degree & operator-=(const Degree &d)
Definition: OgreMath.h:123
float mVpScissorWidth
Definition: OgreCompositorPassDef.h:100
virtual void postLoadImpl()
overridden from Resource
String doGet(const void *target) const
Standard 3-dimensional vector.
Definition: OgreVector3.h:52
virtual void _setViewMatrix(const Matrix4 &m)=0
Sets the view transform matrix.
@ M_ANIMATION_POSE_KEYFRAME
Definition: OgreMeshFileFormat.h:174
void _setSceneBlendingOperation(SceneBlendOperation op)
const PlaneBoundedVolumeList & getVolumes() const
Gets the volume which is being used for this query.
uint32 mTextureHash
Definition: OgreHlmsDatablock.h:273
GLES2SurfaceDesc()
Definition: OgreGLES2RenderTexture.h:48
@ PF_X8B8G8R8
32-bit pixel format, 8 bits for blue, 8 bits for green, 8 bits for red like PF_A8B8G8R8,...
Definition: OgrePixelFormat.h:87
float mkDr
Definition: OgreHlmsPbsMobileDatablock.h:60
PixelFormat
The pixel format used for images, textures, and render surfaces.
Definition: OgrePixelFormat.h:44
void setRenderSystem(RenderSystem *rs)
Notifies all SceneManagers of the destination rendering system.
virtual ~CodecData()
Definition: OgreCodec.h:66
const Plane & getSplitPlane(void) const
Returns details of the plane which is used to subdivide the space of his node's children.
~FloatGpuParameterControllerValue()
Definition: OgrePredefinedControllers.h:160
size_t mInstancesWritten
Definition: OgreInstanceBatchHW_VTF.h:81
void resetAllNumPassesLeft(void)
Resets the number of passes left for every pass (.
Real getPssmFade(size_t shadowMapIdx) const
GpuProgramPtr vertexShader
Definition: OgreHlmsPso.h:161
bool hasNodeDefinition(IdString nodeDefName) const
Returns true if a node definition with the given name exists.
const String & getOrigin(void) const
Get the origin of this overlay, e.g.
Definition: OgreOverlay.h:260
int brush_start
Definition: OgreQuake3Types.h:157
static FORCEINLINE void advanceRawPointer(const T *&ptr, ptrdiff_t offset)
Advance the pointer with raw offset.
Definition: OgreOptimisedUtil.h:229
@ ID_ALIAS
Definition: OgreScriptCompiler.h:813
Listener()
Definition: OgreRenderSystem.h:1308
unsigned short boneIndex
Definition: OgreVertexBoneAssignment.h:56
static size_t getNumElemBits(PixelFormat format)
Returns the size in bits of an element of the given pixel format.
bool hasOverlayElement(const String &name, bool isTemplate=false)
Tests if an element exists.
void _setTextureUnitCompareFunction(size_t unit, CompareFunction function)
int numMipmaps
Definition: OgreTextureDefinition.h:82
const HlmsSamplerblock * _getSamplerblock(uint16 idx) const
Gets a samplerblock based on its index.
DefaultIntersectionSceneQuery(SceneManager *creator)
@ PF_R16G16B16_SNORM
48-bit pixel format, 16 bits red (signed normalised int), 16 bits blue (signed normalised int),...
Definition: OgrePixelFormat.h:242
void clearQueue()
Clears the internal buffer.
virtual void setFsaaResolved()
Definition: OgreGL3PlusDepthTexture.h:113
void findNodesIn(const PlaneBoundedVolume &volume, PCZSceneNodeList &list, PCZone *startZone, PCZSceneNode *start=0)
Recurses the PCZTree, adding any nodes intersecting with the volume into the given list.
bool isBorderBack(const OctreeNode &root) const
Gets whether this cell is at the back of the given root cell.
Definition: OgreVolumeOctreeNode.h:272
GLES2HardwareBufferManager()
Definition: OgreGLES2HardwareBufferManager.h:74
void setClipPlane(ushort index, Real A, Real B, Real C, Real D)
virtual ~ScriptCompilerManager()
Definition: OgrePrerequisites.h:669
void destroyNode(ObjectData &inOutData)
Releases memory acquired through.
static const int PassBits
Definition: OgreHlms.h:893
void _notifyOwner(BillboardSet *owner)
Internal method for notifying the billboard of it's owner.
@ VET_COLOUR_ABGR
GL style compact colour.
Definition: OgreVertexElements.h:86
bool operator<=(const Radian &r) const
Definition: OgreMath.h:81
Real getScissorWidth(void) const
Definition: OgreViewport.h:178
SceneQueryResultMovableList movables
List of movable objects in the query (entities, particle systems etc)
Definition: OgreSceneQuery.h:203
static String INTERNAL_RESOURCE_GROUP_NAME
Internal resource group name (should be used by OGRE internal only)
Definition: OgreResourceGroupManager.h:268
void setBottomBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the bottom edge of the border.
@ Aggregate
Search parent for same-named samples and merge timing instead of adding a new sample.
Definition: OgreProfilerCommon.h:39
static const IdString ShadowUsesDepthTexture
Definition: OgreHlms.h:823
void getTerrainVector(const Vector3 &inVec, Vector3 *outVec) const
Translate a vector from world space to local terrain space based on the alignment options.
HlmsBlendblock blendblock
Definition: OgreHlmsDiskCache.h:151
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
void _unload(void)
Internal method for unloading this object as part of Material::unload.
virtual void setScale(const Vector3 &scale)
Sets the scaling factor applied to this OldNode.
GLuint getGLBufferId(void) const
Definition: OgreGL3PlusHardwareVertexBuffer.h:74
void destroyAllOldNodeTracks(void)
void scaleAnimation(bool scaleU, bool scaleV)
scaleAnimation.
static const IdString Skeleton
Definition: OgreHlms.h:772
@ BBO_CENTER_LEFT
Definition: OgreBillboardSet.h:61
Holds the results of a scene query.
Definition: OgreSceneQuery.h:201
virtual ~ObjectMemoryManager()
String syntax
Definition: OgreMaterialSerializer.h:52
virtual unsigned short getNumViewports(void) const
Returns the number of viewports attached to this target.
virtual void frameStart(Real timeSinceLastFrame)=0
Called when the frame starts.
void swap(Matrix3 &other)
Exchange the contents of this matrix with another.
Definition: OgreMatrix3.h:101
~ProgramManager()
Class destructor.
const String & getName() const
Get the name of the property.
Definition: OgreProperty.h:196
TexturePtr getDefinedTexture(IdString textureName, size_t mrtIndex) const
Returns the texture pointer of a texture based on it's name & mrt index.
bool isDirty
Definition: OgreShaderParams.h:81
void setTessellationHullProgramConstantFloatCount(ushort c)
The number of floating-point constants tessellation Hull programs support.
Definition: OgreRenderSystemCapabilities.h:851
static const IdString PoseNormals
Definition: OgreHlms.h:776
size_t arraySize
Length of array.
Definition: OgreGpuProgramParams.h:158
bool customBlend
Definition: OgreQuake3Shader.h:77
virtual const String & getTypeName(void) const
See OverlayElementFactory.
virtual OldNode * getParent(void) const
Gets this OldNode's parent (NULL if this is the root).
Camera * camera
The camera with respect to which the level of detail has changed.
Definition: OgreLodListener.h:79
void removeListener(Listener *lis)
Remove a listener on this resource.
GL3PlusNullTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, GL3PlusSupport &support)
virtual const String & getTypeName(void) const
See OverlayElementFactory.
virtual bool hasCustomShadowMacroblock(void) const
HlmsComputeJob * findComputeJobNoThrow(IdString datablockName) const
Finds an existing Compute Job. If none found, returns null.
IlluminationRenderStage
Describes the stage of rendering when performing complex illumination.
Definition: OgreSceneManager.h:297
Definition: OgreQuake3Types.h:185
void setFragmentProgramParameters(GpuProgramParametersSharedPtr params)
Sets the fragment program parameters.
static GLXFBConfig getFBConfigFromDrawable(Display *display, GLXDrawable drawable, unsigned int *width, unsigned int *height)
Get the GLXFBConfig used to create a GLXDrawable.
static uint32 QUERY_STATICGEOMETRY_DEFAULT_MASK
Default query mask for StaticGeometry.
Definition: OgreSceneManager.h:289
void execute(SceneQueryListener *listener)
See SceneQuery.
void updateUniformBlocks(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object uniform blocks using shared parameter data from GpuProgramParameters.
void streamToAoS(SimpleMatrixAf4x3 *RESTRICT_ALIAS src) const
QueuedRenderable()
Definition: OgreRenderQueue.h:54
Definition: OgrePCZoneFactory.h:74
Exception(const Exception &rhs)
Copy constructor.
@ ID_SHARED_PARAMS
Definition: OgreScriptCompiler.h:804
bool requiresTextureFlipping() const
Definition: OgreD3D9RenderWindow.h:74
AnimationContainer * getContainer()
Retrieve the container of this animation.
const TextureVec * getCurrentSsrTexture(void) const
Definition: OgreSceneManager.h:1387
ushort getTessellationHullProgramConstantFloatCount(void) const
The number of floating-point constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:866
HlmsUnlitDatablock(IdString name, HlmsUnlit *creator, const HlmsMacroblock *macroblock, const HlmsBlendblock *blendblock, const HlmsParamVec ¶ms)
Valid parameters in params:
static const IdString IdentityWorld
Definition: OgreHlms.h:784
bool mUseQuad
Whether to use a full screen quad or triangle.
Definition: OgreCompositorPassQuadDef.h:87
HardwareUniformBufferSharedPtr()
Definition: OgreHardwareUniformBuffer.h:70
static bool allBitsSet(bool mask0[4], bool mask1[4])
Returns true if alls bit in mask0[i] and mask1[i] are set.
void linkWorldGeometryToResourceGroup(const String &group, const String &worldGeometry, SceneManager *sceneManager)
Associates some world geometry with a resource group, causing it to be loaded / unloaded with the res...
virtual void discardFrameBuffer(unsigned int buffers)
Instructs the viewport to 'discard' the buffers.
void reinitialise(void)
See RenderSystem.
ScriptTokenListPtr tokenize(const String &str, const String &source)
Tokenizes the given input and returns the list of tokens found.
bool end(void)
Returns true when at the end of the particle list.
void install()
Perform the plugin initial installation sequence.
int32 textureArrayIndex
Definition: OgreCompositorPassComputeDef.h:65
uint32 mStencilValue
Definition: OgreCompositorPassClearDef.h:53
virtual void setWindow(Real left, Real top, Real right, Real bottom)
Sets the viewing window inside of viewport.
@ FFP_PS_POST_PROCESS
Definition: OgreShaderFFPRenderState.h:63
ushort getComputeProgramConstantFloatCount(void) const
The number of floating-point constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:928
virtual ~MetalNullTexture()
destructor
Codec specialized in loading ASTC (ARM Adaptive Scalable Texture Compression) images.
Definition: OgreASTCCodec.h:47
virtual void calculateFaceNormals(const float *positions, const v1::EdgeData::Triangle *triangles, Vector4 *faceNormals, size_t numTriangles)=0
Calculate the face normals for the triangles based on position information.
Definition: OgrePrerequisites.h:613
virtual Quaternion convertWorldToLocalOrientation(const Quaternion &worldOrientation)
Gets the local orientation, relative to this OldNode, of the given world-space orientation.
Definition: OgreMetalTexture.h:44
static VertexElement2VecVec getVertexDeclaration(const VertexBufferPackedVec &vertexBuffers)
void setLightClipPlanesEnabled(bool enabled)
Gets whether or not this pass will be clipped by user clips planes bounding the area covered by the l...
Definition: OgrePass.h:1086
OverlayElement * createOverlayElementFromTemplate(const String &templateName, const String &typeName, const String &instanceName, bool isTemplate=false)
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
void addTriangle(const Vector3 &v0, const Vector3 &n0, const Vector3 &v1, const Vector3 &n1, const Vector3 &v2, const Vector3 &n2)
Adds a triangle to the mesh with reusing already existent vertices via their index.
Definition: OgreVolumeMeshBuilder.h:292
static void writeLayerDeclaration(const TerrainLayerDeclaration &decl, StreamSerialiser &ser)
Utility method to write a layer declaration to a stream.
static ParticleSystemManager & getSingleton(void)
Override standard Singleton retrieval.
NSOpenGLContext * getContext()
Grab the NSOpenGLContext if it exists.
virtual unsigned short _getSchemeIndex(const String &name)
Internal method - returns index for a given material scheme name.
Box(uint32 l, uint32 t, uint32 ff, uint32 r, uint32 b, uint32 bb)
Define a box from left, top, front, right, bottom and back coordinates.
Definition: OgreCommon.h:875
virtual void _makeProjectionMatrix(Real left, Real right, Real bottom, Real top, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)=0
Builds a perspective projection matrix for the case when frustum is not centered around camera.
void setUseTextures(bool bUseTextures)
Whether to evaluate diffuse & detail map textures.
ImageBlur2D separableBlur_Float32_X
Definition: OgreImageDownsampler.h:170
CompositorPassUavDef(CompositorNodeDef *parentNodeDef, CompositorTargetDef *parentTargetDef)
Definition: OgreCompositorPassUavDef.h:108
static const String & getTypeName(PropertyType theType)
Get a string name of a property type.
virtual void setCurrent()
Enable the context.
Base implementation of a D3D11 buffer, dealing with all the common aspects.
Definition: OgreD3D11HardwareBuffer.h:41
void clear()
Definition: OgreLwString.h:153
int vBlankMissCount
Definition: OgreRenderTarget.h:81
Aabb aabb
Definition: OgreInstantRadiosity.h:182
void close(void)
Close the stream; this makes further operations invalid.
virtual void read(bool *val, size_t count=1)
ArrayReal volume(void) const
Calculate the volume of this box.
virtual ResourcePtr load(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *loadParams=0, bool backgroundThread=false)
Generic load method, used to create a Resource specific to this ResourceManager without using one of ...
GeometryAllocatedObject ProgMeshAlloc
Definition: OgreMemoryAllocatorConfig.h:323
GLXWindow(GLXGLSupport *glsupport)
GL3PlusHardwareOcclusionQuery()
Default object constructor.
@ LBX_MODULATE
multiply source1 and source2 together
Definition: OgreBlendMode.h:81
virtual_l2 void scale(const Vector3 &scale)
Scales the node, combining it's current scale with the passed in scaling factor.
Image & loadTwoImagesAsRGBA(DataStreamPtr &rgbStream, DataStreamPtr &alphaStream, PixelFormat format=PF_BYTE_RGBA, const String &rgbType=BLANKSTRING, const String &alphaType=BLANKSTRING)
Utility method to combine 2 separate images into this one, with the first image source supplying the ...
~ImportData()
Definition: OgreTerrain.h:491
void swap(DualQuaternion &other)
Exchange the contents of this dual quaternion with another.
Definition: OgreDualQuaternion.h:135
uint16 getMinBatchSize() const
Get the minimum size in vertices along one side of a batch.
@ WorldRadius
Definition: OgreArrayMemoryManager.h:370
@ ID_1D
Definition: OgreScriptCompiler.h:723
void setNumVertexTextureUnits(ushort n)
Set the number of vertex texture units supported.
Definition: OgreRenderSystemCapabilities.h:790
uint32 mHlmsGlobalIndex
Index in the vector holding this Rendrable reference in the HLMS datablock.
Definition: OgreRenderable.h:467
Definition: OgreD3D9Mappings.h:42
void setLodBias(Real factor=1.0)
Sets the level-of-detail factor for this Camera.
map< String, PageStrategy * >::type StrategyMap
Definition: OgrePageManager.h:184
virtual void setDynamic(bool dyn)
Sets whether or not the buffers created for this object are suitable for dynamic alteration.
vector< GL3PlusTexturePtr >::type GL3PlusTexturePtrList
Definition: OgreGL3PlusTextureManager.h:40
void _updateBoneStartTransforms(void)
virtual const Matrix4 & getProjectionMatrixRS(void) const
Gets the projection matrix for this frustum adjusted for the current rendersystem specifics (may be r...
void addUavBuffer(uint32 slotIdx, const String &bufferName, ResourceAccess::ResourceAccess access, size_t offset=0, size_t sizeBytes=0, bool allowWriteAfterWrite=false)
virtual void remove(const String &filename)
Delete a named file.
@ PF_NULL
Dummy, used for UAV-only rendering.
Definition: OgrePixelFormat.h:359
Definition: OgreD3D9TextureManager.h:37
virtual void destroyQuery(SceneQuery *query)
Destroys a scene query of any type.
void SetColumn(size_t iCol, const Vector3 &vec)
void extractUniformsFromGLSL(const String &src, GpuNamedConstants &constantDefs, const String &filename)
Populate a list of uniforms based on GLSL source and store them in GpuNamedConstants.
GL3+ doesn't support mapping the same buffer twice even if the regions don't overlap.
Definition: OgreGLES2DynamicBuffer.h:53
Definition: OgrePCZone.h:296
VectorIterator(typename T::iterator start, typename T::iterator last)
Constructor.
Definition: OgreIteratorWrapper.h:192
@ SPC_LIGHTDIRECTION_OBJECT_SPACE1
Definition: OgreShaderParameter.h:168
SharedPtr< TextureAtlasTable > TextureAtlasTablePtr
Definition: OgreShaderExTextureAtlasSampler.h:69
Specialises the SceneQuery class for querying within a plane-bounded volume.
Definition: OgreSceneQuery.h:296
void clearBoneAssignments(void)
Removes all bone assignments for this mesh.
PixelBox(const Box &extents, PixelFormat pixelFormat, void *pixelData=0)
Constructor providing extents in the form of a Box object.
Definition: OgrePixelBox.h:56
ID3D11DeviceN * operator->() const
Definition: OgreD3D11Device.h:69
BoolSetting hwGammaWrite
Definition: OgreTextureDefinition.h:91
RenderSystemCapabilitiesSerializer()
default constructor
@ ID_TEX_BORDER_COLOUR
Definition: OgreScriptCompiler.h:741
bsp_shader_t * mShaders
Definition: OgreQuake3Level.h:144
@ PF_ASTC_SRGB8A8_5X4_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 5x4)
Definition: OgrePixelFormat.h:291
virtual void bindBufferVS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
Definition: OgreNULLTexBufferPacked.h:49
Aabb intersection(const Aabb &b2) const
Calculate the area of intersection of this box and another.
virtual bool getFlipCullingOnNegativeScale() const
Get whether to automatically flip the culling mode on objects whenever they are negatively scaled.
Definition: OgreSceneManager.h:3065
AllocatedObject< RenderSysAllocPolicy > RenderSysAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:285
void setAlphaOperation(LayerBlendOperationEx op, LayerBlendSource source1=LBS_TEXTURE, LayerBlendSource source2=LBS_CURRENT, Real arg1=1.0, Real arg2=1.0, Real manualBlend=0.0)
Sets the alpha operation to be applied to this texture.
float getAvgFps(void) const
Definition: OgreFrameStats.h:62
Allows the rendering of a simple 2D rectangle This class renders a simple 2D rectangle; this rectangl...
Definition: OgreRectangle2D.h:54
virtual SceneManager * getSceneManager() const
Retrieve the SceneManager being used for this group.
Definition: OgreTerrainGroup.h:141
static const IdString NormalWeightDetail1
Definition: OgreHlmsPbs.h:353
Structure recording a queued geometry for low level builds.
Definition: OgreStaticGeometry.h:176
static void setProperty(HlmsPropertyVec &properties, IdString key, int32 value)
Utility helper, mostly useful to HlmsListener implementations.
vector< String >::type bases
Definition: OgreScriptCompiler.h:129
const Any & _getRenderSystemData() const
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:795
@ TLSS_HEIGHT
Height information for the detail texture.
Definition: OgreTerrainMaterialGenerator.h:63
Definition: OgreBufferPacked.h:135
void executeCommand(const MovableObject *movableObject, Renderable *renderable, bool casterPass)
Portal datastructure for connecting zones.
Definition: OgrePortal.h:52
D3D11VideoMode(DXGI_OUTPUT_DESC d3ddm, DXGI_MODE_DESC ModeDesc)
virtual void _setRenderTarget(RenderTarget *target, uint8 viewportRenderTargetFlags)
Set current render target to target, enabling its GL context if needed.
@ ID_TEX_ADDRESS_MODE
Definition: OgreScriptCompiler.h:736
PointerType peekNextPtr() const
Returns a pointer to the next(=current) element in the collection, without advancing to the next afte...
Definition: OgreIteratorWrapper.h:164
static bool msIgnoreHidden
Definition: OgreFileSystem.h:123
virtual void copyFrom(const SubRenderState &rhs)
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures at once.
The root class of the Ogre system.
Definition: OgreRoot.h:68
TextureUsage
Enum identifying the texture usage.
Definition: OgreTexture.h:49
ResourceManagerIterator getResourceManagerIterator()
Get an iterator over the registered resource managers.
Definition: OgreResourceGroupManager.h:990
void clear(void)
Clears everything, removing our VPLs.
EnvMapType
Enumeration to specify type of envmap.
Definition: OgreTextureUnitState.h:95
void setRectSize(Vector2 rectSize)
For custom 2D shape and area lights, sets the dimensions of the rectangle, in half size.
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
@ CB_SET_INDIRECT_BUFFER
Definition: OgreCbCommon.h:39
AutoConstantDefinition(AutoConstantType _acType, const String &_name, size_t _elementCount, ElementType _elementType, ACDataType _dataType)
Definition: OgreGpuProgramParams.h:1404
void resize(size_t newSize, const T &value=T())
Definition: OgreFastArray.h:297
OverlayElement * createOverlayElement(const String &instanceName)
See OverlayElementFactory.
Definition: OgreOverlayElementFactory.h:77
void setCalcMode(CalcMode calcMode)
Set the fog calculation mode.
Definition: OgreShaderFFPFog.h:111
virtual PixelFormat suggestPixelFormat() const
Suggests a pixel format to use for extracting the data in this target, when calling copyContentsToMem...
Definition: OgreRenderTarget.h:298
HlmsSamplerblock const * samplerblock
Definition: OgreHlmsPbsDatablock.h:52
static const ArrayVector3 NEGATIVE_UNIT_Y
Definition: C/OgreArrayVector3.h:350
virtual void addListener(Listener *l)
Adds a listener to the custom events that this render system can raise.
Real _getHeight(void) const
Gets the height of this element in relation to the screen (where 1.0 = screen height)
Definition: OgreOverlayElement.h:259
void operator+=(IdString idString)
Definition: OgreIdString.h:208
const ColourValue & getDiffuse(void) const
Gets the diffuse colour reflectance of the pass.
DisplayMode
Definition: OgreProfiler.h:359
const String & getVertexProgramName(void) const
Gets the name of the vertex program used by this pass.
Definition: OgrePrerequisites.h:599
void addError(uint32 code, const String &file, int line, const String &msg="")
Adds the given error to the compiler's list of errors.
virtual void setFsaaResolveDirty(void)
vector< Real >::type RealVector
Definition: OgreTerrain.h:297
int offset
Definition: OgreQuake3Types.h:224
@ PF_DXT3
DDS (DirectDraw Surface) DXT3 format.
Definition: OgrePixelFormat.h:116
~ManualObjectFactory()
Definition: OgreManualObject2.h:364
static const IdString MaxUavSlot
Definition: OgreHlmsCompute.h:207
static const String & getDirectionalLightExtruderVs_glslFinite(void)
Get FINITE extruder program source for directional lights, compatible with glsl.
Definition: OgreShadowVolumeExtrudeProgram.h:297
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
virtual void destroyAllCameras(void)
Removes (and destroys) all cameras from the scene.
Vector3 getDirection(void) const
Gets the camera's direction.
static void TensorProduct(const Vector3 &rkU, const Vector3 &rkV, Matrix3 &rkProduct)
const Matrix4 & getWorldMatrix(void) const
GeneralAllocatedObject CodecAlloc
Definition: OgreMemoryAllocatorConfig.h:302
GL3PlusTextureBuffer(const String &baseName, GLenum target, GLuint id, GLint face, GLint level, Usage usage, bool writeGamma, uint fsaa)
Texture constructor.
Command object for setting target assembler.
Definition: OgreD3D9HLSLProgram.h:55
void detachAllObjects(void)
Detaches all objects attached to this node.
InstancingTechnique
Definition: OgreInstanceManager.h:69
virtual void bindBufferVS(uint16 slot)
Binds the constant buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
virtual void clearUAVs(void)
By default queueBindUAV will keep all other slots intact.
void setBoneWeight(IdString boneName, Real weight)
Sets the per-bone weight to a particular bone.
type::const_iterator const_iterator
Definition: OgrePrerequisites.h:714
PortalBase(const String &name, const PORTAL_TYPE type=PORTAL_TYPE_QUAD)
Constructor.
static const IdString FineLightMask
Definition: OgreHlms.h:825
bool getSkipAnimationStateUpdate() const
Entity's skeleton's AnimationState will not be automatically updated when set to true.
Definition: OgreEntity.h:695
virtual BillboardType getBillboardType(void) const
Returns the billboard type in use.
virtual bool queryResult(MovableObject *object)=0
Called when a MovableObject is returned by a query.
Real z
Definition: OgreDualQuaternion.h:166
static CompositorChannel createTexture(const TextureDefinition &textureDef, const String &texName, const RenderTarget *finalTarget, RenderSystem *renderSys)
A factory that enables creation of FFPTexturing instances.
Definition: OgreShaderFFPTexturing.h:250
MovableObject(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, uint8 renderQueueId)
Constructor.
CPreprocessor()
Create an empty preprocessor object.
Definition: OgreGLSLPreprocessor.h:445
void setFromVector3(const Vector3 &v, size_t index)
Definition: C/OgreArrayVector3.h:97
TargetMode
The target animation mode.
Definition: OgreAnimationTrack.h:607
StringVectorPtr listResourceLocations(const String &groupName)
List all resource locations in a resource group.
Real fogDistance
Definition: OgreQuake3Shader.h:114
virtual unsigned short getNumAnimations(void) const
Gets the number of morph animations in this mesh.
void logMessage(LogMessageLevel lml, const String &message, bool maskDebug=false)
Log a message to the default log (signature for backward compatibility).
Definition: OgreLogManager.h:125
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
MeshPtr & _getMeshRef()
Definition: OgreInstanceBatch.h:188
void extract3x3Matrix(Matrix3 &m3x3) const
Extracts the rotation / scaling part of the Matrix as a 3x3 matrix.
Definition: OgreMatrix4.h:513
static void shutdown(void)
Static method to shutdown FreeImage and unregister the FreeImage codecs.
virtual void applyToVertexData(VertexData *data, const TimeIndex &timeIndex, Real weight=1.0, const PoseList *poseList=0)
As the 'apply' method but applies to specified VertexData instead of associated data.
void removeTextureAlias(const String &aliasName)
Remove a specific texture alias name from the sub mesh.
T * iterator
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:233
unsigned long size
Definition: OgreSearchOps.h:45
void * mEntities
Definition: OgreQuake3Level.h:120
static GLSLESLinkProgramManager * getSingletonPtr(void)
For D3D11, most (if not all) buffers, can be treated with the same code.
Definition: OgreD3D11BufferInterface.h:42
@ SBF_ONE_MINUS_DEST_ALPHA
Definition: OgreBlendMode.h:244
Definition: OgreWindowEventUtilities.h:123
static const String & getPointLightExtruderVs_glslFiniteDebug(void)
Get extruder program source for debug point lights, compatible with glsl.
Definition: OgreShadowVolumeExtrudeProgram.h:308
virtual MovableObjectVec findMovableObjects(const String &type, const String &name)
Finds all the movable objects with the type and name passed as parameters.
void doSet(void *target, const String &val)
size_t getNumShadowTextureDefinitions() const
Gets the number of shadow texture definitions in this node.
Definition: OgreCompositorShadowNodeDef.h:183
Plugin instance for OctreeZone.
Definition: OgreOctreeZonePlugin.h:48
AxisAlignedBox getWorldAABB() const
Get the AABB (world coords) of the entire terrain.
SubMeshIterator getSubMeshIterator(void)
Gets an iterator over the available submeshes.
Definition: OgreMesh.h:285
bool useBackgroundQueue
Whether you want to process it immediatelly on main thread or you want to use Ogre::WorkQueue.
Definition: OgreLodConfig.h:149
virtual bool _shouldRebindBackBuffer()
Definition: OgreD3D11RenderWindow.h:72
void setNumPasses(size_t numPasses)
Reserves enough memory for all passes (efficient allocation)
Definition: OgreCompositorPassDef.h:230
Camera const * lodCamera
Definition: OgreSceneManager.h:229
virtual Real transformUserValue(Real userValue) const
Transform user supplied value to internal value.
Profile * getActiveProfile() const
Get the active profile.
Definition: OgreTerrainMaterialGenerator.h:245
void update(Camera *camera, Real aspectRatio)
unsigned short getTextureUnitStateIndex(const TextureUnitState *state) const
Retrieve the index of the Texture Unit State in the pass.
const_reverse_iterator rbegin() const
Definition: OgreCommon.h:513
@ OT_PATCH_4_CONTROL_POINT
Definition: OgreHlmsPso.h:63
void * allocateScratch(uint32 size)
Allocator method to allow us to use a pool of memory as a scratch area for hardware buffers.
Content getContent() const
Return the content of this parameter.
Definition: OgreShaderParameter.h:335
void initialise(bool headerOnly=false)
Utility function read the header and set up pointers.
static void scale(const PixelBox &src, const PixelBox &dst, Filter filter=FILTER_BILINEAR)
Scale a 1D, 2D or 3D image volume.
HardwareVertexBuffer * vertexBuffer
Definition: OgreVertexIndexData.h:245
T getManualValue(void) const
See other overload.
Definition: OgreShaderParams.h:132
RenderState * getRenderState(const String &schemeName, const String &materialName, unsigned short passIndex)
Get render state of specific pass.
@ ACT_LIGHT_SPECULAR_COLOUR_POWER_SCALED_ARRAY
Array of light specular colours scaled by light power (count set by extra param)
Definition: OgreGpuProgramParams.h:1069
static const IdString UvDetailWeight
Definition: OgreHlmsPbsMobile.h:141
void _beginFrame()
Signifies the beginning of a frame, i.e.
map< String, PageContentFactory * >::type ContentFactoryMap
Definition: OgrePageManager.h:236
@ HLMS_USER0
Made for GUIs, overlays, particle FXs, self-iluminating billboards.
Definition: OgreHlmsCommon.h:172
Specialized SceneManager that uses Portal-Connected-Zones to divide the scene spatially.
Definition: OgrePCZSceneManager.h:56
bsp_vis_t * mVis
Definition: OgreQuake3Level.h:150
void addListener(ProfileSessionListener *listener)
Vector3 getTrans() const
Extracts the translation transformation part of the matrix.
Definition: OgreMatrix4.h:418
virtual void bindBufferDS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
static const ArrayVector3 UNIT_SCALE
Definition: C/OgreArrayVector3.h:352
Specialisation of ZipArchiveFactory for embedded Zip files.
Definition: OgreZip.h:132
virtual void write(const AxisAlignedBox *aabb, size_t count=1)
virtual Real transformBias(Real factor) const
Transform LOD bias so it only needs to be multiplied by the LOD value.
IdString mShadowNode
Definition: OgreCompositorPassSceneDef.h:79
const ColourValue & getCompositeMapAmbient() const
Get the composite map ambient light to use.
Definition: OgreTerrain.h:1955
@ M_SUBMESH_TEXTURE_ALIAS
Definition: OgreMeshFileFormat.h:72
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
Copy data from another buffer into this one.
void _endUpdate(bool forceEndFrame)
Call after _update unless the final render target is not a render window.
size_t offset
Definition: OgreVertexIndexData.h:244
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
virtual void postExtraThreadsStarted()=0
void beginGPUSample(const String &name, uint32 *hashCache)
Radian mRotationSpeed
Speed of rotation in radians/sec.
Definition: OgreParticle.h:98
float getFps(void) const
Definition: OgreFrameStats.h:61
virtual bool eof(void) const =0
Returns true if the stream has reached the end.
bool getInheritParentEntityScale(void) const
Returns true if this TagPoint is affected by scaling factors applied to the parent entity.
size_t numberOfInstances
The number of instances for the render operation - this option is supported in only a part of the ren...
Definition: OgreRenderOperation.h:80
void setAreaLightForwardSettings(uint16 areaLightsLimit, uint8 areaLightsRoundMultiple)
Area lights use regular Forward.
PatchSurface * patchSurf
Patch surface (only applicable when fType = FGT_PATCH)
Definition: OgreStaticFaceGroup.h:110
const String & getMaterialName(void) const
@ PF_A8R8G8B8
32-bit pixel format, 8 bits for alpha, red, green and blue.
Definition: OgrePixelFormat.h:75
Real y
Definition: OgreDualQuaternion.h:166
Vector4(const Real afCoordinate[4])
Definition: OgreVector4.h:64
const HlmsSamplerblock * getSamplerblock(void) const
Retrieves current samplerblock.
GLES2HardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer)
const String & getFriendlyName(void) const
Returns the friendly name of the render system.
@ VET_DOUBLE3
Definition: OgreVertexElements.h:89
virtual bool setOption(const String &strKey, const void *pValue)
Method for setting a specific option of the Scene Manager.
Definition: OgreSceneManager.h:1846
virtual const Matrix4 & getReflectionMatrix(void) const
Returns the reflection matrix of the frustum if appropriate.
Definition: OgreFrustum.h:610
uint16 getGlobalColourMapSize() const
Get the size of the global colour map (if used)
Definition: OgreTerrain.h:1424
virtual void writeSourceCode(std::ostream &os, Program *program)
virtual void setBinding(unsigned short index, const HardwareVertexBufferSharedPtr &buffer)
Set a binding, associating a vertex buffer with a given index.
virtual void _hlmsBlendblockDestroyed(HlmsBlendblock *block)
size_t read(void *buf, size_t count)
Read the requisite number of bytes from the stream, stopping at the end of the file.
The class deciding on whether to split an octree node or not when building the octree.
Definition: OgreVolumeOctreeNodeSplitPolicy.h:46
SceneManager * createSceneManager(SceneTypeMask typeMask, size_t numWorkerThreads, InstancingThreadedCullingMethod threadedCullingMethod, const String &instanceName=BLANKSTRING)
Create a SceneManager instance based on scene type support.
virtual void convertColourValue(const ColourValue &colour, uint32 *pDest)
Generates a packed data version of the passed in ColourValue suitable for use as with this RenderSyst...
Real getSquaredViewDepth(const Ogre::Camera *) const
String doGet(const void *target) const
unordered_map< String, ResourcePtr >::type ResourceMap
Definition: OgreResourceManager.h:565
virtual void eventOccurred(const String &eventName, const NameValuePairList *parameters)
Overlay2DElementsIterator get2DElementsIterator()
Definition: OgreOverlay.h:250
const BufferSourceVec & getBufferSources(void) const
Definition: OgreCompositorPassUavDef.h:134
bool isTextureTypeArray(void) const
Definition: OgreTexture.h:139
AxisAlignedBox mOctreeWorldAABB
Octree-specific world bounding box (only includes attached objects, not children)
Definition: OgreOctreeZone.h:241
bool operator!=(const LayerBlendModeEx &rhs) const
Definition: OgreBlendMode.h:194
ArrayMatrixAf4x3(const ArrayMatrixAf4x3 ©)
Definition: C/OgreArrayMatrixAf4x3.h:75
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
String file
Definition: OgreScriptLexer.h:65
virtual ~TerrainLodManager()
MapIterator< VertexOffsetMap > VertexOffsetIterator
An iterator over the vertex offsets.
Definition: OgrePose.h:72
reference front()
Definition: OgreCommon.h:556
uint8 blendModes[4]
Definition: OgrePbsMobileShaderCreationData.h:56
int face_count
Definition: OgreQuake3Types.h:156
String getName() const
See ParticleEmitterFactory.
Definition: OgrePointEmitterFactory.h:48
static CommandBufferExecuteFunc execute_setTextureBufferPS
Definition: OgreCommandBuffer.h:82
void generateExtremes(size_t count)
Generate the submesh extremes (.
vector< RaySceneQueryResultEntry >::type RaySceneQueryResult
Definition: OgreSceneQuery.h:364
Command object for particle emitter - see ParamCommand.
Definition: OgreRotationAffector.h:73
bool hasSeparateStencilBuffer() const
void _updateImmutableResource(uint32 vaoName, uint32 renderQueueId, D3D11VertexArrayObjectShared *sharedData)
static const ArrayVector3 UNIT_Y
Definition: C/OgreArrayVector3.h:347
vector< float >::type BoneBlendMask
Typedef for an array of float values used as a bone blend mask.
Definition: OgreAnimationState.h:60
const Vector3 & getCorner(int index) const
Get the coordinates of one of the portal corners in local space.
Definition: OgrePortalBase.h:122
static CommandBufferExecuteFunc execute_setVao
Definition: OgreCommandBuffer.h:66
const SkeletonDef * getDefinition(void) const
Definition: OgreSkeletonInstance.h:114
virtual bool isLoaded(void) const
Returns true if the Resource has been loaded, false otherwise.
Definition: OgreResource.h:344
Real getOverlayTop() const
static int16 floatToSnorm16(float v)
Definition: OgreBitwise.h:403
void load(const String &filename)
Prepare and load the terrain in one simple call from a standalone file.
@ ID_CAMERA
Definition: OgreScriptCompiler.h:876
Real getTimeFactor(void) const
virtual const Vector3 & getOrigin(const Vector3 &worldOrigin)
Get the origin of the grid in world space.
Definition: OgreGrid3DPageStrategy.h:134
@ ACT_WORLD_MATRIX_ARRAY
The current array of world matrices, used for blending.
Definition: OgreGpuProgramParams.h:909
static bool isDepth(PixelFormat format)
Shortcut method to determine if the format is a depth format.
ImageDownsampler2D downscale2x_sRGB_AXXX8888
Definition: OgreImageDownsampler.h:180
const float * getFloatPointer(size_t pos) const
Get a pointer to the 'nth' item in the float buffer.
Definition: OgreGpuProgramParams.h:763
void setFreeOnClose(bool free)
Sets whether or not to free the encapsulated memory on close.
Definition: OgreDataStream.h:475
bool getEnabled() const
Definition: OgreCompositorWorkspace.h:170
size_t getNumFaces(void) const
Get the number of faces of the image.
virtual void _alertVisibleObjects(void)
Alerts each unculled object, notifying it that it will be drawn.
size_t indexBufferSize
Offset from the start of the indexBuffer.
Definition: OgreLodBuffer.h:43
void flush(size_t ticket, size_t start, size_t count)
Flushes the region of the given ticket. start is 0-based.
Real dotProduct(const Vector3 &vec) const
Calculates the dot (scalar) product of this vector with another.
Definition: OgreVector3.h:423
size_t read(void *buf, size_t count)
Read data from cache to 'buf' (maximum 'count' bytes).
Definition: OgreDataStream.h:99
~OptimisedSubMeshGeometry()
Definition: OgreStaticGeometry.h:142
static void AddTextureSampleWrapperInvocation(UniformParameterPtr textureSampler, UniformParameterPtr textureSamplerState, GpuConstantType samplerType, Function *function, int groupOrder, int &internalCounter)
virtual bool isRenderWindow(void) const
Whether our derived class is RenderWindow.
Definition: OgreRenderWindow.h:219
Definition: OgreD3D11UavBufferPacked.h:40
TextureAtlasSampler()
Class default constructor.
size_t elementCount
The number of elements per individual entry in this constant Used in case people used packed elements...
Definition: OgreGpuProgramParams.h:1425
Virtual interface of the stereo driver.
Definition: OgreD3D9StereoDriverImpl.h:41
void uninstall()
Perform the final plugin uninstallation sequence.
void setPrepareAllMeshesForShadowVolumes(bool enable)
Tells the mesh manager that all future meshes should prepare themselves for shadow volumes on loading...
Represents the total timing information of a profile since profiles can be called more than once each...
Definition: OgreProfiler.h:248
AnimableValuePtr createAnimableValue(const String &valueName)
Create a reference-counted AnimableValuePtr for the named value.
SkeletonDefPtr getSkeletonDef(v1::Skeleton *oldSkeletonBase)
Creates a skeletondef based on an existing one from the legacy skeleton system.
virtual void create(const String &name, unsigned int widthPt, unsigned int heightPt, bool fullScreen, const NameValuePairList *miscParams)=0
Creates & displays the new window.
Definition: OgreGL3PlusVaoManager.h:99
AllocatedObject< SceneObjAllocPolicy > SceneObjAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:282
PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribsARB
The result of having built a tangent space basis.
Definition: OgreTangentSpaceCalc.h:79
uint32 getLightMask() const
Gets the light mask controlling which lights are used for this pass.
Instancing implementation using vertex texture through Vertex Texture Fetch (VTF) This implementation...
Definition: OgreInstanceBatchVTF.h:77
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
Definition: OgreScriptTranslator.h:144
NULLStagingBuffer(size_t internalBufferStart, size_t sizeBytes, VaoManager *vaoManager, bool uploadOnly)
virtual const PixelFormatToShaderType * getPixelFormatToShaderType(void) const
static SceneBlendOperation parseBlendOperation(const char *value)
ArrayVector3 crossProduct(const ArrayVector3 &rkVector) const
Calculates the cross-product of 2 vectors, i.e.
@ SKELETON_ANIMATION_TRACK_KEYFRAME
Definition: OgreSkeletonFileFormat.h:96
~MeshSerializerImpl_v1_1()
bool requiresTextureFlipping() const
Definition: OgreGTKWindow.h:78
virtual void setCustomProjectionMatrix(bool enable, const Matrix4 &projectionMatrix=Matrix4::IDENTITY, bool alternateDepthRange=false)
Set whether to use a custom projection matrix on this frustum.
void getWorldTransforms(Matrix4 *mat) const
Overridden from Frustum/Renderable.
virtual void saveMicrocodeCache(DataStreamPtr stream) const
Saves the microcode cache to disk.
const String & getTarget(void) const
Gets the shader target to compile down to, e.g.
Definition: OgreD3D9HLSLProgram.h:182
virtual void _hlmsComputePipelineStateObjectDestroyed(HlmsComputePso *newPso)
Definition: OgreRenderSystem.h:811
Vector4 mDetailsOffsetScale[8]
Definition: OgrePbsMobileShaderCreationData.h:63
ImageBlur2D separableBlur_Float32_XX
Definition: OgreImageDownsampler.h:169
PixelFormat getDesiredFormat(void) const
Gets the desired pixel format when load the texture.
virtual void loadAllTerrains(bool synchronous=false)
Load any terrain instances that have been defined but not loaded yet.
const Quaternion & getOrientation(void) const
Returns the camera's current orientation.
LODIterator getLODIterator(void)
Get an iterator over the LODs in this region.
int addPortalCullingPlanes(PortalBase *portal)
Calculate extra culling planes from portal and camera origin and add to list of extra culling planes.
Workflows
Definition: OgreHlmsPbsDatablock.h:207
Structure used to keep track of named atomic counter uniforms in the linked program object.
Definition: OgreGLSLProgram.h:60
virtual String getType() const
Returns the type of the codec as a String.
virtual void performCleanup(uint16 level, const MemoryPoolVec &basePtrs, size_t const *elementsMemSizes, size_t startInstance, size_t diffInstances)
Called when too many nodes were destroyed in a non-LIFO fashion.
const GpuConstantDefinition & getConstantDefinition(const String &name) const
Get a specific GpuConstantDefinition for a named parameter.
virtual ~StreamSerialiser()
@ LB_BlendLuminosity
Definition: OgreShaderExLayeredBlending.h:78
virtual_l1 void estimateIndexCount(size_t icount)
Estimate the number of indices ahead of time.
@ INSTANCING_CULLING_SINGLETHREAD
Definition: OgreSceneManager.h:129
String doGet(const void *target) const
multimap< size_t, VertexBoneAssignment >::type VertexBoneAssignmentList
Multimap of vertex bone assignments (orders by vertex index).
Definition: OgreMesh.h:103
ParameterType paramType
Definition: OgreStringInterface.h:71
virtual void getShadowCamera(const SceneManager *sm, const Camera *cam, const Light *light, Camera *texCam, size_t iteration, const Vector2 &viewportRealSize) const =0
Function to implement – must set the shadow camera properties.
Definition: OgreLodOutputProviderMesh.h:42
GLXContext(GLXGLSupport *glsupport, ::GLXFBConfig fbconfig, ::GLXDrawable drawable, ::GLXContext context=0)
NULLBufferInterface(size_t vboPoolIdx)
virtual void _releaseManualHardwareResources()
@ Indirect
After the barrier, data can be used as an indirect buffer.
Definition: OgreResourceTransition.h:87
map< PageID, Page * >::type PageMap
Definition: OgrePagedWorldSection.h:72
OrientationMode
Specifies orientation mode.
Definition: OgreFrustum.h:49
void addContentCollectionFactory(PageContentCollectionFactory *f)
Add a new PageContentCollectionFactory implementation.
bool getColourWriteEnabled(void) const
Determines if colour buffer writing is enabled for this pass.
virtual void unsetAllBindings(void)
Removes all the bindings.
void handleGenerateMaterialResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
Handler for GenerateMaterial.
@ RSC_RTT_MAIN_DEPTHBUFFER_ATTACHABLE
Supports using the MAIN depth buffer for RTTs.
Definition: OgreRenderSystemCapabilities.h:169
const String & getName(void) const
Return the name of the pose (may be blank)
Definition: OgrePose.h:66
virtual HlmsCache preparePassHash(const Ogre::CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager)
Called every frame by the Render Queue to cache the properties needed by this pass.
virtual void Graphics3DContextLost()
The Graphics3DClient interface - pp::Graphics3DClient_Dev.
void setDatablock(HlmsDatablock *datablock)
Sets the given HLMS databloock to all SubEntities.
Simple wrap up to load an AoS matrix 4x4 using SSE.
Definition: C/OgreArrayMatrix4.h:222
void _setLodUsage(unsigned short level, const MeshLodUsage &usage)
Internal methods for loading LOD, do not use.
GpuSharedParameters(const String &name)
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
void unloadAll(bool reloadableOnly=true)
Unloads all resources.
Definition: OgreResourceManager.h:213
virtual StagingStallType uploadWillStall(size_t sizeBytes)
Returns true if our next call to @map() with the same parameters will stall.
static const String & getDirectionalLightExtruderVs_4_0Debug(void)
Get extruder program source for debug directional lights, compatible with vs_4_0.
Definition: OgreShadowVolumeExtrudeProgram.h:268
size_t paddedBytes
Definition: OgreNULLVaoManager.h:60
void setAmbientLight(const ColourValue &upperHemisphere, const ColourValue &lowerHemisphere, const Vector3 &hemisphereDir, Real envmapScale=1.0f)
Sets the ambient light level to be used for the scene.
static const size_t MS_CORNERS_FRONT[4]
To call Marching Squares with a cube on its front.
Definition: OgreVolumeIsoSurface.h:60
AbstractNodeType type
Definition: OgreScriptCompiler.h:96
virtual void destroyAllBillboardChains(void)
Removes & destroys all BillboardChains from the SceneManager.
virtual void resourceGroupPrepareEnded(const String &groupName)
This event is fired when a resource group finished preparing.
Definition: OgreResourceGroupManager.h:147
StencilParams stencilParams
Stencil support.
Definition: OgreHlmsPso.h:104
const LodLevel * getLodLevel(uint16 lod)
Get the LodLevel information for a given lod.
SharedPtr()
Constructor, does not initialise the SharedPtr.
Definition: OgreSharedPtr.h:145
virtual void tangent(const Vector3 &tan)
Add a vertex tangent to the current vertex.
Real getCosTime_0_1(Real x) const
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
ImageBlur2D separableBlur_Float32_A
Definition: OgreImageDownsampler.h:171
GLES2TextureBuffer(const String &baseName, GLenum target, GLuint id, GLint width, GLint height, GLint depth, GLint internalFormat, GLint format, GLint face, GLint level, Usage usage, bool softwareMipmap, bool writeGamma, uint fsaa)
Texture constructor.
void removeSceneManager(SceneManager *sceneMgr)
Remove a scene manager from the shader generator scene managers list.
#define OGRE_FREE_SIMD(ptr, category)
Free the memory allocated with either OGRE_MALLOC_SIMD or OGRE_ALLOC_T_SIMD. Category is required to ...
Definition: OgreMemoryAllocatorConfig.h:478
Marching Cubes implementation like at http://local.wasp.uwa.edu.au/~pbourke/geometry/polygonise/.
Definition: OgreVolumeIsoSurfaceMC.h:46
static TerrainGlobalOptions * getSingletonPtr(void)
Override standard Singleton retrieval.
const Real * getPssmFade(size_t shadowMapIdx) const
Returns the fade point of the last PSSM split in projection space for the given shadow map index.
BillboardChainFactory()
Definition: OgreBillboardChain.h:361
CSGUnionSource(const Source *a, const Source *b)
Constructor.
uint getSplitCount() const
Get the number of splits.
Definition: OgreShadowCameraSetupPSSM.h:110
bool operator==(const SmallVectorImpl &RHS) const
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:740
Vector3 getSpecular(void) const
Definition: OgreCbDrawCall.h:76
void shutdownAll(void)
Utility method to control shutdown of the managers.
virtual bool setOption(const String &, const void *)
Sets the given option for the Zone.
Atom mAtomFullScreen
Definition: OgreGLXGLSupport.h:45
void setDatablock(HlmsDatablock *datablock)
Sets the given HLMS datablock to all SubEntities.
@ ID_ALPHA_BLEND
Definition: OgreScriptCompiler.h:753
Definition: OgreHlmsTextureManager.h:97
int event_mask
Definition: OgreX11EGLSupport.h:90
@ PT_REAL
Definition: OgreStringInterface.h:50
static String standardisePath(const String &init)
Method for standardising paths - use forward slashes only, end with slash.
This abstract node represents a variable assignment.
Definition: OgreScriptCompiler.h:172
SharedPtr< Mesh > MeshPtr
Definition: OgrePrerequisites.h:357
virtual bool isStereoEnabled(const String &renderWindowName)
Class which manages blending of both colour and alpha components.
Definition: OgreBlendMode.h:140
Grid2DMode
The 2D grid mode.
Definition: OgreGrid2DPageStrategy.h:50
virtual bool windowClosing(RenderWindow *rw)
Definition: OgreWindowEventUtilities.h:92
Factory class for Cg programs.
Definition: OgreCgProgramFactory.h:38
virtual FileInfoListPtr findFileInfo(const String &pattern, bool recursive=true, bool dirs=false)=0
Find all files or directories matching a given pattern in this archive and get some detailed informat...
void rotate(const Radian &angle)
Adds the passed in angle to the rotation applied to this overlay.
AbsolutePixelCountLodStrategy()
Default constructor.
bool isLayerParallaxMappingEnabled() const
Whether to support parallax mapping per layer in the shader (default true).
Definition: OgreTerrainMaterialGeneratorA.h:81
virtual void setMaterial(const MaterialPtr &material)
Sets the given material. Overrides HLMS materials.
virtual v1::BillboardChain * createBillboardChain()
Create a BillboardChain, an object which you can use to render a linked chain of billboards.
virtual void resetOrientation(void)
Resets the OldNodes orientation (local axes as world axes, no rotation).
@ PBSM_BLEND_ADD
Definition: OgreHlmsPbsPrerequisites.h:83
GLuint getGLShaderHandle() const
Definition: OgreGLSLShader.h:145
@ LBX_SUBTRACT
subtract source2 from source1
Definition: OgreBlendMode.h:93
virtual void loadingComplete(Resource *)
Called whenever the resource finishes loading.
Definition: OgreResource.h:97
void writeScript(const RenderSystemCapabilities *caps, const String &name, String filename)
Writes a RenderSystemCapabilities object to a data stream.
Capabilities
Enum describing the different hardware capabilities we want to check for OGRE_CAPS_VALUE(a,...
Definition: OgreRenderSystemCapabilities.h:77
NULLVertexArrayObject(uint32 vaoName, uint32 renderQueueId, const VertexBufferPackedVec &vertexBuffers, IndexBufferPacked *indexBuffer, OperationType opType)
Definition: OgreNULLVertexArrayObject.h:40
~ErrorDialog()
Definition: WIN32/OgreErrorDialogImp.h:52
Real getRadius(void) const
Returns the radius of the sphere.
Definition: OgreSphere.h:66
OverlayElement * createOverlayElement(const String &typeName, const String &instanceName, bool isTemplate=false)
Creates a new OverlayElement of the type requested.
GpuProgram * _getBindingDelegate(void)
Returns the GpuProgram which should be bound to the pipeline.
#define _OgreNULLExport
Definition: OgreNULLPrerequisites.h:70
@ PBSM_DETAIL0
Definition: OgreHlmsPbsPrerequisites.h:63
void setBorderSize(Real left, Real right, Real top, Real bottom)
Sets the size of the border separately for all borders.
@ V1_FAST
Renders v1 entities using HLMS materials with some of the new benefits, but some deprecated features ...
Definition: OgreRenderQueue.h:101
OptimizationStrategy
Definition: OgreConstBufferPool.h:78
virtual WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
The handler method every subclass must implement.
virtual void setReadable(bool readable)
Use before defining geometry to indicate that you intend to be able to read back from the geometry bu...
Definition: OgreManualObject.h:184
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
MappingState getMappingState(void) const
Returns the mapping state.
Definition: OgreBufferPacked.h:278
void destroyInstance(ParticleSystemRenderer *ptr)
Destroys an object which was created by this factory.
OGRE_MUTEX(mGpuProgramChangeMutex)
void setEmissive(Real red, Real green, Real blue)
Sets the amount of self-illumination an object has.
Definition: OgrePass.h:316
ConstMapIterator(typename T::const_iterator start, typename T::const_iterator last)
Constructor.
Definition: OgreIteratorWrapper.h:359
uint8 getNumTextureUnitsInUse(void) const
Returns the number of texture units that are actually used.
Definition: OgreHlmsUnlitMobileDatablock.h:214
virtual void setVisible(bool visible)
Hides or shows all the batches.
uint32 multisampleCount
MSAA specific settings.
Definition: OgreHlmsPso.h:113
virtual void _setHlmsSamplerblock(uint8 texUnit, const HlmsSamplerblock *samplerblock)
@See HlmsSamplerblock.
virtual void collectLights(Camera *camera)
void setVertexDeclaration(VertexDeclaration *decl)
void destroyResourcePool(ResourcePool *pool)
Destroy a resource pool.
void bind(void)
Bind a VAO.
virtual void endGPUSampleProfile(const String &name)
void destroyAdvancedTexture(const String &sTextureName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Calls the destroy method of all registered plugins...
Definition: OgreD3D11TextureManager.h:37
void setDestination(const SharedPtr< ControllerValue< T > > &dest)
Sets the output controller value.
Definition: OgreController.h:178
Real getTime_0_X(Real x) const
@ FFP_PRE_PROCESS
Definition: OgreShaderFFPRenderState.h:70
String doGet(const void *target) const
void loadMaterials(const String &filename, const String &groupName, HlmsJsonListener *listener, const String &additionalTextureExtension)
Opens a file containing a JSON string to load all Hlms materials from.
@ Parent
Definition: OgreArrayMemoryManager.h:291
GeometryIterator getGeometryIterator(void)
Get an iterator over the contained geometry.
virtual Billboard * getBillboard(unsigned int index) const
Returns a pointer to the billboard at the supplied index.
void dirty()
Mark the entire terrain as dirty.
static Real parseReal(const String &val, Real defaultValue=0)
Converts a String to a Real.
@ SPC_LIGHTPOSITION_OBJECT_SPACE6
Definition: OgreShaderParameter.h:213
@ FFP_POST_PROCESS
Definition: OgreShaderFFPRenderState.h:76
static const ArrayReal TWO_PI
Definition: OgreMathlibC.h:50
@ CB_DRAW_V1_STRIP
Definition: OgreCbCommon.h:68
virtual void unregisterThread()
Unregister an additional thread which may make calls to rendersystem-related objects.
InstanceBatchVTF(IdType id, ObjectMemoryManager *objectMemoryManager, InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap)
void setNumUavUnits(uint8 numSlots)
Creates 'numSlots' number of slots before they can be set.
virtual DecodeResult decode(DataStreamPtr &input) const =0
Codes the data from the input chunk into the output chunk.
void setValue(size_t position, bool bValue)
Definition: OgreBitset.h:53
static const IdString DetailNormalSwizzle0
Definition: OgreHlmsPbsMobile.h:166
String name
Definition: OgreGpuProgramParams.h:1397
static LodWorkQueueInjector & getSingleton()
size_t getMaxSize(void)
Definition: OgreStagingBuffer.h:266
@ ID_SHADOW_CASTER_FRAGMENT_PROGRAM_REF
Definition: OgreScriptCompiler.h:620
ImageBlur2D separableBlur_sRGB_XX88
Definition: OgreImageDownsampler.h:208
virtual void _setIndirectBuffer(IndirectBufferPacked *indirectBuffer)
int lessNonPod(const HlmsPso &_r) const
Definition: OgreHlmsPso.h:219
void unbind(void)
Unbind the shader in OpenGL.
virtual ~ChunkHandler(void)
Destructor.
Processes requests.
Definition: OgreLodWorkQueueWorker.h:45
NodeTrackIterator getNodeTrackIterator(void) const
Get non-updateable iterator over node tracks.
Definition: OgreAnimation.h:415
float getHeightAtWorldPosition(Real x, Real y, Real z) const
Get the height data for a given world position (projecting the point down on to the terrain).
static void uninitialized_copy(T1 *I, T1 *E, T2 *Dest)
uninitialized_copy - Copy the range [I, E) onto the uninitialized memory starting with "Dest",...
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:427
GpuProgramParameters * getTargetParams() const
Definition: OgreGpuProgramParams.h:847
GLint isLinked(void)
Return the shader link status.
Definition: OgreGLSLESShader.h:133
VertexElement2Vec vertexElements
Definition: OgreGL3PlusVaoManager.h:101
@ RSC_ALPHA_TO_COVERAGE
Supports Alpha to Coverage (A2C)
Definition: OgreRenderSystemCapabilities.h:158
virtual Real computeEdgeCollapseCost(LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge)
Returns the collapse cost of the given edge.
@ ACT_INVERSE_WORLDVIEWPROJ_MATRIX
Provides inverse of concatenated world, view and projection matrices.
Definition: OgreGpuProgramParams.h:979
void initialiseResourceGroup(const String &name, bool changeLocaleTemporarily)
Initialises a resource group.
virtual void destroyRenderWindow(const String &name)
Destroys a render window.
bool hasSkeleton(void) const
Returns true if this Mesh has a linked Skeleton.
#define OGRE_DELETE
Definition: OgreMemoryAllocatorConfig.h:501
virtual bool isStereoEnabled(void) const
Indicates whether stereo is currently enabled for this target.
virtual void setLoadingIntervalMs(uint32 loadingIntervalMs)
Set the interval between the loading of single pages in milliseconds (ms)
static const AxisAlignedBox BOX_NULL
Definition: OgreAxisAlignedBox.h:837
static const uint16 CHUNK_VERSION
Definition: OgreTerrainGroup.h:503
virtual void setEmitted(bool emitted)
Set the indication (true/false) to indicate that the emitter is emitted by another emitter.
virtual const String & getType() const
Definition: OgreNULLVaoManager.h:58
void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)
Clears one or more frame buffers on the active render target.
@ NUM_MAPPING_STATE
Definition: OgreBufferPacked.h:69
virtual bool isFrameFinished(uint32 frameCount)
See VaoManager::isFrameFinished.
@ SPC_BINORMAL_WORLD_SPACE
Binormal in world space.
Definition: OgreShaderParameter.h:261
void setAffectParentNode(bool bAffect)
A Light must always have a Node attached to it.
bool intersects(const Sphere &s) const
Tests whether this box intersects a sphere.
Definition: OgreAxisAlignedBox.h:662
virtual bool isSkyDomeEnabled(void) const
Return whether a skydome is enabled.
Definition: OgreSceneManager.h:2394
const String & getComputeProgramName(void) const
Gets the name of the Tessellation Hull program used by this pass.
HLMS stands for "High Level Material System".
Definition: OgreHlmsJsonCompute.h:49
@ BIND_ORIGINAL
Definition: OgreEntity.h:646
Hashed string.
Definition: OgreIdString.h:96
void setRenderQueueSubGroup(uint8 subGroup)
Sets the render queue sub group.
Definition: OgreRenderable.h:438
virtual bool isPointRenderingEnabled(void) const
Returns whether point rendering is enabled.
Definition: OgreBillboardSet.h:804
static const String & getDirectionalLightExtruderArbvp1FiniteDebug(void)
Get FINITE extruder program source for debug directional lights, compatible with arbvp1.
Definition: OgreShadowVolumeExtrudeProgram.h:312
size_t size_type
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:230
FileInfoListPtr findFileInfo(const String &pattern, bool recursive=true, bool dirs=false)
Find all files or directories matching a given pattern in this archive and get some detailed informat...
bool allowedToVisit(void)
Definition: OgrePCZSceneNode.h:98
String validateConfigOptions(void)
See RenderSystem.
@ NUM_LIGHT_TYPES
Definition: OgreLight.h:101
VertexBufferPacked * getBaseVertexBuffer(void) const
Definition: OgreVertexArrayObject.h:109
void setValue(Real value)
void updateUniformBlocks(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object uniform blocks using data from GpuProgramParameters.
void _setTextureUnitCompareEnabled(size_t unit, bool compare)
uint32 getDepth() const
Get the depth of this box.
Definition: OgreCommon.h:898
String mSource
Definition: OgreScriptCompiler.h:565
virtual void setHidden(bool hidden)
Hide (or show) the window.
Definition: OgreRenderWindow.h:157
void removeAllChildren(void)
Overridden from Node to remove any reference to octants.
static const IdString PssmFade
Definition: OgreHlms.h:819
virtual ~ProfileInstance(void)
static const IdString UvDiffuse1
Definition: OgreUnlitProperty.h:76
@ ACT_SHADOW_EXTRUSION_DISTANCE
The distance a shadow volume should be extruded when using finite extrusion programs.
Definition: OgreGpuProgramParams.h:1138
GPUVendorRule()
Definition: OgreTechnique.h:98
const Semantic & getSemantic() const
Get the semantic of this parameter.
Definition: OgreShaderParameter.h:329
virtual bool setOption(const String &, const void *)=0
Sets the options for the Zone.
virtual bool pullOcclusionQuery(unsigned int *NumOfFragments)=0
Pulls the hardware occlusion query.
static void setIgnoreHidden(bool ignore)
Set whether filesystem enumeration will include hidden files or not.
Definition: OgreFileSystem.h:112
Manages the locating and loading of BSP-based indoor levels.
Definition: OgreBspResourceManager.h:46
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
static UniformParameterPtr createUniform(GpuConstantType type, int index, uint16 variability, const String &suggestedName, size_t size)
void setVertexShaderProfiles(const String &vertexShaderProfiles)
Set the output vertex shader target profiles.
virtual void setCustomViewMatrix(bool enable, const Matrix4 &viewMatrix=Matrix4::IDENTITY)
Set whether to use a custom view matrix on this frustum.
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
void doSet(void *target, const String &val)
virtual ProgramWriter * create(void)
Definition: OgreShaderGLSLProgramWriter.h:140
static const uint32 TERRAINDERIVEDDATA_CHUNK_ID
Definition: OgreTerrain.h:290
virtual RenderSystemCapabilities * createRenderSystemCapabilities() const
See RenderSystem.
virtual void _bindTextureUavCS(uint32 slot, Texture *texture, ResourceAccess::ResourceAccess access, int32 mipmapLevel, int32 textureArrayIndex, PixelFormat pixelFormat)
Binds an UAV texture to a Compute Shader.
Vector4 getTime_0_X_packed(Real x) const
virtual void objectDetached(MovableObject *)
MovableObject has been detached from a node.
Definition: OgreMovableObject.h:81
UnlitBlendModes getBlendMode(uint8 texType) const
void setCommonDirection(const Vector3 &vec)
Use this to specify the common direction given to billboards of type BBT_ORIENTED_COMMON.
@ RSC_GL1_5_NOVBO
Supports OpenGL version 1.5.
Definition: OgreRenderSystemCapabilities.h:221
void _findNodes(const Ray &t, PCZSceneNodeList &list, PCZSceneNode *exclude, bool includeVisitors, bool full)
static ArrayMaskR CompareLess(ArrayReal a, ArrayReal b)
Returns the result of "a < b".
Definition: OgreMathlibC.h:236
void swap(Vector2 &other)
Exchange the contents of this vector with another.
Definition: OgreVector2.h:93
virtual void _setVertexTexture(size_t unit, const TexturePtr &tex)
Binds a texture to a vertex, geometry, compute, tessellation hull or tessellation domain sampler.
void _notifyModified()
Tell the page that it is modified.
Definition: OgrePage.h:188
void _setTextureBlendMode(size_t stage, const LayerBlendModeEx &bm)
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:307
void clip(const ConvexBody &body)
Clips the body with another body.
void setCompositorPassProvider(CompositorPassProvider *passProvider)
Sets a custom pass provider in order to implement custom passes in your nodes.
void _applyBaseKeyFrame(const KeyFrame *base)
Internal method to re-base the keyframes relative to a given keyframe.
String doGet(const void *target) const
ResponseHandler()
Definition: OgreWorkQueue.h:200
Implement a sub render state which performs hardware skinning.
Definition: OgreShaderExHardwareSkinning.h:57
bool checkExtension(const String &ext) const
Checks for the presense of an API-specific extension (eg. Vulkan, GL)
AnimationTrack(Animation *parent, unsigned short handle)
Constructor.
RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
const HlmsBlendblock * _getBlendblock(uint16 idx) const
Gets a blendblock based on its index.
Ray getCameraToViewportRay(Real screenx, Real screeny) const
Gets a world space ray as cast from the camera through a viewport position.
vector< TerrainLayerSamplerElement >::type TerrainLayerSamplerElementList
Definition: OgreTerrainMaterialGenerator.h:99
static const size_t MinDecalRq
Definition: OgreForwardPlusBase.h:71
void unload(Archive *arch)
Unloads an archive.
GLenum sourceBlendAlpha
Definition: OgreGLES2HlmsPso.h:57
TexGen texGen
Definition: OgreQuake3Shader.h:71
HighLevelGpuProgramFactory()
Definition: OgreHighLevelGpuProgramManager.h:49
void _setWorldMatrix(const Matrix4 &m)
See RenderSystem.
@ CpuRead
Finishes writing to & flushes all caches to VRAM so CPU can read it.
Definition: OgreResourceTransition.h:85
uint8 getLayerIndex() const
Get the index of the layer this is targeting.
Definition: OgreTerrainLayerBlendMap.h:86
Definition: OgreAPKFileSystemArchive.h:38
@ ID_GPU_VENDOR_RULE
Definition: OgreScriptCompiler.h:640
static void packColour(const uint8 r, const uint8 g, const uint8 b, const uint8 a, const PixelFormat pf, void *dest)
Pack a colour value to memory.
double * getDoublePointer(size_t pos)
Get a pointer to the 'nth' item in the double buffer.
Definition: OgreGpuProgramParams.h:1901
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)=0
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
bool needUpdate()
Returns true if portal needs update.
String doGet(const void *target) const
static D3D11_STENCIL_OP get(StencilOperation op, bool invert=false)
return a D3D11 equivalent for a Ogre StencilOperation value
virtual void copyFrom(const SubRenderState &rhs)
const D3DCAPS9 & getD3D9DeviceCaps() const
The ScriptTranslatorManager manages the lifetime and access to script translators.
Definition: OgreScriptTranslator.h:119
SkeletonInstance * getSkeleton(void) const
Definition: OgreInstancedEntity.h:255
~D3D9GpuFragmentProgram()
~OctreeSphereSceneQuery()
const T & back() const
Definition: OgreFastArray.h:348
virtual HlmsCache preparePassHash(const Ogre::CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager)
Called every frame by the Render Queue to cache the properties needed by this pass.
static D3D11_USAGE _getUsage(v1::HardwareBuffer::Usage usage)
void setDisplaySkeleton(bool display)
Tells the Entity whether or not it should display it's skeleton, if it has one.
static CommandBufferExecuteFunc execute_drawV1IndexedNoBaseInstance
Definition: OgreCommandBuffer.h:93
Quaternion(const Vector3 &xaxis, const Vector3 &yaxis, const Vector3 &zaxis)
Construct a quaternion from 3 orthonormal local axes.
Definition: OgreQuaternion.h:82
@ PF_R32G32B32A32_SINT
128-bit pixel format, 32 bits red (signed int), 32 bits blue (signed int), 32 bits green (signed int)...
Definition: OgrePixelFormat.h:206
virtual_l2 Vector3 _getDerivedScaleUpdated(void)
Gets the scalling factor of the node as derived from all parents.
void createNewNode(BoneTransform &outTransform)
Requests memory for a new Bone (for the Array vectors & matrices) May be also be used for a new Entit...
void getTerrainPositionAlign(const Vector3 &WSpos, Alignment align, Vector3 *outTSpos) const
Convert a position from world space to terrain basis space based on a specified alignment.
void windowMovedOrResized()
Notify that the window has been resized.
static void cleanupDictionary()
Cleans up the static 'msDictionary' required to reset Ogre, otherwise the containers are left with in...
bool _getAnimationTypesDirty(void) const
Are the derived animation types out of date?
Definition: OgreMesh.h:996
virtual void textureCoord(const Vector2 &uv)
Add a texture coordinate to the current vertex.
bool isLeaf() const
Is this a leaf node (no children)
static void _getBlendFlags(SceneBlendType type, SceneBlendFactor &source, SceneBlendFactor &dest)
Used to get scene blending flags from a blending type.
String getName() const
See ParticleEmitterFactory.
Definition: OgreCylinderEmitterFactory.h:49
PlanarReflections(SceneManager *sceneManager, CompositorManager2 *compositorManager, Real maxDistance, Camera *lockCamera)
StreamSerialiser * _writePageStream(PageID pageID, PagedWorldSection *section)
Get a serialiser set up to read Page data for the given PageID.
vector< GLUniformReference >::type GLUniformReferenceList
Definition: OgreGLSLProgram.h:71
bool cas(const T &old, const T &nu)
Definition: OgreAtomicScalar.h:437
bool operator!=(IdString idString) const
Definition: OgreIdString.h:246
virtual void _alertVisibleObjects(void)
Alerts each unculled object, notifying it that it will be drawn.
@ ACT_TRANSPOSE_VIEW_MATRIX
Provides transpose of view matrix.
Definition: OgreGpuProgramParams.h:922
virtual unsigned int getVSyncInterval() const
Returns the vertical sync interval.
Definition: OgreRenderWindow.h:177
virtual ~OverlayProfileSessionListener()
void nameSubMesh(const String &name, ushort index)
Gives a name to a SubMesh.
void readData(size_t offset, size_t length, void *pDest)
Reads data from the buffer and places it in the memory pointed to by pDest.
Plugin instance for D3D11 Manager.
Definition: OgreD3D11Plugin.h:39
void removeAllAnimationStates(void)
Remove all animation states.
virtual void modifyElement(unsigned short elem_index, unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
Modify an element in-place, params as addElement.
HardwareVertexBufferSharedPtr(HardwareVertexBuffer *buf)
Virtual interface of the stereo driver.
Definition: OgreD3D11StereoDriverAMD.h:42
static PropertyType getTypeForValue(const Vector2 &val)
Definition: OgreProperty.h:164
ResourceAllocatedObject PassAlloc
Definition: OgreMemoryAllocatorConfig.h:318
bool operator()(const CompositorNamedBuffer &left, IdString right) const
Definition: OgreCompositorNamedBuffer.h:55
virtual void removeBillboard(Billboard *pBill)
Removes a billboard from the set.
void setFrameDelay(Real fd)
vector< SourceCode >::type SourceCodeVec
Definition: OgreHlmsDiskCache.h:143
virtual bool requiresTextureFlipping() const
Definition: OgreGLES2NullTexture.h:100
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
Definition: OgreSkeletonDef.h:46
const TexturePtr & getDecalsDiffuse(void) const
Definition: OgreSceneManager.h:1372
@ DepthStencil
Waits until rendering to depth/stencil buffers are finished.
Definition: OgreResourceTransition.h:73
void install()
Perform the plugin initial installation sequence.
@ PF_ASTC_SRGB8A8_12X10_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 12x10)
Definition: OgrePixelFormat.h:313
void setSelfIllumination(Real red, Real green, Real blue)
Sets the amount of self-illumination of every Pass in every Technique.
ValueType getNext()
Returns the next(=current) value element in the collection, and advances to the next.
Definition: OgreIteratorWrapper.h:299
v1::Rectangle2D * getSharedFullscreenTriangle(void) const
Returns a shared fullscreen rectangle/triangle useful for PASS_QUAD passes.
Definition: OgreCompositorManager2.h:230
virtual const ColourValue & getColour(void) const
Gets the colour for this element.
bool bEnabled
Definition: OgreCbTexture.h:38
TerrainPagedWorldSection(const String &name, PagedWorld *parent, SceneManager *sm)
Constructor.
@ ID_SHADOWS_ENABLED
Definition: OgreScriptCompiler.h:875
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
Command object for blue adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:65
static Matrix3 parseMatrix3(const String &val, const Matrix3 &defaultValue=Matrix3::IDENTITY)
Parses a Matrix3 out of a String.
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
void addTime(Real offset)
Modifies the time position, adjusting for animation length.
@ ID_CAMERA_FAR_CORNERS_VIEW_SPACE_NORMALIZED_LH
Definition: OgreScriptCompiler.h:889
void _notifyOwner(ParticleSystem *owner)
Internal method for notifying the particle of it's owner.
virtual void apply(const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
Applies an animation track to the designated target.
const String & getName() const
Get the name of this profile.
Definition: OgreTerrainMaterialGenerator.h:182
MeshSerializerImpl(VaoManager *vaoManager)
A plane.
Definition: OgreVolumeCSGSource.h:74
void removeResourceLocation(const String &name, const String &resGroup=DEFAULT_RESOURCE_GROUP_NAME)
Removes a resource location from the search path.
Definition: OgreException.h:197
D3D9VideoMode(const D3D9VideoMode &ob)
Definition: OgreD3D9VideoMode.h:46
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
unsigned int getNumSections(void) const
Retrieves the number of ManualObjectSection objects making up this ManualObject.
size_t size() const
Definition: OgreLwString.h:342
virtual RaySceneQueryResult & getLastResults(void)
Gets the results of the last query that was run using this object, provided the query was executed us...
@ ACT_LIGHT_DIRECTION_OBJECT_SPACE
A light direction in object space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1048
virtual void removeAnimation(const String &name)=0
Removes an Animation from this container.
Definition: OgreQuake3Types.h:153
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
CompositorWorkspace(IdType id, const CompositorWorkspaceDef *definition, const CompositorChannelVec &externalRenderTargets, SceneManager *sceneManager, Camera *defaultCam, RenderSystem *renderSys, bool bEnabled, uint8 executionMask, uint8 viewportModifierMask, const Vector4 &vpOffsetScale, const UavBufferPackedVec *uavBuffers, const ResourceLayoutMap *initialLayouts, const ResourceAccessMap *initialUavAccess)
SceneManager * createSceneManager(const String &typeName, size_t numWorkerThreads, InstancingThreadedCullingMethod threadedCullingMethod, const String &instanceName=BLANKSTRING)
Create a SceneManager instance of a given type.
bool contains(const Vector3 &v) const
Tests whether the given point contained by this box.
Definition: OgreAxisAlignedBox.h:749
AnyNumeric operator/(const AnyNumeric &rhs) const
Definition: OgreAny.h:345
@ OT_PATCH_13_CONTROL_POINT
Definition: OgreHlmsPso.h:72
Specialised AnimationTrack for dealing with node transforms.
Definition: OgreAnimationTrack.h:449
void saveGroupDefinition(const String &filename)
Save the group data only in native form to a file.
@ ID_CAMERA_FAR_CORNERS_WORLD_SPACE
Definition: OgreScriptCompiler.h:890
virtual void _notifyParticleRotated(void)
Optional callback notified when particles are rotated.
Definition: OgreParticleSystemRenderer.h:80
ConfigOptionMap & getConfigOptions(void)
See RenderSystem.
Real userValue
User-supplied values used to determine on which distance the lod is applies.
Definition: OgreMesh.h:1050
virtual void _saveJson(const HlmsDatablock *datablock, String &outString, HlmsJsonListener *listener, const String &additionalTextureExtension) const
Definition: OgreHlms.h:498
RenderSystemCapabilities * loadParsedCapabilities(const String &name)
Returns a capability loaded with RenderSystemCapabilitiesManager::parseCapabilitiesFromArchive method...
const GL3PlusSupport * getGLSupport(void) const
Definition: OgreGL3PlusRenderSystem.h:541
static Codec * getCodec(const String &extension)
Gets the codec registered for the passed in file extension.
bool isIsoSurfaceNear(void) const
Gets whether the isosurface is somewhat near to this node.
Definition: OgreVolumeOctreeNode.h:526
Specialisation of ArchiveFactory for FileSystem files.
Definition: OgreFileSystem.h:128
void _setTextureLayerAnisotropy(size_t unit, unsigned int maxAnisotropy)
virtual ~Controller()
Default d-tor.
Definition: OgreController.h:164
ConstVectorRange(typename T::iterator b, typename T::iterator e)
Constructor.
Definition: OgreIteratorRange.h:200
static const IdString FwdClusteredWidthxHeight
Definition: OgreHlms.h:838
virtual void _releaseBufferCopies(bool forceFreeUnused=false)
Internal method for releasing all temporary buffers which have been allocated using BLT_AUTOMATIC_REL...
Definition: OgreHardwareBufferManager.h:533
const ControllerFunctionRealPtr & getPassthroughControllerFunction(void) const
Retrieve a simple passthrough controller function.
void * getProcAddress(const char *procname) const
Get the address of a function.
SceneQueryMovableIntersectionList movables2movables
List of movable / movable intersections (entities, particle systems etc)
Definition: OgreSceneQuery.h:487
void doSet(void *target, const String &val)
Abstract class defining the interface required to be implemented by classes which provide rendering c...
Definition: OgreParticleSystemRenderer.h:52
void doSet(void *target, const String &val)
HlmsDatablock * datablock
Definition: OgreHlms.h:95
static const IdString GLVersion
Definition: OgreHlms.h:865
virtual void seek(size_t pos)=0
Repositions the read point to a specified byte.
const SmallVector & operator=(const SmallVector &RHS)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:934
virtual void setDefaultDimensions(Real width, Real height)
Sets the default dimensions of the billboards in this set.
virtual void processMaterialName(Mesh *mesh, String *name)=0
Called to override the loading of the given named material.
virtual void _loadJson(const rapidjson::Value &jsonValue, const HlmsJson::NamedBlocks &blocks, HlmsDatablock *datablock, HlmsJsonListener *listener, const String &additionalTextureExtension) const
Loads datablock values from a JSON value.
Definition: OgreHlms.h:495
virtual void setShadowTextureFadeEnd(Real fadeEnd)
Sets the proportional distance at which texture shadows finish to fading out.
Definition: OgreSceneManager.h:2797
RenderWindow * initialise(bool autoCreateWindow, const String &windowTitle="OGRE Render Window", const String &customCapabilitiesConfig=BLANKSTRING)
Initialises the renderer.
iterator_range(T b, T e)
Constructor.
Definition: OgreIteratorRange.h:81
ArrayVector3 perpendicular(void) const
Generates a vector perpendicular to this vector (eg an 'up' vector).
virtual bool isConstParameter() const
Definition: OgreShaderParameter.h:594
virtual void _updateFromShadow(void)
Updates the real buffer from the shadow buffer, if required.
AnyNumeric & operator/=(const AnyNumeric &rhs)
Definition: OgreAny.h:368
uint8 padding
Definition: OgreCommon.h:174
void resetBounds(const Rect &rect)
Reset the bounds of this node and all its children for the region given.
GLES2HardwarePixelBuffer(uint32 mWidth, uint32 mHeight, uint32 mDepth, PixelFormat mFormat, bool hwGamma, HardwareBuffer::Usage usage)
Should be called by HardwareBufferManager.
void install()
Perform the plugin initial installation sequence.
void setRenderQueueGroup(uint8 queueID)
Sets the render queue group this entity will be rendered through.
void setClipPlanesImpl(const Ogre::PlaneList &planeList)
Internal method used to set the underlying clip planes when needed.
void setDetailMapWeight(uint8 detailMap, Real weight)
Sets the weight of detail map.
void save(const String &filename) const
Saves constant definitions to a file, compatible with GpuProgram::setManualNamedConstantsFile.
@ PF_FLOAT32_GR
64-bit, 2-channel floating point pixel format, 32-bit green, 32-bit red
Definition: OgrePixelFormat.h:136
virtual void applyDeltaValue(const Degree &)
Apply delta value.
Definition: OgreAnimable.h:218
A factory that enables creation of IntegratedPSSM3 instances.
Definition: OgreShaderExIntegratedPSSM3.h:198
@ ID_SRC_ALPHA
Definition: OgreScriptCompiler.h:659
Display * getXDisplay(void)
Get the Display connection used for window management & events.
GL3+ doesn't support mapping the same buffer twice even if the regions don't overlap.
Definition: OgreGL3PlusDynamicBuffer.h:53
@ SKELETON_VERSION_1_0
OGRE version v1.0+.
Definition: OgreSkeletonSerializer.h:44
bool deleteAtomInstance(FunctionAtom *atomInstance)
Delete a function atom instance from this function.
void doSet(void *target, const String &val)
const uchar * getData() const
Returns a const pointer to the internal image buffer.
Definition: OgreD3D11HardwareIndexBuffer.h:39
virtual ~ScriptParser()
Definition: OgreScriptParser.h:50
const HlmsSamplerblock * getSamplerblock(uint8 texType) const
void setTrueTypeSize(Real ttfSize)
Sets the size of a truetype font (only required for FT_TRUETYPE).
virtual void notifyCamera(Camera *cam)
Notify a world of the current camera.
Definition: OgreWin32GLSupport.h:39
@ IM_USEALL
Definition: OgreCommon.h:396
void addPoseWeight(size_t index, float w)
bool applyTextureAliases(const AliasTextureNamePairList &aliasList, const bool apply=true) const
Applies texture names to Texture Unit State with matching texture name aliases.
bool hasFlushPending(const Renderable *renderable) const
void setStartZone(PCZone *startZone)
set the zone to start the scene query
Definition: OgrePCZSceneQuery.h:85
FontPtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Get a resource by name.
size_t offsetAfterPadding
Definition: OgreD3D11VaoManager.h:56
bool isHidden(void) const
RenderWindow::isHidden
Definition: OgreOSXCocoaWindow.h:92
void doSet(void *target, const String &val)
bool getInheritOrientation(void) const
Returns true if this node is affected by orientation applied to the parent node.
virtual_l1 SceneNode * getSceneNode(IdType id)
Retrieves a SceneNode based on it's ID from the scene graph.
bool isAttributeValid(VertexElementSemantic semantic, uint index)
Is a non-standard attribute bound in the linked code?
void setColour(const ColourValue &col)
Sets the colour of the text.
static CFComparisonResult _compareModes(const void *val1, const void *val2, void *context)
FastArray< unsigned short > IndexMap
Dedicated index map for translate blend index to bone index (only valid if useSharedVertices = false)...
Definition: OgreSubMesh.h:115
static const String & getProgramSource(Light::LightTypes lightType, const String &syntax, bool finite, bool debug)
General purpose method to get any of the program sources.
void nullDataPtr()
will null the data ptr so it wont be freed on destruction
Definition: OgreNULLBufferInterface.h:60
~MeshSerializerImpl_v1_4()
void findNodesIn(const AxisAlignedBox &box, list< SceneNode * >::type &list, SceneNode *exclude=0)
Recurses the octree, adding any nodes intersecting with the box into the given list.
Definition: OgreNULLTextureManager.h:37
@ PCF_2x2
Standard quality. Very fast.
Definition: OgreHlmsPbs.h:66
@ INT
Definition: OgreAnimable.h:78
size_type size() const
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:290
SkeletonDef(const v1::Skeleton *originalSkeleton, Real frameRate)
Constructs this Skeleton based on the old format's Skeleton.
Command object for inner size (see ParamCommand).
Definition: OgreHollowEllipsoidEmitter.h:51
void refreshAvailableAnimationState(void)
Updates the internal animation state set to include the latest available animations from the attached...
bool isCaseSensitive(void) const
Returns whether this archive is case sensitive in the way it matches files.
virtual void stopDeflate()
Stop (un)compressing data.
void resize(size_type n, const T &t=T())
Definition: OgreCommon.h:631
void _writeRawConstant(size_t physicalIndex, uint val)
Write a single unsigned integer parameter to the program.
virtual PageContent * createInstance()=0
static D3D11_MAP get(v1::HardwareBuffer::LockOptions options, v1::HardwareBuffer::Usage usage)
Get lock options.
bool isLoaded(void) const
Is this loaded?
virtual void _applyObliqueDepthProjection(Matrix4 &matrix, const Plane &plane, bool forGpuProgram)=0
Update a perspective projection matrix to use 'oblique depth projection'.
virtual void setOctreeVisible(const bool visible)
Shows the debug visualization entity of the octree.
ulong totalCalls
The total number of times this profile was called (used to calculate average)
Definition: OgreProfiler.h:289
Real *RESTRICT_ALIAS mLocalRadius
@See mLocalAabb
Definition: OgreObjectData.h:65
static const ArrayVector3 ZERO
Definition: C/OgreArrayVector3.h:345
void getAsSphere(Sphere &out, size_t index) const
Definition: C/OgreArraySphere.h:74
ArrayVector3 mHalfSize
Definition: C/OgreArrayAabb.h:73
Definition: OgreTerrainPagedWorldSection.h:159
void uninstall()
Perform the final plugin uninstallation sequence.
void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Copies the current contents of the render target to a pixelbox.
static const ArrayVector3 UNIT_Z
Definition: C/OgreArrayVector3.h:348
std::map< K, V, P, A > type
Definition: OgrePrerequisites.h:657
ParticleEmitter * addEmitter(const String &emitterType)
Adds an emitter to this particle system.
ImageDownsampler2D downscale2x_X8
Definition: OgreImageDownsampler.h:60
Real getGamma() const
Returns the gamma adjustment factor applied to this texture on loading.
Definition: OgreTextureUnitState.h:538
static PFNGLXGETVISUALFROMFBCONFIGPROC getVisualFromFBConfig
Definition: OgreGLXUtils.h:46
Singleton wrapper for hardware buffer manager.
Definition: OgreHardwareBufferManager.h:431
void merge(const Sphere &oth)
Merges another Sphere into the current sphere.
Definition: OgreSphere.h:99
@ ID_NAMED
Definition: OgreScriptCompiler.h:800
void setLodStrategyName(const String &name)
Definition: OgreMesh2.h:334
void requestSlot(uint32 hash, ConstBufferPoolUser *user, bool wantsExtraBuffer)
Requests a slot and fills 'user'. Automatically schedules for update.
void setTargetZone(PCZone *zone)
Real mMeshBoundingSphereRadius
Definition: OgreLodData.h:166
@ CMPF_LESS
Definition: OgreCommon.h:99
void _setPrePassMode(PrePassMode mode, const TextureVec *prepassTextures, const TextureVec *prepassDepthTexture, const TextureVec *ssrTexture)
For internal use.
@ Meshes
Definition: OgreSceneFormatBase.h:64
void setUseIrradianceVolume(bool bUseIrradianceVolume)
Whether to use Irradiance Volume instead of VPLs.
int size
Definition: OgreQuake3Types.h:225
@ TEXTURE_LOCAL
We got the texture through an input channel.
Definition: OgreTextureDefinition.h:61
PixelFormat getDesiredDepthBufferFormat(void) const
const Vector4 & getCameraPositionObjectSpace(void) const
virtual void setDefaultDimensions(Real width, Real height)
Sets the default dimensions of the particles in this set.
void doSet(void *target, const String &val)
void addSceneManager(SceneManager *sceneMgr)
Add a scene manager to the shader generator scene managers list.
@ RSC_FBO_ARB
Support for Frame Buffer Objects ARB implementation (regular FBO is higher precedence)
Definition: OgreRenderSystemCapabilities.h:225
String language
Definition: OgreMaterialSerializer.h:50
A collection of billboards (faces which are always facing the given direction) with the same (default...
Definition: OgreBillboardSet.h:113
Definition: OgreX11EGLSupport.h:93
bool getReceiveShadows(void) const
Returns whether or not objects using this material will receive shadows.
Definition: OgreMaterial.h:181
void setGlyphTexCoords(CodePoint id, Real u1, Real v1, Real u2, Real v2, Real textureAspect)
Sets the texture coordinates of a glyph.
Definition: OgreFont.h:296
Command object for setting entry point.
Definition: OgreD3D9HLSLProgram.h:48
void setAlphaAdjust1(float alpha)
Sets the alpha adjustment to be made per second to particles.
bool isBackgroundLoaded(void) const
Returns whether this Resource has been earmarked for background loading.
bool initialize()
Initialize the FFP builder instance.
vector< std::pair< String, String > >::type customParameters
Definition: OgreMaterialSerializer.h:57
const CompositorNodeDefMap & getNodeDefinitions(void) const
Returns a const iterator to all existing definitions.
Definition: OgreCompositorManager2.h:175
Defines a program which runs on the GPU such as a vertex or fragment program.
Definition: OgreGpuProgram.h:68
@ ACT_FPS
provides the calculated frames per second, returned as a floating point value.
Definition: OgreGpuProgramParams.h:1217
Definition: OgreQuake3Types.h:208
bool assign(QueuedGeometry *qsm)
Try to assign geometry to this bucket.
GLenum getGLFormat()
Definition: OgreGL3PlusHardwarePixelBuffer.h:80
Specialisation of ArchiveFactory for Zip files.
Definition: OgreZip.h:113
@ M_SUBMESH_LOD_OPERATION
Definition: OgreMeshFileFormat.h:78
void unmap(size_t ticket)
Unmaps given ticket (got from.
virtual void setMaxTimeToLive(Real max)
Sets the maximum time each particle will live for.
const BoneToSlotVec & getBoneToSlot(void) const
Definition: OgreSkeletonDef.h:198
static VertexElementSemantic get(LPCSTR sem)
@ ACT_VIEW_MATRIX
The current view matrix.
Definition: OgreGpuProgramParams.h:916
virtual void execute(const Camera *lodCamera)
vector< float >::type LodData
Definition: OgreTerrainLodManager.h:57
TexGen
Definition: OgreQuake3Types.h:126
static const IdString UvDetailNm3
Definition: OgreHlmsPbs.h:377
static GLXFBConfig selectFBConfig(Display *display, const int *minAttribs, const int *maxAttribs)
Select an FBConfig given a list of required and a list of desired properties.
Scales the given volume source.
Definition: OgreVolumeCSGSource.h:362
const Matrix4 & getTextureTransform(void) const
Gets the current texture transformation matrix.
@ MESH_VERSION_LATEST
Latest version available.
Definition: OgreMesh2Serializer.h:62
void _setBoundingSphereRadius(Real radius)
Manually set the bounding radius.
@ GCT_SAMPLER2D
Definition: OgreGpuProgramParams.h:73
@ ID_POINT_SIZE_ATTENUATION
Definition: OgreScriptCompiler.h:717
static const size_t MaterialSizeInGpuAligned
Definition: OgreHlmsUnlitDatablock.h:291
bool getIsAlpha(void) const
Gets whether this texture is requested to be loaded as alpha if single channel.
void dump(std::ofstream &of) const
Dump contents for diagnostics.
const CompositorChannel * _getDefinedTexture(IdString textureName) const
const GpuProgramPtr & getComputeProgram(void) const
Gets the Tessellation EHull program used by this pass, only available after _load().
float height
Definition: OgreShaderExTextureAtlasSampler.h:62
virtual void endProfileEvent(void)=0
Ends the currently active GPU profiling event.
Command object for setting profiles.
Definition: OgreCgProgram.h:57
bool isAmbientOnly(void) const
Returns whether this pass is ambient only.
void arrangeEfficient(bool halfPos, bool halfTexCoords, bool qTangents)
Converts this SubMesh to an efficient arrangement.
float getHeightAtWorldPosition(const Vector3 &pos, Terrain **ppTerrain=0)
Get the height data for a given world position (projecting the point down on to the terrain).
MeshPtr load(const String &filename, const String &groupName, BufferType vertexBufferType=BT_IMMUTABLE, BufferType indexBufferType=BT_IMMUTABLE, bool vertexBufferShadowed=true, bool indexBufferShadowed=true)
Loads a mesh from a file, making it immediately available for use.
size_t createGeometryFromLevel
The first LOD level to create geometry for. For scenarios where the lower levels won't be visible any...
Definition: OgreVolumeChunk.h:83
virtual void changeGroupOwnership(const String &newGroup)
Change the resource group ownership of a Resource.
const SplitPointList & getSplitBlendPoints() const
Returns the calculated split blend points.
Definition: OgreShadowCameraSetupPSSM.h:122
Definition: OgreX11EGLSupport.h:82
static PFNGLXCHOOSEFBCONFIGPROC chooseFBConfig
Definition: OgreGLXUtils.h:43
bool isStatic() const
Checks whether this MovableObject is static. @See setStatic.
HardwareBufferLockGuard(HardwareBuffer *p, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:359
Definition: OgreResourceTransition.h:122
FloatGpuParameterControllerValue(GpuProgramParametersSharedPtr params, size_t index)
Constructor.
virtual void textureCoord(Real x, Real y, Real z, Real w)
Add a texture coordinate to the current vertex.
VertexElement2VecVec getVertexDeclaration(void) const
Gets the combined vertex declaration of all the vertex buffers.
void setMaterialName(const String &name)
Definition: OgreSubMesh2.h:187
void _notifyUniformBufferDestroyed(HardwareUniformBuffer *buf)
Definition: OgreHardwareBufferManager.h:559
virtual ~GLSLProgram(void)
bool isEdgeListBuilt(void) const
Returns whether this mesh has an attached edge list.
Definition: OgreMesh.h:817
const char * begin() const
Definition: OgreLwConstString.h:105
size_t getDoubleLogicalIndexForPhysicalIndex(size_t physicalIndex)
Retrieves the logical index relating to a physical index in the double buffer, for programs which sup...
GLUniformBufferList::iterator GLUniformBufferIterator
Definition: OgreGLSLProgram.h:76
virtual void destroySceneNode(SceneNode *sn)
Destroys a SceneNode.
virtual RenderWindow * createWindow(bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle)=0
const String & getType() const
Get the type of the object to be created.
Definition: OgreAntiPortal.h:62
@ LOADSTATE_UNLOADING
Currently unloading.
Definition: OgreResource.h:124
unsigned int getMaxVertexCount() const
Get the maximum number of vertices that the buffer will hold.
Definition: OgreRenderToVertexBuffer.h:70
bool prefersDepthTexture() const
virtual ushort getNumberOfPosesIncluded(void) const
Returns the number of simultaneous poses the vertex program can blend, for use in pose animation.
Definition: OgreGpuProgram.h:351
uint numSplits
Definition: OgreCompositorShadowNodeDef.h:74
void setNormals(const Ogre::Vector3 &topLeft, const Ogre::Vector3 &bottomLeft, const Ogre::Vector3 &topRight, const Ogre::Vector3 &bottomRight)
Sets the normals of the rectangle.
A factory class that can create various mesh prefabs.
Definition: OgrePrefabFactory.h:49
static Radian ATan(Real fValue)
Arc tangent function.
Definition: OgreMath.h:290
void getFriendlyText(char *outCStr, size_t stringSize) const
C String version.
Definition: OgreIdString.h:290
D3D9StereoDriverImpl()
Definition: OgreD3D9StereoDriverImpl.h:43
static const IdString Diffuse
Whether uses material's colour.
Definition: OgreUnlitProperty.h:62
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
Definition: OgreBorderPanelOverlayElement.h:335
set< ushort >::type TrackHandleList
A list of track handles.
Definition: OgreAnimation.h:458
static size_t calculateSize(size_t mipmaps, size_t faces, uint32 width, uint32 height, uint32 depth, PixelFormat format)
Static function to calculate size in bytes from the number of mipmaps, faces and the dimensions.
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
virtual ~HlmsComputeJob()
Real maxScreenSpaceError
The maximum accepted screen space error when choosing the LOD levels to render.
Definition: OgreVolumeChunk.h:80
static const IdString DiffuseMap
Number of diffuse maps.
Definition: OgreUnlitProperty.h:69
virtual void getBottomLeftGridSpace(int32 x, int32 y, Vector2 &bl)
Get the (grid space) bottom-left of a cell.
static ArrayQuaternion Slerp(ArrayReal fT, const ArrayQuaternion &rkP, const ArrayQuaternion &rkQ)
@See Quaternion::Slerp
Real getInnerSizeY(void) const
Gets the y component of the area inside the ellipsoid which doesn't emit particles.
@ LF_ONLY_UNREFERENCED
Process only resources which are not referenced by any other object. Usefull to reduce resource consu...
Definition: OgreResource.h:139
const Plane & getPrevDerivedPlane() const
Get the previous portal plane in world coordinates.
Definition: OgrePortalBase.h:148
HardwareBuffer::Usage getIndexBufferUsage(void) const
Gets the usage setting for this meshes index buffers.
Definition: OgreMesh.h:636
Ogre::uint32 IdType
Big projects with lots, lots of units for very long periods of time (MMORPGs?) may want to define thi...
Definition: OgreId.h:36
AnimationIterator getAnimationIterator(void)
Returns a specialised MapIterator over all animations in the scene.
Definition: OgreSceneManager.h:2697
void setForward3D(bool bEnable, uint32 width, uint32 height, uint32 numSlices, uint32 lightsPerCell, float minDistance, float maxDistance)
Enables or disables the Forward3D implementation for using many non-shadowed lights in the scene.
@ SPC_BLEND_INDICES
Blending indices.
Definition: OgreShaderParameter.h:243
@ GCT_SAMPLER_WRAPPER3D
Definition: OgreGpuProgramParams.h:117
Pass * createPass(void)
Creates a new Pass for this Technique.
virtual ~StringInterface()
Virtual destructor, see Effective C++.
Definition: OgreStringInterface.h:209
static ParameterPtr createOutPosition(int index)
@ SBO_MAX
Definition: OgreBlendMode.h:259
SimpleMatrixAf4x3(ArrayReal row0, ArrayReal row1, ArrayReal row2)
Definition: NEON/Single/OgreArrayMatrixAf4x3.h:197
const Vector3 getCenterLeft(void) const
Gets the center of the corners 0, 3, 4, 6.
Definition: OgreVolumeOctreeNode.h:310
Ray()
Definition: OgreRay.h:51
void setManualValue(const Vector2 &value)
Real getVerticalTexelOffset(void)
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
Definition: OgreGL3PlusRenderSystem.h:502
Base definition of a hardware buffer manager.
Definition: OgreHardwareBufferManager.h:116
Abstract class defining the interface to be implemented by particle emitters.
Definition: OgreParticleEmitter.h:72
IdString const * uvSource
Definition: OgreUnlitProperty.h:131
@ ID_MIPMAP_BIAS
Definition: OgreScriptCompiler.h:748
bool operator==(const VectorRange &rhs) const
comparison operator for equality
Definition: OgreIteratorRange.h:162
const String & getDescription() const
Get the description of the property.
Definition: OgreProperty.h:199
void setVSyncEnabled(bool vsync)
Enable or disable vertical sync for the RenderWindow.
virtual bool getInheritScale(void) const
Returns true if this OldNode is affected by scaling factors applied to the parent OldNode.
uint32 back
Definition: OgreCommon.h:839
void setCenter(const Vector3 ¢er)
Sets the center point of the sphere.
Definition: OgreSphere.h:75
@ SPC_LIGHTPOSITIONVIEW_SPACE0
Light position in view space index 0-7.
Definition: OgreShaderParameter.h:227
Command object for specifying UV coordinates (see ParamCommand).
Definition: OgrePanelOverlayElement.h:129
SharedPtr< LodCollapser > LodCollapserPtr
Definition: OgreLodPrerequisites.h:65
float mDetailWeight[4]
Definition: OgrePbsMobileShaderCreationData.h:62
virtual void nodeDetached(const Node *)
Node has been detached from a parent.
Definition: OgreNode.h:98
void setDiffuse(const ColourValue &diffuse)
Sets the diffuse colour reflectance properties of every Pass in every Technique.
D3D9VideoMode()
Definition: OgreD3D9VideoMode.h:45
bool isVisible() const
Indicates whether the window is visible (not minimized or obscured)
void setAdjust2(float red, float green, float blue, float alpha=0.0)
Archive * load(const String &filename, const String &archiveType, bool readOnly)
Opens an archive for file reading.
bool resourceLocationExists(const String &name, const String &resGroup=DEFAULT_RESOURCE_GROUP_NAME)
Verify if a resource location exists for the given group.
@ PF_FLOAT32_RGB
96-bit pixel format, 32 bits (float) for red, 32 bits (float) for green, 32 bits (float) for blue
Definition: OgrePixelFormat.h:130
String doGet(const void *target) const
ushort getBoneCount()
Returns the number of bones in the model assigned to the material.
virtual void load(bool backgroundThread=false)
Loads the resource, if it is not already.
EdgeData * edgeData
Edge list for this LOD level (may be derived from manual mesh).
Definition: OgreMesh.h:1065
LwString & operator+=(const LwString &other)
Definition: OgreLwString.h:194
T & front()
Definition: OgreFastArray.h:354
virtual StagingBuffer * createStagingBuffer(size_t sizeBytes, bool forUpload)
Creates a new staging buffer and adds it to the pool.
const Matrix4 & getViewProjectionMatrix(void) const
Real squaredDistance(const Segment &otherSegment) const
void _updateCompiledBoneAssignments(void)
Internal method, be called once to update the compiled bone assignments.
Matrix4 concatenateAffine(const Matrix4 &m2) const
Concatenate two affine matrices.
Definition: OgreMatrix4.h:637
void destroySection(const String &name)
Destroy a section of world.
virtual void _findNodes(const Sphere &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
VectorSet< Triangle *, 7 > VTriangles
Definition: OgreLodData.h:61
~VertexCacheProfiler()
Definition: OgreVertexIndexData.h:339
Vector3 getPosition(void) const
Gets the position of the node relative to its parent.
void setDimensions(Real left, Real top, Real width, Real height, bool overrideScissors=true)
Sets the dimensions (after creation).
static Matrix4 buildReflectionMatrix(const Plane &p)
Build a reflection matrix for the passed in plane.
bool empty() const
informs if there are any elements in the range
Definition: OgreIteratorRange.h:90
BillboardSetFactory()
Definition: OgreBillboardSet.h:844
virtual ~ResourceGroupListener()
Definition: OgreResourceGroupManager.h:89
Matrix4(const Real *arr)
Definition: OgreMatrix4.h:126
void setTextureBufferDefaultSize(size_t defaultSize)
Changes the default suggested size for the texture buffer.
void _enableAnimation(SkeletonAnimation *animation)
Internal use. Enables given animation. Input should belong to us and not already animated.
Degree(const Radian &r)
Definition: OgreMath.h:106
LodConfig(v1::MeshPtr &_mesh, LodStrategy *_strategy=DistanceLodStrategy::getSingletonPtr())
Info about Lod levels.
Plugin instance for GL3Plus Manager.
Definition: OgreGL3PlusPlugin.h:39
ThreadHandle(size_t threadIdx, void *userParam)
CreateCompositorScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup)
Definition: OgreScriptCompiler.h:602
GLint mOffset
GL offset (only used for atomic counters)
Definition: OgreGLSLProgram.h:64
Definition: OgreGLES2VaoManager.h:51
IdString mCameraName
When empty, uses the default camera.
Definition: OgreCompositorPassSceneDef.h:82
CompositorNodeDef * getNodeDefinitionNonConst(IdString nodeDefName) const
@See getNodeDefinition.
vector< HardwareAnimationData >::type HardwareAnimationDataList
Definition: OgreVertexIndexData.h:100
virtual VertexElementList findElementsBySource(unsigned short source) const
Based on the current elements, gets the size of the vertex for a given buffer source.
std::multimap< HardwareVertexBuffer *, HardwareVertexBufferSharedPtr, std::less< HardwareVertexBuffer * >, STLAllocator< std::pair< const HardwareVertexBuffer *, HardwareVertexBufferSharedPtr >, GeneralAllocPolicy > > type
Definition: OgrePrerequisites.h:671
void unload(DynLib *lib)
Unloads the passed library.
@ ID_API_DEFAULT
Definition: OgreScriptCompiler.h:942
const TextureSources & getTextureSources(void) const
Definition: OgreCompositorPassComputeDef.h:135
size_t getMaxOrBestNumInstancesPerBatch(const String &materialName, size_t suggestedSize, uint16 flags)
Calculates the maximum (or the best amount, depending on flags) of instances per batch given the sugg...
virtual PixelFormat getNativeFormat(TextureType ttype, PixelFormat format, int usage)=0
Gets the format which will be natively used for a requested format given the constraints of the curre...
static String FACTORY_NAME
Definition: OgreSimplePageContentCollection.h:114
GLES2HardwareBufferManagerBase as a Singleton.
Definition: OgreGLES2HardwareBufferManager.h:72
GL3Plus-specific implementation of a TextureManager.
Definition: OgreGL3PlusTextureManager.h:45
D3D11HLSLProgramFactory(D3D11Device &device)
GL3PlusRenderTexture(const String &name, const GL3PlusSurfaceDesc &target, bool writeGamma, uint fsaa)
void setLightVisibilityMask(uint32 visibilityMask)
Definition: OgreCompositorPassSceneDef.h:168
Shadow Nodes are special nodes (not to be confused with.
Definition: OgreCompositorShadowNode.h:91
bool error
Whether an error occurred.
Definition: OgreResourceBackgroundQueue.h:54
A simple structure designed just as a holder of property values between the instances of objects they...
Definition: OgreProperty.h:264
@ SHADER_DEFORMVERTS
Definition: OgreQuake3Types.h:92
virtual void setVSyncInterval(unsigned int interval)
Set the vertical sync interval.
Definition: OgreRenderWindow.h:172
static const IdString GlobalClipPlanes
Definition: OgreHlms.h:813
virtual int32 getCellRangeMaxY() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid2DPageStrategy.h:194
D3D11StereoDriverNVIDIA()
This class simplify initialization / finalization of the overlay system.
Definition: OgreOverlaySystem.h:62
Segment mSegment
Definition: OgreCapsule.h:63
virtual TagPoint * createChildTagPoint(const Vector3 &vPos=Vector3::ZERO, const Quaternion &qRot=Quaternion::IDENTITY)
virtual String getErrorDescription(long errorNumber) const
Returns a description of an error code.
const AutoConstantEntry * findDoubleAutoConstantEntry(size_t logicalIndex)
Finds an auto constant that's affecting a given logical parameter index for double-point values.
@ SPC_BINORMAL_OBJECT_SPACE
Binormal in object space.
Definition: OgreShaderParameter.h:258
virtual void destroyInstance(SceneManager *instance)=0
Destroy an instance of a SceneManager.
DataStreamPtr createFileStream(const String &filename, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, bool overwrite=false, const String &locationPattern=BLANKSTRING)
Helper method to assist you in creating writeable file streams.
virtual const Matrix4 & getProjectionMatrixWithRSDepth(void) const
Gets the depth-adjusted projection matrix for the current rendersystem, but one which still conforms ...
void setSceneNodeAsParentOfBone(Bone *bone, SceneNode *nodeParent)
Sets a regular SceneNode to be parent of this Bone for manually controlling a bone (e....
void setFromOgrePlane(Plane &ogrePlane)
Copy from an Ogre Plane.
void advancePack(size_t numAdvance)
Definition: OgreObjectData.h:160
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
virtual void updatePassIterationUniforms(GpuProgramParametersSharedPtr params)=0
Updates program object uniforms using data from pass iteration GpuProgramParameters.
static const Vector2 NEGATIVE_UNIT_X
Definition: OgreVector2.h:587
ConstVectorIterator< GPUVendorRuleList > GPUVendorRuleIterator
Definition: OgreTechnique.h:486
#define _OgreOctreeZonePluginExport
Definition: OgreOctreeZonePrerequisites.h:63
uint32 ArrayInt
Definition: OgreArrayConfig.h:164
bool execute(ObjectData objData, size_t numNodes, SceneQueryListener *listener)
void nameSubMesh(const String &name, ushort index)
Gives a name to a SubMesh.
virtual void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
vector< EdgeGroup >::type EdgeGroupList
Definition: OgreEdgeListBuilder.h:121
virtual void getRenderOperation(RenderOperation &op, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
GLSLShader * getVertexShader() const
Definition: OgreGLSLProgram.h:136
virtual void _setMaterialName(const String &matName, const String &resourceGroup)=0
Sets the material this renderer must use; called by ParticleSystem.
GpuProgram * _getBindingDelegate(void)
Since GLSL has no assembly, use this shader for binding.
Definition: OgreGLSLShader.h:213
TexBufferPacked * getGlobalLightListBuffer(Camera *camera) const
Cache the return value as internally we perform an O(N) search.
@ ID_CAMERA_CUBEMAP_REORIENT
Definition: OgreScriptCompiler.h:879
virtual void setFsaaResolveDirty(void)
Depth buffers never resolve; only colour buffers do.
Definition: OgreGLES2DepthTexture.h:112
Real getTime_0_1(Real x) const
virtual int32 getCellRangeMaxX() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid2DPageStrategy.h:192
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
static String Type
Definition: OgreShaderExHardwareSkinning.h:145
virtual void copyFromTemplate(OverlayElement *templateOverlay)
virtual void tangent(Real x, Real y, Real z)
Add a vertex tangent to the current vertex.
D3D9Texture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
constructor
virtual BufferPackedTypes getBufferPackedType(void) const
Useful to query which one is the derived class.
Definition: OgreIndirectBufferPacked.h:49
void setNamedConstant(const String &name, const Vector2 &vec)
Sets a Vector2 parameter to the program.
static String TargetLanguage
Definition: OgreShaderHLSLProgramProcessor.h:71
@ ID_ALPHA
Definition: OgreScriptCompiler.h:729
void setDefaultLayerTextureWorldSize(Real sz)
Set the default world size for a layer 'splat' texture to cover.
Definition: OgreTerrain.h:2064
virtual void writeSourceCode(std::ostream &os, const String &targetLanguage) const
ushort getBoneCount()
Returns the number of bones in the model assigned to the material.
bool operator!=(const HlmsPassPso &_r) const
Definition: OgreHlmsPso.h:127
virtual ~CompositorWorkspace()
void removeAllPasses(void)
Removes all Passes from this Technique.
virtual void removeAllListeners(void)
Removes all listeners from this instance.
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
const String & getName() const
Get the name of the plugin.
virtual void install()=0
Perform the plugin initial installation sequence.
void addContentFactory(PageContentFactory *f)
Add a new PageContentFactory implementation.
virtual OperationType getInputOperationType(void) const
Returns the operation type that this geometry program expects to receive as input.
Definition: OgreGLSLShader.h:110
size_t getHeight(void) const
Gets the height of the texture.
virtual void _notifyAttached(Node *parent)
Internal method called to notify the object that it has been attached to a node.
Holds a solid representation of a convex body.
Definition: OgreConvexBody.h:53
@ SHADER_DEPTHWRITE
Definition: OgreQuake3Types.h:88
BillboardOrigin getBillboardOrigin(void) const
Gets the point which acts as the origin point for all billboards in this set.
Definition: OgreBillboardParticleRenderer.h:149
virtual Real getMaxParticleVelocity(void) const
Returns the maximum particle velocity.
@ OT_PATCH_8_CONTROL_POINT
Definition: OgreHlmsPso.h:67
void addFactory(ProgramWriterFactory *factory)
Add a new factory object for high-level programs of a given language.
PagedWorld * getWorld(const String &name)
Get a named world.
vector< StrideChanger >::type StrideChangerVec
Definition: OgreGLES2VaoManager.h:81
@ SBO_MIN
Definition: OgreBlendMode.h:258
virtual Real getFogDensity(void) const
Returns the fog density for the scene.
VTriangles triangles
Definition: OgreLodData.h:104
ConstNodeVecIterator getChildIterator(void) const
Retrieves an iterator for efficiently looping through all children of this node.
Real mVplThreshold
If all three components of the diffuse colour of a VPL light is below this threshold,...
Definition: OgreInstantRadiosity.h:208
virtual void applyDeltaValue(Real)
Set value.
Definition: OgreAnimable.h:194
unordered_set< VertexArrayObject * >::type VertexArrayObjectSet
Definition: OgreVaoManager.h:42
static size_t getConstBufferSize(void)
const KfTransform * getBindPose(void) const
Definition: OgreSkeletonDef.h:146
HardwareBufferLockGuard(HardwareBuffer *p, size_t offset, size_t length, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:362
String getTopBorderUVString() const
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, TextureUnitState *texState, SGScriptTranslator *translator)
VertexBufferBinding * vertexBufferBinding
The vertex buffer bindings to be used.
Definition: OgreVertexIndexData.h:85
virtual ~HlmsTextureManager()
BySkeletonDef(const SkeletonDef *skeletonDef, size_t threadCount)
@ ID_DEST_COLOUR
Definition: OgreScriptCompiler.h:654
void loadResource(Resource *resource)
Implementation of ManualResourceLoader::loadResource, called when the Texture that this font creates ...
const char * what() const
Override std::exception::what.
Definition: OgreException.h:175
void postExtraThreadsStarted()
uint8 readMask
Definition: OgreCommon.h:172
Matrix3 Inverse(Real fTolerance=1e-06) const
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
Real getValue(const MovableObject *movableObject, const Camera *camera) const
Compute the LOD value for a given movable object relative to a given camera.
const Radian & getSpotlightOuterAngle(void) const
Returns the angle covered by the spotlights outer cone.
Definition: OgreLight.h:314
size_t index
Definition: OgreSkeletonDef.h:47
void setDebugPssmSplits(bool bDebug)
void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
Specialisation of SceneNode for the BspSceneManager.
Definition: OgreBspSceneNode.h:50
ushort allocateHardwareAnimationElements(ushort count, bool animateNormals)
Allocate elements to serve a holder of morph / pose target data for hardware morphing / pose blending...
virtual ~PSSMShadowCameraSetup()
const SubItem * getSubItem(size_t index) const
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
const Vector3 & getDerivedPosition(void) const
Gets the derived position of the camera, including any translation inherited from a node attachment a...
void _setVisibilityMask(uint32 mask, uint32 lightMask)
Sets a per-viewport visibility mask.
list< PCPlane * >::type PCPlaneList
Definition: OgrePCZFrustum.h:62
BoneAssignmentIterator getBoneAssignmentIterator(void)
Gets an iterator for access all bone assignments.
virtual void setCurrent()
See GL3PlusContext.
Codec return class for images.
Definition: OgreImageCodec.h:54
bool hasShadowNodeDefinition(IdString nodeDefName) const
Returns true if a shadow node definition with the given name exists.
RenderSystem * getRenderSystem(void) const
Definition: OgreCompositorNode.h:160
void doSet(void *target, const String &val)
void XRRFreeScreenConfigInfo(XRRScreenConfiguration *config)
void setTextureScroll(Real u, Real v)
Sets the translation offset of the texture, ie scrolls the texture.
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
void insert(iterator pos, size_type n, const T &x)
Definition: OgreCommon.h:606
Factory class for LinearForceAffector.
Definition: OgreLinearForceAffectorFactory.h:39
virtual unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
Definition: OgreGL3PlusSupport.h:140
virtual RenderTarget * getRenderTarget(const String &name)
Returns a pointer to the render target with the passed name, or NULL if that render target cannot be ...
GpuProgramPtr geometryShader
Definition: OgreHlmsPso.h:162
Command object for alpha adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:73
ParticleEmitter * createEmitter(ParticleSystem *psys)
See ParticleEmitterFactory.
Definition: OgreHollowEllipsoidEmitterFactory.h:55
@ CB_TEXTURE_DISABLE_FROM
Definition: OgreCbCommon.h:62
size_t getUavBufferMaxSize(void) const
Definition: OgreVaoManager.h:364
virtual void renderQueueStarted(RenderQueue *rq, uint8 queueGroupId, const String &invocation, bool &skipThisInvocation)
VectorIterator< SubMeshList > SubMeshIterator
Definition: OgreMesh.h:283
String doGet(const void *target) const
String getDescription() const
bool isLightmapEnabled() const
Whether to support a light map over the terrain in the shader, if it's present (default true).
Definition: OgreTerrainMaterialGeneratorA.h:102
RenderStateList::iterator RenderStateIterator
Definition: OgreShaderRenderState.h:130
void _addRenderSystemCapabilities(const String &name, RenderSystemCapabilities *caps)
Method used by RenderSystemCapabilitiesSerializer::parseScript.
virtual void removeAnimation(const String &name)
Removes an Animation from this skeleton.
void setVariable(const String &name, const String &value)
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware index buffer.
Definition: OgreHardwareBufferManager.h:450
const AutoConstantEntry * _findRawAutoConstantEntryDouble(size_t physicalIndex)
Finds an auto constant that's affecting a given physical position in the double-point buffer.
virtual bool isStaticBufferLockable() const
Definition: OgreD3D9RenderSystem.h:360
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
const HlmsBlendblock * getBlendblock(bool casterBlock=false) const
Definition: OgreHlmsDatablock.h:358
void _setSurfaceParams(const ColourValue &ambient, const ColourValue &diffuse, const ColourValue &specular, const ColourValue &emissive, Real shininess, TrackVertexColourType tracking)
See RenderSystem.
Definition: OgreGL3PlusRenderSystem.h:327
@ SPC_POSITION_PROJECTIVE_SPACE
Position in projective space.
Definition: OgreShaderParameter.h:90
void reposition(int left, int top)
Reposition the window.
const Matrix4 & _getFullLocalTransform(void) const
Gets the transform of this node just for the skeleton (not entity)
static FORCEINLINE unsigned int getBitShift(T mask)
Returns the number of bits a pattern must be shifted right by to remove right-hand zeros.
Definition: OgreBitwise.h:162
Quaternion getRotationTo(const Vector3 &dest, const Vector3 &fallbackAxis=Vector3::ZERO) const
Gets the shortest arc quaternion to rotate this vector to the destination vector.
Definition: OgreVector3.h:669
static const IdString BlendModeIdx15
Definition: OgreHlmsUnlitMobile.h:140
PixelFormat depthFormat
PF_NULL if no depth buffer is used.
Definition: OgreHlmsPso.h:110
Definition: OgreCompositorPassUavDef.h:80
void getTerrainVector(Real x, Real y, Real z, Vector3 *outVec) const
Translate a vector from world space to local terrain space based on the alignment options.
intptr_t _findfirst(const char *pattern, struct _finddata_t *data)
virtual void setCellRangeMinX(int32 minX)
Set the index range of all cells (values outside this will be ignored)
virtual bool requiresTextureFlipping(void) const
Definition: OgreD3D11DepthTexture.h:116
EGLConfig * getConfigs(EGLint *nElements)
D3D11RenderWindowSwapChainBased(D3D11Device &device)
A factory that enables creation of PerPixelLighting instances.
Definition: OgreShaderExPerPixelLighting.h:267
static int IAbs(int iValue)
Definition: OgreMath.h:251
vector< uint >::type UnsignedIntConstantList
Definition of container that holds the current uint constants.
Definition: OgreGpuProgramParams.h:602
const Matrix4 & getTextureWorldViewProjMatrix(size_t index) const
StrideChanger(size_t _offsetAfterPadding, size_t _paddedBytes)
Definition: OgreGLES2VaoManager.h:63
@ SPC_LIGHTDIRECTION_TANGENT_SPACE2
Definition: OgreShaderParameter.h:199
@ ID_SCALE_X
Definition: OgreScriptCompiler.h:788
PageContent * createContent(const String &typeName)
Create a new instance of PageContent using the registered factories.
void setPowerScale(Real power)
Set a scaling factor to indicate the relative power of a light.
GLUniformReferenceList::iterator GLUniformReferenceIterator
Definition: OgreGLSLProgram.h:72
ArrayQuaternion UnitInverse(void) const
bool getFogOverride(void) const
Returns true if this pass is to override the scene fog settings.
virtual bool isWriteable() const
Reports whether this stream is writeable.
Definition: OgreDataStream.h:208
@ VES_POSITION
Position, 3 reals per vertex.
Definition: OgreVertexElements.h:41
void setDirection(const Vector3 &d)
Set the "inward/outward norm" direction of AAB or SPHERE portals NOTE: UNIT_Z = "outward" norm,...
Definition: OgrePortalBase.h:82
@ ACT_LIGHT_POSITION
A light position in world space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1040
static ControllerManager * getSingletonPtr(void)
Override standard Singleton retrieval.
void setName(const Ogre::String &name)
Sets an user defined name that can serve to identify this section.
map< String, PCZoneFactory * >::type PCZoneFactoryMap
Definition: OgrePCZoneFactory.h:117
virtual LoadingState getLoadingState() const
Returns the current loading state.
Definition: OgreResource.h:368
@ SPC_POSTOLIGHT_TANGENT_SPACE2
Definition: OgreShaderParameter.h:159
void _setPointSpritesEnabled(bool enabled)
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:290
virtual bool _unprepareProceduralPage(Page *page, PagedWorldSection *section)
Give a manager the opportunity to unprepare page content procedurally.
@ TVC_NONE
Definition: OgreCommon.h:324
void getPosition(const Vector3 &TSpos, Vector3 *outWSpos) const
Convert a position from terrain basis space to world space.
void removeListener(Listener *listener)
Remove a listener from this Serializer.
@ ID_SHADOW_CASTER_VERTEX_PROGRAM_REF
Definition: OgreScriptCompiler.h:619
virtual void _fireLoadingComplete(bool wasBackgroundLoaded)
Firing of loading complete event.
Definition: OgreSharedPtr.h:71
uint32 mNumSpreadIterations
Definition: OgreInstantRadiosity.h:157
void setSkirtSize(Real skirtSz)
method - the default size of 'skirts' used to hide terrain cracks (default 10)
Definition: OgreTerrain.h:1949
D3D11HardwarePixelBuffer(D3D11Texture *parentTexture, D3D11Device &device, UINT mipLevel, size_t width, size_t height, size_t depth, UINT face, PixelFormat format, uint fsaa, const String &fsaaHint, HardwareBuffer::Usage usage)
Definition: OgreLog.h:104
@ LB_BlendSaturation
Definition: OgreShaderExLayeredBlending.h:76
virtual void _hlmsMacroblockCreated(HlmsMacroblock *newBlock)
int cluster
Definition: OgreQuake3Types.h:171
DualQuaternion()
Default constructor, initializes to identity rotation (aka 0°), and zero translation (0,...
Definition: OgreDualQuaternion.h:51
void doSet(void *target, const String &val)
virtual void prepareImpl(void)
vector< DualCell >::type VecDualCell
To hold dual cells.
Definition: OgreVolumeDualGridGenerator.h:61
SkeletonInstance * mOwner
Definition: OgreSkeletonAnimation.h:66
virtual void _setTextureUnitSettings(size_t texUnit, TextureUnitState &tl)
Utility function for setting all the properties of a texture unit at once.
const Vector3 & getLocalCentre() const
Get the local centre of this node, relative to parent terrain centre.
Definition: OgreTerrainQuadTreeNode.h:234
bool supportsArbBufferStorage(void) const
Definition: OgreGL3PlusVaoManager.h:256
void clearBoneAssignments(void)
Removes all bone assignments for this mesh.
Codec specialized in loading ETC (Ericsson Texture Compression) images.
Definition: OgreETCCodec.h:47
static FFPRenderStateBuilder * getSingletonPtr()
Override standard Singleton retrieval.
@ ID_MAX
Definition: OgreScriptCompiler.h:666
ManualObjectFactory()
Definition: OgreManualObject.h:537
@ CookTorrance
Implements Cook-Torrance BRDF.
Definition: OgreHlmsPbsDatablock.h:98
uint16 getResolutionAtLod(uint16 lodLevel) const
Gets the resolution of the entire terrain (down one edge) at a given LOD level.
@ PF_R32G32B32_SINT
96-bit pixel format, 32 bits red (signed int), 32 bits blue (signed int), 32 bits green (signed int).
Definition: OgrePixelFormat.h:204
@ TFO_ANISOTROPIC
Equal to: min=FO_ANISOTROPIC, max=FO_ANISOTROPIC, mip=FO_LINEAR.
Definition: OgreCommon.h:222
void * ErrorData
User-specific storage, passed to Error()
Definition: OgreGLSLPreprocessor.h:538
Listener allowing you to override certain behaviour of a track, for example to drive animation proced...
Definition: OgreAnimationTrack.h:133
virtual BackgroundProcessTicket prepareResourceGroup(const String &name, Listener *listener=0)
Prepares a resource group in the background.
Real getLeft(void) const
Gets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right)
void sync(void)
When calling this function, it will block until all N threads reach this point; where N is the thread...
@ ID_SHADOW_MAP_FULL_VIEWPORT
Definition: OgreScriptCompiler.h:863
const T & front() const
Definition: OgreFastArray.h:360
void setAsARGB(const ARGB val)
Sets colour as ARGB.
Definition: OgreScriptTranslator.h:134
Definition: OgreLodCollapseCostQuadric.h:43
const String & getName() const
Get the name of this parameter.
Definition: OgreShaderParameter.h:323
Definition: OgreMesh2SerializerImpl.h:202
static const uint8 G_MASK
Definition: OgreHlmsUnlitDatablock.h:71
void Define(const char *iMacroName, size_t iMacroNameLen, const char *iMacroValue, size_t iMacroValueLen)
Define a macro without parameters.
virtual Real getShadowFarDistance(void) const
Gets the default maximum distance away from the camera that shadows will be visible.
Definition: OgreSceneManager.h:2757
int getViewportHeight(void) const
Gets the height of the destination viewport in pixels.
ImageFlags
Definition: OgreImage.h:44
bool isVertexCompressionSupported() const
Compressed vertex format supported?
TerrainMaterialGenerator()
@ PROP_STRING
Definition: OgreProperty.h:114
void setSelfIllumination(const ColourValue &selfIllum)
Sets the amount of self-illumination an object has.
void SingularValueComposition(const Matrix3 &rkL, const Vector3 &rkS, const Matrix3 &rkR)
virtual ~ProgramProcessor()
Class destructor.
void reloadUnreferencedResources(bool reloadableOnly=true)
Caused all currently loaded but not referenced by any other object resources to be reloaded.
Definition: OgreResourceManager.h:260
void setComputeProgram(const String &name, bool resetParams=true)
Sets the details of the compute program to use.
ProfileInstance * parent
The name of the parent, null if root.
Definition: OgreProfiler.h:329
static GLSLESLinkProgramManager & getSingleton(void)
D3D9GpuVertexProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
void loadFromResourceSystem(const String &filename, const String &resourceGroup, const String &separators="\t:=", bool trimWhitespace=true)
load from a filename (using resource group locations)
uint8 writeMask
Definition: OgreCommon.h:173
void suppressHardwareUpdate(bool suppress)
Pass true to suppress hardware upload of shadow buffer changes.
Definition: OgreHardwareBuffer.h:344
TRect intersect(const TRect &rhs) const
Definition: OgreCommon.h:786
T operator++(void)
Definition: OgreAtomicObject.h:83
virtual void setBillboardOrigin(BillboardOrigin origin)
Sets the point which acts as the origin point for all billboards in this set.
@ SPC_POSTOLIGHT_VIEW_SPACE6
Definition: OgreShaderParameter.h:153
@ HLMS_MAX
Definition: OgreHlmsCommon.h:177
virtual Real _getRelativeWidth(void)
Gets the 'width' as derived from own width and metrics mode.
virtual Animation * createAnimation(const String &name, Real length)=0
Create a new animation with a given length owned by this container.
@ MIP_DEFAULT
Use TextureManager default.
Definition: OgreTexture.h:111
Octree(PCZone *zone, Octree *p)
virtual Grid2DMode getMode() const
Set the grid alignment mode.
Definition: OgreGrid2DPageStrategy.h:154
virtual void _render(const CbDrawCallIndexed *cmd)
Renders the VAO. Assumes _setVertexArrayObject has already been called.
vector< VertexBoneAssignment >::type VertexBoneAssignmentVec
Definition: OgreSubMesh2.h:66
virtual void _getBoneMatrices(Matrix4 *pMatrices)
Populates the passed in array with the bone matrices based on the current position.
@ ID_COMPUTE_PROGRAM_REF
Definition: OgreScriptCompiler.h:977
virtual GpuProgramPtr createProgram(const String &name, const String &groupName, const String &filename, GpuProgramType gptype, const String &syntaxCode)
Create a new, unloaded GpuProgram from a file of assembly.
@ FO_ANISOTROPIC
Similar to FO_LINEAR, but compensates for the angle of the texture plane.
Definition: OgreCommon.h:244
virtual void _initAnimationState(AnimationStateSet *animSet)
Initialise an animation set suitable for use with this skeleton.
virtual bool setOption(const String &, const void *)
Sets the given option for the SceneManager.
C++ encapsulation of GLSL program object.
Definition: OgreGLSLProgram.h:84
CompositorPassTranslator()
virtual void save(StreamSerialiser &stream)
Save page data to a serialiser.
void advanceBoundsPack()
Advances all pointers needed by MovableObject::updateAllBounds to the next pack, i....
Definition: OgreObjectData.h:179
bool isVisitingZone(PCZone *zone)
static const IdString Forward3D
Definition: OgreHlms.h:847
struct Ogre::Volume::ChunkParameters ChunkParameters
Parameters for loading the volume.
bool seam
Definition: OgreLodData.h:107
void readData(size_t offset, size_t length, void *pDest)
Reads data from the buffer and places it in the memory pointed to by pDest.
static const IdString FwdClusteredWidth
Definition: OgreHlms.h:839
void _firstUpload(void *data)
Only use this function for the first upload.
void connectExternal(uint32 externalIdx, IdString inNode, uint32 inChannel)
Connects the (probably "final") node by passing the RenderWindow in the given input channel.
static CommandBufferExecuteFunc execute_setTexture
Definition: OgreCommandBuffer.h:89
OldNodeAnimationTrack * _clone(Animation *newParent) const
Clone this track (internal use only)
virtual const String & getType() const
TextureManager * getTextureManager(void)
Retrieves a reference to the current TextureManager.
@ BBO_BOTTOM_CENTER
Definition: OgreBillboardSet.h:65
uint8 mAllowGlobalDefaults
When zero, HlmsManager cannot override the block's values with enforced global settings.
Definition: OgreHlmsDatablock.h:68
void _setTextureCoordCalculation(size_t unit, TexCoordCalcMethod m, const Frustum *frustum=0)
Sets a method for automatically calculating texture coordinates for a stage.
Definition: OgreCompositorPassQuadDef.h:49
static const int DepthShiftTransp
Definition: OgreRenderQueue.h:275
void doSet(void *target, const String &val)
bool cameraMatches(const Camera *camera)
Returns true if the Camera settings (position, orientation, aspect ratio, etc) match with the reflect...
MetalNullTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, MetalDevice *device)
constructor
void * getProcAddress(const char *procname) const
Get the address of a function.
static UINT _getTextureBindFlags(DXGI_FORMAT format, TextureUsage usage)
uint32 mVisibilityMask
Viewport's visibility mask while rendering our pass.
Definition: OgreCompositorPassSceneDef.h:76
virtual void writeChunkBegin(uint32 id, uint16 version=1)
Begin writing a new chunk.
AutoConstantEntry(AutoConstantType theType, size_t theIndex, size_t theData, uint16 theVariability, size_t theElemCount=4)
Definition: OgreGpuProgramParams.h:1434
FileNotFoundException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:199
void connectExternalBuffer(UavBufferPacked *buffer, size_t inChannelA)
Connects (injects) an external buffer into the given channel.
@ CMPF_LESS_EQUAL
Definition: OgreCommon.h:100
SharedPtr< Error > ErrorPtr
Definition: OgreScriptCompiler.h:201
@ OT_PATCH_12_CONTROL_POINT
Definition: OgreHlmsPso.h:71
static const uint16 TERRAIN_CHUNK_VERSION
Definition: OgreTerrain.h:278
void setOptimisedSource(const String &src)
Sets the optimised GLSL source.
Definition: OgreGLSLESShader.h:104
virtual ~InstanceBatchVTF()
const String BLANKSTRING
Constant blank string, useful for returning by ref where local does not exist.
Definition: OgreCommon.h:722
~PCZPlaneBoundedVolumeListSceneQuery()
~D3D11HardwareVertexBuffer()
void add(SkeletonDefPtr skeletonDef)
Adds an external pointer for us to track.
virtual void estimateIndexCount(size_t icount)
Estimate the number of indices ahead of time.
float uOffset
Definition: OgreHlmsUnlitMobileDatablock.h:77
VectorIterator< BoneList > BoneIterator
Definition: OgreSkeleton.h:178
The purpose of this class is to contain a set of both auto and manual parameters that may apply to mu...
Definition: OgreShaderParams.h:53
void parseDriverVersionFromString(const String &versionString)
Definition: OgreRenderSystemCapabilities.h:426
Texture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
FastArray< unsigned short > IndexMap
Definition: OgreRenderable.h:490
Vector3 zAxis(void) const
Returns the Z orthonormal axis defining the quaternion.
FastArray< Real > LodValueArray
Definition: OgreMesh.h:100
const HlmsMacroblock * getMacroblock(bool casterBlock=false) const
Definition: OgreHlmsDatablock.h:356
@ HLMS_TOON
Physically Based Shader Generator.
Definition: OgreHlmsCommon.h:169
T right
Definition: OgreCommon.h:735
void setRotation(const Radian &rotation)
Set the rotation of the billboard.
virtual void destroyInstance(PageContent *)=0
const OverlayElement * getSourceTemplate() const
Returns the SourceTemplate for this element.
Definition: OgreOverlayElement.h:448
void setIgnoreAlphaDiffuse(bool bIgnore)
When diffuse textures are used (globally), the alpha component of the diffuse texture will be used to...
CbDrawCall(uint16 cmdType, VertexArrayObject *_vao, void *_indirectBufferOffset)
bool getColumnMajorMatrices(void) const
Gets whether matrix packed in column-major order.
Definition: OgreGLSLShader.h:174
RenderToVertexBufferSharedPtr createRenderToVertexBuffer()
Create a render to vertex buffer.
static const String & getDirectionalLightExtruderArbvp1Finite(void)
Get FINITE extruder program source for directional lights, compatible with arbvp1.
Definition: OgreShadowVolumeExtrudeProgram.h:291
static void sort(v1::Mesh::MeshLodUsageList &meshLodUsageList)
Sort mesh LOD usage list from greatest to least detail.
virtual const String & getType() const
static SceneManagerEnumerator & getSingleton(void)
Override standard Singleton retrieval.
This class represents a collection of pages which make up a world.
Definition: OgrePagedWorld.h:56
MetalTextureManager(MetalDevice *device)
@ ACT_TEXTURE_VIEWPROJ_MATRIX
The view/projection matrix of the assigned texture projection frustum.
Definition: OgreGpuProgramParams.h:1144
@ PASS_CLEAR
Definition: OgreCompositorPassDef.h:53
LinearControllerFunction(const std::vector< Real > &keys, const std::vector< Real > &values, Real frequency=1, bool deltaInput=true)
Constructor, requires keys and values of the function to interpolate.
Vector3 getRealDirection(void) const
Gets the real world direction vector of the camera, including any rotation inherited from a node atta...
WorldFragmentType fragmentType
The type of this world fragment.
Definition: OgreSceneQuery.h:105
int row_size
Definition: OgreQuake3Types.h:218
const ShaderParameterList & getOutputParameters() const
Return a list of output parameters.
Definition: OgreShaderFunction.h:137
virtual void instanceBatchCullFrustumThreaded(const Frustum *frustum, const Camera *lodCamera, uint32 combinedVisibilityFlags)
@See InstancingTheadedCullingMethod,
Definition: OgreMovableObject.h:274
ValueType get(void) const
Definition: OgreAny.h:213
static Real Sin(const Radian &fValue, bool useTables=false)
Sine function.
Definition: OgreMath.h:399
void computeNormal()
Vertex ID in the buffer associated with the submeshID.
int elementStart
Index into a buffer containing vertex indices.
Definition: OgreStaticFaceGroup.h:94
ConfigOptionMap & getConfigOptions()
Returns the details of this API's configuration options.
char const * data
Definition: OgreSubMesh2.h:288
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:163
Records the assignment of a single vertex to a single bone with the corresponding weight.
Definition: OgreVertexBoneAssignment.h:64
virtual ~Image()
Standard destructor.
static const IdString NormalWeightDetail0
Definition: OgreHlmsPbs.h:352
Generic class for serialising data to / from binary stream-based files.
Definition: OgreSerializer.h:54
Class which will create instances of a given SceneManager.
Definition: OgreSceneManager.h:3340
virtual void setMinParticleVelocity(Real min)
Returns the minimum particle velocity.
NaClGLContext(const NaClWindow *window, const NaClGLSupport *glsupport, pp::Instance *instance, pp::CompletionCallback *swapCallback)
virtual_l1 void normal(const Vector3 &norm)
Add a vertex normal to the current vertex.
unsigned int getResolveStageFlags() const
Get the current resolve stage flags.
Definition: OgreShaderFFPColour.h:102
virtual bool preRender(SceneManager *sm, RenderSystem *rsys)
Called just prior to the Renderable being rendered.
static String Type
Definition: OgreShaderExIntegratedPSSM3.h:100
Command object for enabling backwards compatibility.
Definition: OgreD3D9HLSLProgram.h:100
void destroyAllResourcePools()
destroy all pools
@ RSC_VERTEX_BUFFER_INSTANCE_DATA
Supports using vertex buffers for instance data.
Definition: OgreRenderSystemCapabilities.h:174
~ParticleSystemFactory()
Definition: OgreParticleSystemManager.h:399
virtual ~ParticleAffectorFactory()
Definition: OgreCbTexture.h:47
static uint32 getScalarMask(ArrayMaskR mask)
Converts a SIMD mask into a mask that fits in 32-bit number.
String mResourceGroup
Definition: OgreScriptCompiler.h:541
unsigned int getNumInputs(void) const
bool operator>(const ComPtr< T > &a, const ComPtr< T > &b) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:249
virtual void optimise(void)
Optimise the current track by removing any duplicate keyframes.
@ ID_UAV
Definition: OgreScriptCompiler.h:928
MapIterator< ChildOldNodeMap > ChildOldNodeIterator
Definition: OgreOldNode.h:79
virtual StagingBuffer * createStagingBuffer(size_t sizeBytes, bool forUpload)
Creates a new staging buffer and adds it to the pool.
#define _OgreParticleFXExport
Definition: OgreParticleFXPrerequisites.h:49
vector< double >::type DoubleConstantList
Definition of container that holds the current double constants.
Definition: OgreGpuProgramParams.h:592
VertexHash(LodData *gen)
Definition: OgreLodData.h:72
DynLib * load(const String &filename)
Loads the passed library.
void _setTessellationDomainTexture(size_t unit, const TexturePtr &tex)
static CommandBufferExecuteFunc execute_setIndirectBuffer
Definition: OgreCommandBuffer.h:67
static const Matrix4 IDENTITY
Definition: OgreMatrix4.h:561
@ M_EDGE_GROUP
Definition: OgreMeshFileFormat.h:134
virtual void loadResource(Resource *resource)=0
Called when a resource wishes to prepare.
LwString & a(const M &a0, const N &a1)
Definition: OgreLwString.h:354
bool hasAutoConstants(void) const
Returns true if this instance has any automatic constants.
Definition: OgreGpuProgramParams.h:1992
virtual void endGPUSampleProfile(const String &name)
void setLodLevels(const LodValueArray &lodValues)
Sets the distance at which level-of-detail (LOD) levels come into effect.
void _setRawAutoConstantReal(size_t physicalIndex, AutoConstantType acType, Real rData, uint16 variability, size_t elementSize=4)
As setAutoConstantReal, but sets up the auto constant directly against a physical buffer index.
KeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
friend ValueType * any_cast(Any *)
Definition: OgreAny.h:382
virtual void _notifyCompositorNodeSwitchedRenderTarget(RenderTarget *previousTarget)
This function was created because of Metal.
Definition: OgreRenderSystem.h:1299
void setExcludeNode(SceneNode *excludeNode)
set node to exclude from query
Definition: OgrePCZSceneQuery.h:105
@ SPC_LIGHTDIRECTION_WORLD_SPACE7
Definition: OgreShaderParameter.h:184
@ LB_BlendColorBurn
Definition: OgreShaderExLayeredBlending.h:66
ImageDownsampler2D downscale2x_sRGB_X8
Definition: OgreImageDownsampler.h:183
void dumpMemoryUsage(Log *log=NULL) const
Dumps to the Ogre log passed as parameter (if NULL, uses the default one) in csv format (separator is...
void setEnableDebugMarkers(bool bEnable)
bool getColumnMajorMatrices(void) const
Gets whether matrix packed in column-major order.
Definition: OgreD3D9HLSLProgram.h:190
virtual void _threadMain()=0
Main function for each thread spawned.
virtual void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)
Clears one or more frame buffers on the active render target.
void bindGpuProgramPassIterationParameters(GpuProgramType gptype)
Only binds Gpu program parameters used for passes that have more than one iteration rendering.
void addListener(CompositorWorkspaceListener *listener)
Definition: OgreAtomicScalar.h:404
virtual void _beginFrame(void)
Definition: OgreVaoManager.h:353
void setReceiveDynamicShadowsPSSM(PSSMShadowCameraSetup *pssmSettings)
Whether to use PSSM support dynamic texture shadows, and if so the settings to use (default 0).
LoadingState
Enum identifying the loading state of the resource.
Definition: OgreResource.h:116
void _setMipmapsUpdated(void)
Definition: OgreRenderTarget.h:355
Definition: OgreNULLTexture.h:42
SphereSceneQuery(SceneManager *mgr)
virtual ~GLES2DepthPixelBuffer()
virtual OverlayElement * findElementAt(Real x, Real y)
Returns true if xy is within the constraints of the component.
Definition: OgreCompositorPass.h:68
virtual void _releaseManualHardwareResources()
Notifies the scene manager that hardware resources were lost.
const String & getName() const
Get the name of the plugin.
Degree & operator/=(Real f)
Definition: OgreMath.h:129
virtual_l1 void textureCoord(Real u, Real v, Real w)
Add a texture coordinate to the current vertex.
MeshBuilder(void)
Constructor.
Vector2 perpendicular(void) const
Generates a vector perpendicular to this vector (eg an 'up' vector).
Definition: OgreVector2.h:486
void removeMovableObjectFactory(MovableObjectFactory *fact)
Removes a previously registered MovableObjectFactory.
virtual void removeAllPages()
Remove all pages immediately.
@ AUTO_LEVEL
Definition: OgrePatchSurface.h:68
vector< CompositorNamedBuffer >::type CompositorNamedBufferVec
Definition: OgreCompositorNamedBuffer.h:69
Command object for particle emitter - see ParamCommand.
Definition: OgreRotationAffector.h:65
Struct holding geometry optimised per SubMesh / LOD level, ready for copying to instances.
Definition: OgreStaticGeometry.h:139
@ ID_SUBTRACT
Definition: OgreScriptCompiler.h:761
static const ArrayReal OneMinusEpsilon
Definition: OgreMathlibC.h:54
An hlms datablock contains individual information about a specific material.
Definition: OgreHlmsDatablock.h:251
VertexCacheProfiler(unsigned int cachesize=16)
Definition: OgreVertexIndexData.h:333
virtual void initCollapseCosts(LodData *data)
This is called after the LodInputProvider has initialized LodData.
Abstract interface representing a 'licensee' of a hardware buffer copy.
Definition: OgreHardwareBufferManager.h:63
Definition: OgreConstBufferPool.h:57
void * indirectBufferOffset
Definition: OgreCbDrawCall.h:65
const String & getName() const
Definition: OgrePageStrategy.h:87
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
virtual void copyFrom(const SubRenderState &rhs)
void setTexcoordRect(const FloatRect &texcoordRect)
setTexcoordRect() sets the individual texture coordinate rect of this billboard will use when renderi...
MapIterator< RegionMap > RegionIterator
Iterator for iterating over contained regions.
Definition: OgreStaticGeometry.h:711
virtual void preConversion(ScriptCompiler *compiler, ConcreteNodeListPtr nodes)
Allows for responding to and overriding behavior before a CST is translated into an AST.
static void bulkCompressedSubregion(const PixelBox &src, const PixelBox &dst, const Box &dstRegion)
Emplaces the binary compressed data from src into a subregion of dst.
virtual bool checkExtension(const String &ext) const
Check if an extension is available.
Interface of the NVIDIA stereo driver.
Definition: OgreD3D11StereoDriverNVIDIA.h:43
DualGridGenerator(void)
Constructor.
bool isClosed(void) const
Indicates whether the window has been closed by the user.
virtual Real getLoadingOrder(void) const
Gets the relative loading order of resources of this type.
Definition: OgreResourceManager.h:485
void _copySharedParamsToTargetParams()
Update the target parameters by copying the data from the shared parameters.
@ RSC_POINT_EXTENDED_PARAMETERS
Supports extra point parameters (minsize, maxsize, attenuation)
Definition: OgreRenderSystemCapabilities.h:125
static Listener * getSharedListener(void)
Retrieve a pointer to the current shared render system listener.
@ SPC_TANGENT_TANGENT_SPACE
Tangent in tangent space.
Definition: OgreShaderParameter.h:255
~Lod0Stripifier()
Definition: OgreLod0Stripifier.h:103
ColourValue colourArg2
Manual colour value for manual source2.
Definition: OgreBlendMode.h:154
virtual void read(Matrix3 *m, size_t count=1)
void resize(unsigned int width, unsigned int height)
Overridden - see RenderWindow.
Real z
Definition: OgreQuaternion.h:320
static void setPixelBoxMapping(PixelBox &box, const D3D11_MAPPED_SUBRESOURCE &mapping)
utility method, applies dataPtr/rowPitch/slicePitch from D3D11_MAPPED_SUBRESOURCE to Ogre PixelBox
uint8 bInheritScale
Definition: OgreSkeletonDef.h:54
size_t getAllMemory() const
Gets all memory reserved for this manager.
virtual bool exists(const String &filename)=0
Find out if the named file exists (note: fully qualified filename required)
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:128
RenderSysAllocatedObject GpuParamsAlloc
Definition: OgreMemoryAllocatorConfig.h:317
static const IdString Tangent
Definition: OgreHlms.h:780
@ LOADSTATE_LOADING
Loading is in progress.
Definition: OgreResource.h:120
Real getSquaredDistanceTo(const Vector3 &pos) const
virtual void removeAllChildren(void)
Removes all child OldNodes attached to this OldNode.
virtual void _addNode(PCZSceneNode *)
Adds an SceneNode to this OctreeZone.
Factory object for creating ManualObject instances.
Definition: OgreManualObject2.h:357
void setConfigOption(const String &name, const String &value)
Sets an option for this API.
RenderTexture(v1::HardwarePixelBuffer *buffer, uint32 zoffset)
void destroyAllChildren()
Vector3 getFresnel(void) const
Returns the current fresnel.
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
Item * getParent(void) const
Accessor to get parent Item.
Definition: OgreSubItem.h:93
void resize(const AxisAlignedBox &box)
Resizes the octree to the given size.
virtual void initializeSession()=0
Create the internal resources.
static bool pointInTri3D(const Vector3 &p, const Vector3 &a, const Vector3 &b, const Vector3 &c, const Vector3 &normal)
Checks whether a given 3D point is inside a triangle.
static const IdString DetailMap1
Definition: OgreHlmsPbs.h:335
void removeAllTextureAliases(void)
removes all texture aliases from the sub mesh
String doGet(const void *target) const
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
uint32 combinedVisibilityFlags
Definition: OgreSceneManager.h:230
static const IdString PcfIterations
Definition: OgreHlmsPbs.h:392
@ PT_SHORT
Definition: OgreStringInterface.h:53
CubemapProbe * createProbe(void)
Adds a cubemap probe.
const CameraList & getCameraList() const
Returns a list of cameras being tracked.
GLfloat mAnisotropy
Definition: OgreGLES2HlmsSamplerblock.h:57
virtual void bindToFramebuffer(GLenum attachment, uint32 zoffset)
virtual ~ZoneData()
Standard destructor.
ParticleType mParticleType
Determines the type of particle.
Definition: OgreParticle.h:100
void setInformHlmsOfTextureData(bool bInformHlms)
The Hlms has the ability to pass data to the shader source code via its syntax system to add hardcode...
Definition: OgreD3D11VaoManager.h:38
const ColourValue & getCompositeMapDiffuse() const
Get the composite map iffuse light to use.
Definition: OgreTerrain.h:1959
bool createRenderWindows(const RenderWindowDescriptionList &renderWindowDescriptions, RenderWindowList &createdWindows)
Creates multiple rendering windows.
ConstMapIterator(const T &c)
Constructor.
Definition: OgreIteratorWrapper.h:368
virtual void update(SceneManager *sceneMgr)
Update the contents of this vertex buffer by rendering.
ArrayReal absDotProduct(const ArrayVector3 &vec) const
Calculates the absolute dot (scalar) product of this vector with another.
void notifyCamera(Camera *cam, PagedWorldSection *section)
Called when a camera is used for any kind of rendering.
virtual void readData(void *buf, size_t size, size_t count)
Read arbitrary data from a stream.
@ SPC_LIGHTPOSITIONVIEW_SPACE7
Definition: OgreShaderParameter.h:234
static bool solveNxNLinearSysDestr(int n, PreciseReal **coeff, PreciseReal *col)
Solves a full rank NxN linear system of equations.
size_t prevOnlyIndexCount
Definition: OgreLodData.h:139
virtual void blitFromMemory(const PixelBox &src_orig, const Box &dstBox)
Hardware implementation of blitFromMemory.
bool requiresTextureFlipping() const
Definition: OgreGL3PlusFBOMultiRenderTarget.h:48
virtual void _startLegacyV1Rendering(void)
May override the current VertexArrayObject!
Definition: OgreRenderSystem.h:1097
static unsigned long FACTORY_TYPE_FLAG
Definition: OgrePortal.h:88
virtual Microcode createMicrocode(const uint32 size) const
Creates a microcode to be later added to the cache.
const String & getName() const
Definition: OgreSimplePageContentCollection.h:119
VertexElement2Vec vertexElements
Definition: OgreD3D11VaoManager.h:99
CompositorPassStencilDef(CompositorTargetDef *parentTargetDef)
LodCollapseCostPtr cost
Definition: OgreLodWorkQueueRequest.h:48
void setupBoundingBox(const AxisAlignedBox &aabb)
Builds the wireframe line list.
Factory class for particle emitter of type "Cylinder".
Definition: OgreCylinderEmitterFactory.h:44
@ ID_ANTICLOCKWISE
Definition: OgreScriptCompiler.h:688
void render(RenderSystem *rs, uint8 firstRq, uint8 lastRq, bool casterPass, bool dualParaboloid)
void reset()
Reset the internal counter.
Definition: OgreNameGenerator.h:78
String doGet(const void *target) const
virtual void _addAutotrackingSceneNode(SceneNode *source, SceneNode *target, const Vector3 &offset, const Vector3 &localDirection)
Internal method for notifying the manager that a SceneNode is autotracking.
bool IsWorkingUnderNsight()
static ushort getIndex(Real value, const Material::LodValueArray &materialLodValueArray)
Get the index of the LOD usage which applies to a given value.
const Vector3 getCenterFrontRight(void) const
Gets the center of the corners 2, 6.
Definition: OgreVolumeOctreeNode.h:445
@ ID_SPHERICAL
Definition: OgreScriptCompiler.h:776
virtual void execute(SceneQueryListener *listener)
See SceneQuery.
GeometryAllocatedObject BufferPackedAlloc
Definition: OgreMemoryAllocatorConfig.h:301
static const Real POS_INFINITY
Definition: OgreMath.h:737
Hlms * getHlms(IdString name)
Returns a registered HLMS based on name. May be null.
void * getProcAddress(const char *procname) const
GL3PlusSupport::getProcAddress
GLint getGLBufferBinding(void) const
Definition: OgreGL3PlusHardwareCounterBuffer.h:67
Definition of a chunk of data in a file.
Definition: OgreStreamSerialiser.h:93
unsigned char getAlphaRejectValue(void) const
Gets the alpha reject value.
Definition: OgrePass.h:706
virtual uint16 getPoolId() const
Gets the pool id in which this DepthBuffer lives.
void readData(size_t offset, size_t length, void *pDest)
Reads data from the buffer and places it in the memory pointed to by pDest.
virtual ~MetalDepthTexture()
@ CE_VARIABLEEXPECTED
Definition: OgreScriptCompiler.h:209
const String & getTessellationHullProgramName(void) const
Gets the name of the Tessellation Hull program used by this pass.
size_t calculateSize(void) const
Calculate the size of a resource; this will only be called after 'load'.
@ Owner
Definition: OgreArrayMemoryManager.h:292
@ ID_RT_SHADER_SYSTEM
Definition: OgreScriptCompiler.h:968
static const IdString AlphaTestShadowCasterOnly
Definition: OgreHlms.h:853
EGLDisplay getGLDisplay(void)
void setToAabb(const Aabb &aabb)
Sets it fixed to display the given aabb.
virtual Ogre::Any getValue() const =0
Return the current value as an Any.
SkeletalAnimationMode _supportsSkeletalAnimation() const
Returns true if this technique supports skeletal animation.
Definition: OgreInstanceBatch.h:202
virtual void setPosition(Real x, Real y, Real z)
Sets the position of the OldNode relative to it's parent.
const CompositorNamedBufferVec & getGlobalBuffers(void) const
Definition: OgreCompositorWorkspace.h:164
void setLinked(GLint flag)
Set the shader link status.
Definition: OgreGLSLESShader.h:138
virtual void _hlmsBlendblockCreated(HlmsBlendblock *newBlock)
Definition: OgreRenderSystem.h:803
@ FRUSTUM_PLANE_NEAR
Definition: OgreFrustum.h:72
bool isError() const
Definition: OgreD3D11Device.h:86
virtual bool hasAnimation(const String &name) const
Returns whether this skeleton contains the named animation.
void setShaderCachePath(const String &cachePath)
Set the output shader cache path.
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
GL3PlusTexBufferPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, GL3PlusBufferInterface *bufferInterface, Ogre::PixelFormat pf)
D3D9VideoModeList * getVideoModeList()
Matrix3 _getDerivedOrientationMatrix(void) const
void setTextureUvSource(uint8 texUnit, uint8 uvSet)
Sets the set of UVs that will be used to sample from the texture unit.
size_t tell(void) const
Repositions the read point to a specified byte.
static const IdString UvDiffuseSwizzle1
Definition: OgreUnlitProperty.h:93
virtual Real getValue(const Vector3 &position) const
Overridden from VolumeSource.
Stream which compresses / uncompresses data using the 'deflate' compression algorithm.
Definition: OgreDeflate.h:58
void processWorkQueue(void)
Calls the process-update of the WorkQueue so it doesn't block.
virtual void removeListener(Listener *s)
Remove a listener.
StringVectorPtr find(const String &pattern, bool recursive=true, bool dirs=false)
Find all file or directory names matching a given pattern in this archive.
const Vector3 getCenterBack(void) const
Gets the center of the corners 0, 1, 4, 5.
Definition: OgreVolumeOctreeNode.h:292
Real getSpotlightTanHalfAngle(void) const
Definition: OgreLight.h:316
@ PBSM_ROUGHNESS
Definition: OgreHlmsPbsPrerequisites.h:61
map< String, String >::type BinaryOptionList
Definition: OgreCommon.h:725
Factory class for SimplePageContentCollection.
Definition: OgreSimplePageContentCollection.h:112
String frames[32]
Definition: OgreQuake3Shader.h:97
bool isClosed(void) const
Indicates whether the window has been closed by the user.
void clip(const AxisAlignedBox &aab)
Clips the body with an AAB.
ComPtr & operator=(const ComPtr &other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:163
Definition: OgreCbDrawCall.h:50
size_t mParentIndex
Index in the vector holding this MO reference (could be our parent node, or a global array tracking a...
Definition: OgreMovableObject.h:145
ShaderParams * _getShaderParams(IdString key)
Gets a shader parameter with the given key.
void setAutoConstant(size_t index, AutoConstantType acType, size_t extraInfo=0)
Sets up a constant which will automatically be updated by the system.
virtual ~CGProgramProcessor()
Class destructor.
@ PF_R32G32B32_UINT
96-bit pixel format, 32 bits red (unsigned int), 32 bits blue (unsigned int), 32 bits green (unsigned...
Definition: OgrePixelFormat.h:180
RenderStateCreateOrRetrieveResult createOrRetrieveRenderState(const String &schemeName)
Returns a requested render state.
void close(void)
Close the stream; this makes further operations invalid.
DataStream(const String &name, uint16 accessMode=READ)
Constructor for creating named streams.
Definition: OgreDataStream.h:199
_OgreExport Handler GetHandler()
@ Left
Definition: OgreTextAreaOverlayElement.h:50
virtual size_t write(const void *buf, size_t count)
Write the requisite number of bytes from the stream (only applicable to streams that are not read-onl...
Definition: OgreDataStream.h:225
int y
Definition: OgreX11EGLSupport.h:89
void setIndexDataStartIndex(size_t start_index)
Tells this SubEntity to draw a subset of the SubMesh by adjusting the index buffer extents.
@ ID_BIND_UAV
Definition: OgreScriptCompiler.h:852
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
CbIndirectBuffer(IndirectBufferPacked *_indirectBuffer)
@ SPC_DEPTH_WORLD_SPACE
Depth in world space.
Definition: OgreShaderParameter.h:279
@ PF_ETC1_RGB8
ETC1 (Ericsson Texture Compression)
Definition: OgrePixelFormat.h:246
@ ACT_DERIVED_LIGHT_DIFFUSE_COLOUR
The derived light diffuse colour (index determined by setAutoConstant call), with 'r',...
Definition: OgreGpuProgramParams.h:1117
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
virtual size_t read(void *buf, size_t count)=0
Read the requisite number of bytes from the stream, stopping at the end of the file.
virtual const Vector3 & getPosition(void) const
Gets the position of the OldNode relative to it's parent.
size_t indexCount
Index size: 2 or 4 byte/index is supported only.
Definition: OgreLodBuffer.h:41
Command object for red adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:81
virtual void abortRequestsByChannel(uint16 channel)=0
Abort all previously issued requests in a given channel.
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
bool getTransposeMatrices(void) const
Gets whether or not matrices are to be transposed when set.
Definition: OgreGpuProgramParams.h:2366
static BspResourceManager & getSingleton(void)
Override standard Singleton retrieval.
static const IdString BlendModeIndex10
Definition: OgreUnlitProperty.h:119
virtual void removeTexture(IdString name)
WARNING: Be very careful with this function.
InstanceBatchCullRequest()
Definition: OgreSceneManager.h:231
bool canHandleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
Implementation for WorkQueue::RequestHandler.
CompareFunction getAlphaTest(void) const
virtual v1::Entity * createEntity(const String &meshName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME, SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Create an Entity (instance of a discrete mesh).
static const Real NEG_INFINITY
Definition: OgreMath.h:738
virtual RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)=0
Creates a new rendering window.
void swap(HashedVector< T > &rhs)
Definition: OgreCommon.h:582
int subtype
Definition: OgreTextureUnitState.h:136
@ SKELETON_ANIMATION_BASEINFO
Definition: OgreSkeletonFileFormat.h:85
void addVisibilityFlags(uint32 flags)
As setVisibilityFlags, except the flags passed as parameters are appended to the existing flags on th...
const float * getFloatPointer(size_t pos) const
Get a pointer to the 'nth' item in the float buffer.
Definition: OgreGpuProgramParams.h:1897
const Vector3 getCenterFrontLeft(void) const
Gets the center of the corners 3, 7.
Definition: OgreVolumeOctreeNode.h:427
virtual Real getMaxRepeatDelay(void) const
Gets the maximum duration of this emitter in seconds (see setRepeatDelay for more details)
const HlmsSamplerblock * getSamplerblock(HlmsSamplerblock baseParams)
@See getMacroblock.
bool OrderPropertyByIdString(const HlmsProperty &_left, const HlmsProperty &_right)
Definition: OgreHlmsCommon.h:149
virtual bool isCaseSensitive(void) const =0
Returns whether this archive is case sensitive in the way it matches files.
size_t hwAnimDataItemsUsed
Number of hardware animation data items used.
Definition: OgreVertexIndexData.h:104
Command object for setting the bottom colour.
Definition: OgreTextAreaOverlayElement.h:187
const IndexData * getIndexData(void) const
Get the index data for this geometry.
Definition: OgreStaticGeometry.h:236
@ Write
Definition: OgreResourceTransition.h:114
size_t getVertexCount(void) const
Vertex count.
This is a simplistic C/C++-like preprocessor.
Definition: OgreGLSLPreprocessor.h:62
bool isNvPerfHUDEnable() const
Returns true if this window should use NV Perf HUD adapter.
ParameterPtr modControlParam
Definition: OgreShaderExLayeredBlending.h:104
To store the generated dual cells in a vector.
Definition: OgreVolumeDualGridGenerator.h:43
@ ID_SCROLL_ANIM
Definition: OgreScriptCompiler.h:781
virtual void _setSkyPlane(bool enable, const Plane &plane, const String &materialName, uint8 renderQueue, Real scale=1000, Real tiling=10, Real bow=0, int xsegments=1, int ysegments=1, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Enables / disables a 'sky plane' i.e.
@ PF_R8G8_SINT
16-bit pixel format, 8 bits red (signed int), 8 bits blue (signed int).
Definition: OgrePixelFormat.h:186
void removeSceneNode(SceneNode *)
Removes the given PCZSceneNode.
unsigned short getNumEmitters(void) const
Returns the number of emitters for this particle system.
void update(void)
Tells this controller to map it's input controller value to it's output controller value,...
Definition: OgreController.h:220
@ SPC_DEPTH_OBJECT_SPACE
Depth in object space.
Definition: OgreShaderParameter.h:276
@ ID_POINT_SIZE_MIN
Definition: OgreScriptCompiler.h:718
@ ID_TEXTURE_UNIT
Definition: OgreScriptCompiler.h:615
SharedPtr< LodData > LodDataPtr
Definition: OgreLodPrerequisites.h:66
bool isBorderLeft(const OctreeNode &root) const
Gets whether this cell is at the left of the given root cell.
Definition: OgreVolumeOctreeNode.h:228
ProfileGroupMask
List of reserved profiling masks.
Definition: OgreProfiler.h:203
A surface which is defined by curves of some kind to form a patch, e.g.
Definition: OgrePatchSurface.h:54
SharedPtr< AbstractNodeList > AbstractNodeListPtr
Definition: OgreScriptCompiler.h:89
virtual Real _getRelativeHeight(void)
Gets the 'height' as derived from own height and metrics mode.
void setBindingPose(void)
Sets the current position / orientation to be the 'binding pose' ie the layout in which bones were or...
OctreePlaneBoundedVolumeListSceneQuery(SceneManager *creator)
void closeGapsInSource(void)
Remove any gaps in the source buffer list used by this declaration.
virtual OldBone * createBone(unsigned short handle)
Creates a brand new OldBone owned by this Skeleton.
void resize(unsigned int width, unsigned int height)
Alter the size of the window.
void doSet(void *target, const String &val)
static const uint32 CHUNK_ID
Definition: OgreGrid2DPageStrategy.h:144
StringVectorPtr list(bool recursive=true, bool dirs=false)
List all file names in the archive.
LodWorkQueueInjectorListener()
Definition: OgreLodWorkQueueInjectorListener.h:40
Represents a section of the PagedWorld which uses a given PageStrategy, and which is made up of a gen...
Definition: OgrePagedWorldSection.h:70
void preExtraThreadsStarted()
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
void addRenderableV1(uint8 renderQueueId, bool casterPass, Renderable *pRend, const MovableObject *pMovableObject)
Add a renderable (Ogre v1.x) object to the queue.
static bool hasAlpha(PixelFormat format)
Shortcut method to determine if the format has an alpha component.
void reposition(int left, int top)
Overridden - see RenderWindow.
virtual void setListener(Listener *listener)
Sets a listener for this Node.
Definition: OgreNode.h:691
virtual String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const =0
Maps a magic number header to a file extension, if this codec recognises it.
static const String & getPointLightExtruderVs_1_1FiniteDebug(void)
Get extruder program source for debug point lights, compatible with vs_1_1.
Definition: OgreShadowVolumeExtrudeProgram.h:304
@ ACT_LIGHT_SPECULAR_COLOUR_ARRAY
Array of light specular colours (count set by extra param)
Definition: OgreGpuProgramParams.h:1065
VertexData * _getSkelAnimVertexData(void)
Advanced method to get the temporarily blended vertex information for entities which are software ski...
UniformParameterList::const_iterator UniformParameterConstIterator
Definition: OgreShaderParameter.h:568
void destroyAllProbes(void)
ArrayReal squaredLength() const
Returns the square of the length(magnitude) of the vector.
void prepareEntityForSkinning(const Entity *pEntity, SkinningType skinningType=ST_LINEAR, bool correctAntidpodalityHandling=false, bool shearScale=false)
Prepares an entity's material for use in the hardware skinning (HS).
virtual ParticleSystem * createParticleSystem(const String &templateName)
Creates a particle system based on a template.
CollapseCostHeap mCollapseCostHeap
Makes possible to get the vertices with the smallest collapse cost.
Definition: OgreLodData.h:156
String::const_iterator end() const
Definition: OgreHlmsCommon.h:128
const String & getLanguage(void) const
Overridden from GLSLESProgram.
virtual void * getProcAddress(const char *procname) const =0
Get the address of a function.
HardwareBuffer * pBuf
Definition: OgreHardwareBuffer.h:407
bool isLoading() const
Returns whether the resource is currently in the process of background loading.
MeshVersion
Mesh compatibility versions.
Definition: OgreMeshSerializer.h:43
static PixelComponentType getComponentType(PixelFormat fmt)
Returns the component type for a certain pixel format.
void reallocateBuffer(size_t index)
void unbindGpuProgram(GpuProgramType gptype)
See RenderSystem.
void setPortalsUpdated(bool updated)
Definition: OgrePCZone.h:243
bool getIncludesNormals() const
Return whether the pose vertices include normals.
Definition: OgrePose.h:82
This class declares the usage of a single vertex buffer as a component of a complete VertexDeclaratio...
Definition: OgreHardwareVertexBuffer.h:113
StagingBuffer(size_t internalBufferStart, size_t sizeBytes, VaoManager *vaoManager, bool uploadOnly)
void setVertexDeclaration(VertexDeclaration *decl, bool useGlobalInstancingVertexBufferIsAvailable)
static CmdForceApp msForceAppCmd
Definition: OgreLinearForceAffector.h:104
void connect(IdString outNode, uint32 outChannel, IdString inNode, uint32 inChannel)
Connects outNode's output channel to inNode's input channel.
int type
Definition: OgreQuake3Types.h:188
@ PBSM_DETAIL_WEIGHT
Definition: OgreHlmsPbsPrerequisites.h:62
uint16 mIgnoreDiffuseAlpha
Definition: OgreDecal.h:89
const MaterialPtr & getMaterial(void) const
Get the material for this bucket.
Definition: OgreStaticGeometry.h:294
@ TexturesOitd
See HlmsDatablock::saveTextures.
Definition: OgreSceneFormatBase.h:61
@ M_MESH_LOD_LEVEL
Definition: OgreMeshFileFormat.h:235
virtual ForwardPlusMethods getForwardPlusMethod(void) const
Definition: OgreForward3D.h:100
VariableAccessAbstractNode(AbstractNode *ptr)
virtual void bindBufferGS(uint16 slot)
float getMetalness(void) const
Definition: OgreDecal.h:118
void unregisterComputeHlms(void)
virtual BillboardRotationType getBillboardRotationType(void) const
Sets billboard rotation type.
Real getTimePos(void) const
Definition: OgreAnimationTrack.h:95
void destroyOldNodeTrack(unsigned short handle)
Destroys the node track with the given handle.
void setSubroutine(size_t index, const String &subroutine)
Set subroutine name by slot index.
@ mutAuto
Definition: OgreD3D9RenderSystem.h:57
virtual void setValue(const Degree &)
Set value.
Definition: OgreAnimable.h:180
T * operator->() const
Definition: OgreSharedPtr.h:265
@ LB_BlendOverlay
Definition: OgreShaderExLayeredBlending.h:62
virtual void destroyAllRibbonTrails(void)
Removes & destroys all RibbonTrails from the SceneManager.
void renameTexture(IdString oldName, const String &newName)
Changes the name of a texture.
@ ConstBuffer
After the barrier, data can be used as a const buffer.
Definition: OgreResourceTransition.h:93
void setTexture(uint8 slotIdx, TexturePtr &texture, const HlmsSamplerblock *refParams=0)
Sets a texture buffer at the given slot ID.
Particle * getParticle(size_t index)
Retrieve a particle from the system for manual tweaking.
void getRenderOperation(RenderOperation &op, bool casterPass)
Definition: OgreInstanceBatch.h:365
@ OT_PATCH_10_CONTROL_POINT
Definition: OgreHlmsPso.h:69
virtual void bindToFramebuffer(GLenum attachment, uint32 zoffset)
Bind surface to frame buffer.
uint8 mrtIndex
Definition: OgreCompositorShadowNodeDef.h:62
virtual const String & getMovableType(void) const
Overridden from MovableObject.
String doGet(const void *target) const
Definition: OgreWin32EGLSupport.h:38
Vector3 midPoint(const Vector3 &vec) const
Returns a vector at a point half way between this and the passed in vector.
Definition: OgreVector3.h:509
virtual void _hlmsMacroblockDestroyed(HlmsMacroblock *block)
Definition: OgreRenderSystem.h:802
bool _fireEvent(ScriptCompilerEvent *evt, void *retval)
Internal method for firing the handleEvent method.
Definition: OgrePrerequisites.h:695
virtual void shadowTextureCasterPreViewProj(const Light *light, Camera *camera, size_t iteration)
This event occurs just before the view & projection matrices are set for rendering into a shadow text...
Definition: OgreSceneManager.h:396
void _setTextureCoordSet(size_t stage, size_t index)
See RenderSystem.
float mVpHeight
Definition: OgreCompositorPassDef.h:97
IsoSurfaceMC(const Source *src)
Constructor.
void install()
Perform the plugin initial installation sequence.
DistanceLodBoxStrategy()
Default constructor.
virtual void switchMode(uint &width, uint &height, short &frequency)
vector< Vector3 >::type VertexList
Definition: OgrePolygon.h:56
void CreateGeometryShader()
virtual const String & getTargetLanguage() const
Return the target language of this processor.
Definition: OgreShaderGLSLProgramProcessor.h:60
#define _OgreHlmsPbsMobileExport
Definition: OgreHlmsPbsMobilePrerequisites.h:48
Pose(ushort target, const String &name=BLANKSTRING)
Constructor.
virtual bool _loadProceduralPage(Page *page, PagedWorldSection *section)
Give a world the opportunity to prepare page content procedurally.
unsigned int getNumSections(void) const
Retrieves the number of ManualObjectSection objects making up this ManualObject.
GpuProgramParametersSharedPtr createParameters(void)
Creates a new parameters object compatible with this program definition.
virtual size_t tell(void) const =0
Returns the current byte offset from beginning.
void bind(IDirect3DDevice9 *dev, IDirect3DSurface9 *mSurface, IDirect3DSurface9 *fsaaSurface, bool writeGamma, uint fsaa, const String &srcName, IDirect3DBaseTexture9 *mipTex)
Call this to associate a D3D surface or volume with this pixel buffer.
An abstract class that contains a depth/stencil buffer.
Definition: OgreDepthBuffer.h:84
const VertexTrackList & _getVertexTrackList(void) const
Fast access to NON-UPDATEABLE Vertex track list.
virtual bool getOptionKeys(StringVector &refKeys)
Method for getting all the implementation-specific options of the scene manager.
Definition: OgreSceneManager.h:1900
~PCZSceneNode()
Standard destructor.
virtual OldNode * createChild(const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates an unnamed new OldNode as a child of this OldNode.
@ ID_GAMMA
Definition: OgreScriptCompiler.h:730
void createZoneSpecificNodeData(PCZSceneNode *)
Create any zone-specific data necessary for all zones for the given node.
void loadImage(DataStreamPtr &stream, const String &ext=BLANKSTRING)
Load an image into this blend layer.
StencilOperation stencilDepthFailOp
Definition: OgreCommon.h:133
@ ID_OVERLAYS
Definition: OgreScriptCompiler.h:856
String getValue() const
Returns a string value depending on the type of the AbstractNode.
virtual void _checkLightAgainstPortals(PCZLight *, unsigned long, PCZFrustum *, Portal *)=0
(recursive) Check the given light against all portals in the zone
void _notifyVertexBufferDestroyed(HardwareVertexBuffer *buf)
Notification that a hardware vertex buffer has been destroyed.
@ M_ANIMATION_TRACK
Definition: OgreMeshFileFormat.h:166
Definition: OgreD3D9Driver.h:41
@ PF_FLOAT32_R
Definition: OgrePixelFormat.h:128
Definition: OgreGLES2RenderToVertexBuffer.h:48
@ Undefined
Definition: OgreResourceTransition.h:48
FocusedShadowCameraSetup(void)
Default constructor.
virtual const String & getType() const
float getMetalness(void) const
TRect()
Definition: OgreCommon.h:736
size_t getNumUsedSlotsIncludingFragmented() const
Returns mUsedMemory.
const Vector3 getCenterBottom(void) const
Gets the center of the corners 0, 1, 2, 3.
Definition: OgreVolumeOctreeNode.h:337
SceneManager * createInstance(const String &instanceName)
TextureEffectType type
Definition: OgreTextureUnitState.h:135
bool fsaaExplicitResolve
In D3D9, reading from an fsaa texture is not possible, hence it always has to be resolved before usin...
Definition: OgreTextureDefinition.h:115
uint16 resolution
Definition: OgreTerrainLodManager.h:82
ushort getVertexProgramConstantIntCount(void) const
The number of integer constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:632
void freeEdgeList(void)
Destroys and frees the edge lists this mesh has built.
void setTrans(const Vector3 &v)
Sets the translation transformation part of the matrix.
Definition: OgreMatrix4.h:409
virtual void setPageRangeMaxY(int32 maxY)
Set the index range of all Pages (values outside this will be ignored)
@ PF_BYTE_BGR
3 byte pixel format, 1 byte for blue, 1 byte for green, 1 byte for red
Definition: OgrePixelFormat.h:101
bool hasViewRelativeTextureCoordinateGeneration(void) const
Returns whether this unit has texture coordinate generation that depends on the camera.
virtual void updateUniformBlocks(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)=0
Updates program object uniform blocks using data from GpuProgramParameters.
int serial
Definition: OgreX11EGLSupport.h:94
virtual void operationCompleted(BackgroundProcessTicket ticket, const BackgroundProcessResult &result)=0
Called when a requested operation completes, queued into main thread.
virtual bool canHandleResponse(const Response *res, const WorkQueue *srcQ)
Return whether this handler can process a given response.
Definition: OgreWorkQueue.h:209
SimplePageContentCollectionFactory()
Definition: OgreSimplePageContentCollection.h:116
This class declares the format of a set of vertex inputs, which can be issued to the rendering API th...
Definition: OgreHardwareVertexBuffer.h:285
DXGI_SWAP_CHAIN_DESC_N * _getSwapChainDescription(void)
Definition: OgreD3D11RenderWindow.h:116
virtual ~AbstractNode()
Definition: OgreScriptCompiler.h:101
type::iterator iterator
Definition: OgrePrerequisites.h:725
@ ACT_LIGHT_POWER_SCALE_ARRAY
Array of light power levels, a single scalar as set in Light::setPowerScale (count set by extra param...
Definition: OgreGpuProgramParams.h:1092
void setTransparent(bool isTransparent)
Sets whether this panel is transparent (used only as a grouping level), or if it is actually rendered...
static GLenum getClosestGLInternalFormat(PixelFormat format, bool hwGamma)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format.
void setCompileArguments(const String &args)
Sets the compilation arguments for this program ie the first method called.
Definition: OgreCgProgram.h:145
ObjectDataArrayMemoryManager(uint16 depthLevel, size_t hintMaxNodes, Node *dummyNode, MovableObject *dummyObject, size_t cleanupThreshold=100, size_t maxHardLimit=MAX_MEMORY_SLOTS, RebaseListener *rebaseListener=0)
Constructor.
const BufferDefinitionVec & getLocalBufferDefinitions(void) const
Definition: OgreTextureDefinition.h:413
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
static void lockDeviceAccess()
float mVpScissorTop
Definition: OgreCompositorPassDef.h:99
String doGet(const void *target) const
Real squaredDistance(const Vector2 &rhs) const
Returns the square of the distance to another vector.
Definition: OgreVector2.h:372
virtual void materialEventRaised(MaterialSerializer *ser, SerializeEvent event, bool &skip, const Material *mat)
Called when material section event raised.
Definition: OgreMaterialSerializer.h:89
static void setDefaultRotationInterpolationMode(RotationInterpolationMode im)
Sets the default rotation interpolation mode.
uint8 firstRq
First RenderQueue ID to render (inclusive)
Definition: OgreSceneManager.h:158
const AxisAlignedBox & getBounds(void) const
Gets the bounds of this patch, only valid after calling defineSurface.
float getLastTime(void) const
Definition: OgreFrameStats.h:66
bool mEnableForwardPlus
Enable ForwardPlus during the pass (if Forward3D or ForwardClustered systems were created).
Definition: OgreCompositorPassSceneDef.h:108
virtual void setColourRangeEnd(const ColourValue &colour)
Sets the maximum colour of particles to be emitted.
void registerThread()
Register the an additional thread which may make calls to rendersystem-related objects.
void _update(Camera *camera, const Camera *lodCamera, SceneManager *sceneManager)
Renders into the shadow map, executes passes.
virtual void setPageRangeMinX(int32 minX)
Set the index range of all Pages (values outside this will be ignored)
@ LB_BlendDarken
Definition: OgreShaderExLayeredBlending.h:53
virtual void addRequestHandler(uint16 channel, RequestHandler *rh)
Add a request handler instance to the queue.
static String toString(ColourBufferType val)
Converts a ColourBufferType to a String.
const Aabb & getArea(void) const
Definition: OgreCubemapProbe.h:186
void doSet(void *target, const String &val)
static bool findParamInVec(const HlmsParamVec ¶mVec, IdString key, String &inOut)
Finds the parameter with key 'key' in the given 'paramVec'.
@ ID_ALWAYS_FAIL
Definition: OgreScriptCompiler.h:673
@ RCP_CREATE_ON_ALL_DEVICES
Definition: OgreD3D9ResourceManager.h:50
MeshSerializerListener * getListener()
Returns the current listener.
bool isFloat() const
Definition: OgreGpuProgramParams.h:168
void executeUserScalableTask(UniformScalableTask *task, bool bBlock)
Processes a user-defined UniformScalableTask in the worker threads spawned by SceneManager.
static const IdString ShadowCasterDirectional
Definition: OgreHlms.h:821
const String & getProgramName(void) const
Gets the program being used.
Definition: OgreGpuProgramUsage.h:124
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
vector< CodePointRange >::type CodePointRangeList
Definition: OgreFont.h:155
VertexElementType type
Definition: OgreVertexArrayObject.h:186
This class implements an overlay element which contains simple unformatted text.
Definition: OgreTextAreaOverlayElement.h:46
virtual void setVerbose(bool v)
Sets whether this manager and its resources habitually produce log output.
Definition: OgreResourceManager.h:491
unsigned short getIndex(void) const
Gets the index of this element, only applicable for repeating elements.
Definition: OgreHardwareVertexBuffer.h:140
Definition: OgreGLES2VaoManager.h:99
uint32 getHeight(void) const
Definition: OgreForward3D.h:105
virtual ~TerrainDefiner()
Definition: OgreTerrainPagedWorldSection.h:165
const ContentCollectionList & getContentCollectionList() const
Get the list of content collections.
virtual const Radian & getFOVy(void) const
Retrieves the frustums Y-dimension Field Of View (FOV).
static const ColourValue Blue
Definition: OgreColourValue.h:65
bool getEnabled(void) const
Returns true if this animation is currently enabled.
@ SPFM_DELETE
Use OGRE_DELETE to free the memory.
Definition: OgreSharedPtr.h:46
const SubEntity * getSubEntity(size_t index) const
virtual bool addRenderWindow(D3D11RenderWindowBase *renderWindow)
@ CB_SET_CONSTANT_BUFFER_INVALID
Definition: OgreCbCommon.h:52
bool hasOwnDimensions(void) const
Returns true if this billboard deviates from the BillboardSet's default dimensions (i....
void updateUniforms(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program pipeline object uniforms using named and indexed parameter data from GpuProgramParame...
ArrayReal length() const
Returns the length (magnitude) of the vector.
bool supportsIndirectBuffers(void) const
When false, IndirectBufferPacked will emulate the mapping behavior, and we need to use the emulated c...
Definition: OgreVaoManager.h:370
int mNumVertices
Definition: OgreQuake3Level.h:142
int32 mipmapLevel
Definition: OgreCompositorPassUavDef.h:66
void destroyRenderTarget(RenderTarget *target)
Destroys the given RenderTarget.
Structure recording the use of a physical buffer by a logical parameter index.
Definition: OgreGpuProgramParams.h:557
static const IdString DetailMapsNormal
Definition: OgreHlmsPbs.h:382
@ ID_VIEWPORT
Definition: OgreScriptCompiler.h:853
Octree * mChildren[2][2][2]
3D array of children of this octree.
Definition: OgreOctree.h:101
void adjustWindow(unsigned int clientWidth, unsigned int clientHeight, unsigned int *winWidth, unsigned int *winHeight)
String doGet(const void *target) const
virtual void setWorldFragmentType(enum WorldFragmentType wft)
Tells the query what kind of world geometry to return from queries; often the full renderable geometr...
ushort getVertexProgramConstantBoolCount(void) const
The number of boolean constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:637
Real getElapsedTime(void) const
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create a uniform buffer.
@ ID_DEFAULT_PARAMS
Definition: OgreScriptCompiler.h:632
static ScriptCompilerManager & getSingleton(void)
Override standard Singleton retrieval.
virtual void setMetricsMode(GuiMetricsMode gmm)
Tells this element how to interpret the position and dimension values it is given.
void doSet(void *target, const String &val)
virtual String getType() const =0
Returns the type of the codec as a String.
@ LBS_TEXTURE
the colour derived from the texture assigned to this layer
Definition: OgreBlendMode.h:117
void readLodData(uint16 lowerLodBound, uint16 higherLodBound)
Read separated geometry data from file into allocated memory.
void FromEulerAnglesYXZ(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
bool showConfigDialog(ConfigDialog *aCustomDialog=0)
Displays a dialog asking the user to choose system settings.
AxisAlignedBox mBox
The bounding box of the octree.
Definition: OgreOctree.h:79
virtual ~FrameListener()
Definition: OgreFrameListener.h:130
Class for managing Controller instances.
Definition: OgreControllerManager.h:57
void _compileBoneAssignments(void)
Call this function if you've manually called addBoneAssignment to setup bones for vertices.
virtual void postInitializePass(CompositorPass *pass)
We derive so we can override the camera with ours.
float widthFactor
Sometimes buffers can be used as a plain-array contiguous image (instead of the swizzled pattern from...
Definition: OgreTextureDefinition.h:149
InstanceBatchHW_VTF(IdType id, ObjectMemoryManager *objectMemoryManager, InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap)
D3DDEVTYPE getDeviceType() const
Controller< Real > * createController(const ControllerValueRealPtr &src, const ControllerValueRealPtr &dest, const ControllerFunctionRealPtr &func)
Creates a new controller and registers it with the manager.
static void addWindowEventListener(RenderWindow *window, WindowEventListener *listener)
PlaneBoundedVolumeListSceneQuery(SceneManager *mgr)
@ BP_TYPE_UAV
Definition: OgreBufferPacked.h:88
virtual RequestID addRequest(uint16 channel, uint16 requestType, const Any &rData, uint8 retryCount=0, bool forceSynchronous=false, bool idleThread=false)=0
Add a new request to the queue.
virtual uint32 getLoadingIntervalMs() const
Get the interval between the loading of single pages in milliseconds (ms)
virtual void _notifyStaticDirty(void)
Called by InstancedEntity(s) or directly to tell us we need to update the bounds Should only useful i...
static const IdString BlendModeIndex12
Definition: OgreUnlitProperty.h:121
void setNumOutputChannels(size_t numOuts)
Reserves enough memory for all output channel mappings (efficient allocation, better than using linke...
Definition: OgreCompositorNodeDef.h:170
InstancedEntity * createInstancedEntity(const String &materialName, SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Creates an InstancedEntity based on an existing InstanceManager (.
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreD3D11NullTexture.h:113
static ParameterPtr createInBiNormal(int index)
const DoubleConstantList & getDoubleConstantList() const
Get a reference to the list of double constants.
Definition: OgreGpuProgramParams.h:784
Saved link between SubMesh at a LOD and vertex/index data May point to original or optimised geometry...
Definition: OgreStaticGeometry.h:154
virtual int32 getCellRangeMinY() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:165
bool isVisible(const AxisAlignedBox &bound, FrustumPlane *culledBy=0) const
Tests whether the given container is visible in the Frustum.
float * inputFloat
Optional list of terrainSize * terrainSize floats defining the terrain.
Definition: OgreTerrain.h:371
static const Vector3 NEGATIVE_UNIT_Z
Definition: OgreVector3.h:820
void setMaxSimultaneousLights(unsigned short maxLights)
Sets the maximum number of lights to be used by this pass.
bool visibleToManager
Definition: OgreHlms.h:96
const LightList & getLights(void) const
Vector3 position
Definition: OgreSceneManager.h:68
static void Intermediate(const Quaternion &rkQ0, const Quaternion &rkQ1, const Quaternion &rkQ2, Quaternion &rka, Quaternion &rkB)
Setup for spherical quadratic interpolation.
@ ID_LOD_STRATEGY
Definition: OgreScriptCompiler.h:624
bool resourceGroupExists(const String &name)
static const uint64 TERRAIN_GENERATE_MATERIAL_INTERVAL_MS
Definition: OgreTerrain.h:280
virtual_l1 void resetOrientation(void)
Resets the nodes orientation (local axes as world axes, no rotation).
uint32 mStencilRef
Definition: OgreCompositorPassStencilDef.h:50
static char * _arrangeEfficient(SourceDataArray srcData, const VertexElement2Vec &vertexElements, uint32 vertexCount)
Generic form that does the actual job for both v1 and v2 objects.
MultiSourceVertexBufferPool(const VertexElement2VecVec &vertexElementsBySource, size_t maxVertices, BufferType bufferType, size_t internalBufferStart, VaoManager *vaoManager)
ImageDownsampler2D downscale2x_Signed_XA88
Definition: OgreImageDownsampler.h:116
size_t result_type
Definition: OgreSharedPtr.h:394
static const IdString ForwardPlusFlipY
Definition: OgreHlms.h:832
void convertDirection(Space inSpace, const Vector3 &inDir, Space outSpace, Vector3 &outDir) const
Convert a direction from one space to another with respect to this terrain.
@ LB_BlendGlow
Definition: OgreShaderExLayeredBlending.h:74
@ LBX_SOURCE1
use source1 without modification
Definition: OgreBlendMode.h:77
void doSet(void *target, const String &val)
uint32 *RESTRICT_ALIAS mVisibilityFlags
Flags determining whether this object is visible (compared to SceneManager mask)
Definition: OgreObjectData.h:89
virtual void _setTextureCoordSet(size_t unit, size_t index)
Sets the texture coordinate set to use for a texture unit.
static void createBuffers(const BufferDefinitionVec &bufferDefs, CompositorNamedBufferVec &inOutBufContainer, const RenderTarget *finalTarget, RenderSystem *renderSys)
Utility function to create the buffers based on a given set of buffer definitions and put them in a c...
@ LB_BlendHardMix
Definition: OgreShaderExLayeredBlending.h:72
float mMaxAnisotropy
Definition: OgreHlmsSamplerblock.h:80
Definition: OgreWindowEventUtilities.h:63
static const IdString DiffuseMapCount10
Definition: OgreHlmsUnlitMobile.h:118
virtual void update(SceneManager *sceneMgr)
Update the contents of this vertex buffer by rendering.
bool isSupported(void) const
Overridden from GpuProgram.
@ VET_UINT1
Definition: OgreVertexElements.h:99
virtual void copyFrom(const SubRenderState &rhs)
size_t offset
Definition: OgreNULLVaoManager.h:99
@ ACT_TIME_0_X_PACKED
Vector of "Time0_X", "SinTime0_X", "CosTime0_X", "TanTime0_X".
Definition: OgreGpuProgramParams.h:1183
@ LB_BlendLinearLight
Definition: OgreShaderExLayeredBlending.h:69
bsp_brush_t * mBrushes
Definition: OgreQuake3Level.h:152
void endGPUSample(const String &name)
GLSLESProgramPipeline(GLSLESShader *vertexProgram, GLSLESShader *fragmentProgram)
Constructor should only be used by GLSLESProgramPipelineManager.
virtual bool checkFormat(PixelFormat format)=0
Check if a certain format is usable as rendertexture format.
CSGScaleSource(const Source *src, const Real scale)
Constructor.
void addSharedParameters(GpuSharedParametersPtr sharedParams)
Use a set of shared parameters in this parameters object.
virtual void applyDeltaValue(const Vector4 &)
Apply delta value.
Definition: OgreAnimable.h:206
Real tcModRotate
Definition: OgreQuake3Shader.h:85
@ ACT_COSTIME_0_X
Cosine of "Time0_X". Equivalent to RenderMonkey's "CosTime0_X".
Definition: OgreGpuProgramParams.h:1175
void unloadPage(PageID pageID, bool forceSynchronous=false)
Overridden from PagedWorldSection.
virtual const String & getType() const
bool getPassFogStates(void) const
Returns whether a fragment program wants fog state to be passed through fixed pipeline low level API ...
@ SPC_POSTOLIGHT_OBJECT_SPACE1
Definition: OgreShaderParameter.h:128
void setDriverVersion(const DriverVersion &version)
Set the driver version.
Definition: OgreRenderSystemCapabilities.h:421
ArrayVector3 primaryAxis(void) const
Extract the primary (dominant) axis from this direction vector.
static DistanceLodBoxStrategy & getSingleton(void)
Override standard Singleton retrieval.
PsoVec pso
Definition: OgreHlmsDiskCache.h:165
void removeQueryFlags(uint32 flags)
Definition: OgreTerrain.h:1372
virtual bool getOption(const String &, void *)
Gets the given option for the Scene Manager.
virtual void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)=0
This function translates the given node into Ogre resource(s).
vector< bool >::type LightsBitSet
Definition: OgreCompositorShadowNode.h:93
T value_type
Definition: OgreMemorySTLAllocator.h:66
void doSet(void *target, const String &val)
@ BBT_PERPENDICULAR_SELF
Billboards are perpendicular to their own direction vector (their own Z axis, the facing direction) a...
Definition: OgreBillboardSet.h:88
LoadingState getLoadingState() const
Returns the current loading state.
virtual Real getVerticalTexelOffset(void)
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
virtual HlmsDatablock * createDefaultDatablock(void)
TRect< Real > RealRect
Structure used to define a rectangle in a 2-D floating point space, subject to double / single floati...
Definition: OgreCommon.h:827
OctreeSceneManager(const String &name, AxisAlignedBox &box, int max_depth)
Standard Constructor.
virtual const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Copies the current contents of the render target to a pixelbox.
Definition: OgreX11EGLSupport.h:78
CompositorTargetDef * getTargetPass(size_t passIndex)
Retrieves an existing pass by it's given index.
Definition: OgreCompositorNodeDef.h:158
~OctreePlaneBoundedVolumeListSceneQuery()
virtual void _render(const v1::CbDrawCallIndexed *cmd)
Renders a V1 RenderOperation. Assumes _setRenderOperation has already been called.
virtual void write(const Matrix4 *m, size_t count=1)
An object which renders geometry to a vertex.
Definition: OgreD3D11RenderToVertexBuffer.h:47
void define(const Vector3 corners[8])
Build a new polygon representation from an axis-UNaligned box.
Radian operator/(Real f) const
Definition: OgreMath.h:77
void doSet(void *target, const String &val)
HlmsPropertyVec passProperties
Definition: OgreHlmsDiskCache.h:148
HlmsTypes
Up to 8 different HLMS generator types are allowed.
Definition: OgreHlmsCommon.h:166
HighLevelGpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Definition: OgreCbDrawCall.h:118
Real _getWidth(void) const
Gets the width of this element in relation to the screen (where 1.0 = screen width)
Definition: OgreOverlayElement.h:257
GLSLESShader * getFragmentShader() const
Definition: OgreGLSLESProgramCommon.h:107
virtual ~DDSCodec()
Definition: OgreDDSCodec.h:74
@ ID_DEST_ALPHA
Definition: OgreScriptCompiler.h:658
void baseVertexPointerToElement(void *pBase, RGBA **pElem) const
Adjusts a pointer to the base of a vertex to point at this element.
Definition: OgreHardwareVertexBuffer.h:228
APKFileSystemArchive(const String &name, const String &archType, AAssetManager *assetMgr)
const Vector3 & getPosition(void) const
Get the position of the billboard.
bool casterPass
Whether this is a shadow mapping pass.
Definition: OgreSceneManager.h:162
void shutdown()
Shutdown the renderer and cleanup resources.
SceneNode(IdType id, SceneManager *creator, NodeMemoryManager *nodeMemoryManager, SceneNode *parent)
Constructor, only to be called by the creator SceneManager.
int getSwitchingFullscreenCounter() const
Definition: OgreD3D11RenderSystem.h:210
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:92
virtual const TerrainLayerDeclaration & getLayerDeclaration() const
Get the layer declaration that this material generator operates with.
Definition: OgreTerrainMaterialGenerator.h:264
vector< AreaOfInterest >::type AreaOfInterestVec
Areas of interest.
Definition: OgreInstantRadiosity.h:194
list< DataStreamPtr >::type DataStreamList
List of DataStream items.
Definition: OgreDataStream.h:308
bool supportsPersistentMapping(void) const
Definition: OgreVaoManager.h:366
uint32 getVisibilityFlags(void) const
Returns the visibility flags relevant for this object.
virtual Technique * _arbitrateMissingTechniqueForActiveScheme(Material *mat, unsigned short lodIndex, const Renderable *rend)
Internal method for sorting out missing technique for a scheme.
@ CBT_BACK_LEFT
Definition: OgreCommon.h:351
size_t _getTotalRenderQueues() const
Definition: OgreObjectMemoryManager.h:142
@ PCT_UINT
Signed integer per component.
Definition: OgrePixelFormat.h:399
ValType * PointerType
Type you expect to get by funktions like peekNext(Value)Ptr.
Definition: OgreIteratorWrapper.h:65
virtual bool getPassTransformStates(void) const
Returns whether a vertex program wants transform state to be passed through fixed pipeline low level ...
Definition: OgreGpuProgram.h:418
const String & getShaderCachePath(void) const
Get shader cache path.
Definition: OgreGL3PlusSupport.h:90
void removeElement(VertexElementSemantic semantic, unsigned short index=0)
See VertexDeclaration.
PbsBlendModes getDetailMapBlendMode(uint8 detailMapIdx) const
void switchMode(void)
Switch back to original video mode.
void widenRectByVector(const Vector3 &vec, const Rect &inRect, Rect &outRect)
Widen a rectangular area of terrain to take into account an extrusion vector.
static bool match(const String &str, const String &pattern, bool caseSensitive=true)
Simple pattern-matching routine allowing a wildcard pattern.
virtual void initVertexCollapseCost(LodData *data, LodData::Vertex *vertex)
Called from initCollapseCosts for every edge.
struct zzip_file ZZIP_FILE
Definition: OgreZip.h:40
@ UNLIT_BLEND_DARKEN
Definition: OgreHlmsUnlitPrerequisites.h:73
int getHighestLodPrepared() const
Definition: OgreTerrain.h:1896
@ Lights
Definition: OgreSceneFormatBase.h:57
static void setPrioriry(String shaderLanguage, int priority)
DataStreamPtr openFileStream(const String &filename, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, const String &locationPattern=BLANKSTRING)
Helper method to assist you in accessing readable file streams.
HardwareBufferLockGuard HardwareVertexBufferLockGuard
Locking helper.
Definition: OgreHardwareVertexBuffer.h:99
virtual void detachDepthBuffer(void)
virtual void queueBindUAV(uint32 slot, UavBufferPacked *buffer, ResourceAccess::ResourceAccess access=ResourceAccess::ReadWrite, size_t offset=0, size_t sizeBytes=0)
See other overload.
virtual void _detachDepthBuffer()
Detaches DepthBuffer without notifying it from the detach.
virtual void detachDepthBuffer(void)
void addGPUDeviceNameRule(const String &devicePattern, IncludeOrExclude includeOrExclude, bool caseSensitive=false)
Add a rule which manually influences the support for this technique based on a pattern that matches a...
GLint getAttributeIndex(VertexElementSemantic semantic, uint index)
Get the index of a non-standard attribute bound in the linked code.
virtual void initialiseExtensions()
Initialises GL extensions, must be done AFTER the GL context has been established.
SourceModifier
Definition: OgreShaderExLayeredBlending.h:83
void setDetailMapBlendMode(uint8 detailMapIdx, PbsBlendModes blendMode)
Changes the blend mode of the detail map.
VectorIterator< LODBucketList > LODIterator
Definition: OgreStaticGeometry.h:414
void setLightCount(const int lightCount[3])
Set the light count per light type.
static std::pair< bool, Real > intersects(const Ray &ray, const vector< Plane >::type &planeList, bool normalIsOutside)
Ray / convex plane list intersection test.
virtual void unloadTerrain(long x, long y)
Unload a specific terrain slot.
virtual ~SharedPtrInfoDelete()
Definition: OgreSharedPtr.h:76
@ PBSM_DETAIL3_NM
Definition: OgreHlmsPbsPrerequisites.h:70
Manager/factory for RenderTextures.
Definition: OgreGLES2RenderTexture.h:64
@ ID_FRAGMENT_PROGRAM
Definition: OgreScriptCompiler.h:612
@ Entities
Definition: OgreSceneFormatBase.h:56
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
@ CLIPPED_ALL
Everything was clipped away.
Definition: OgreCommon.h:925
void setConstant(size_t index, const bool *val, size_t count)
Sets a multiple value constant boolean parameter to the program.
@ PrePassCreate
This is a depth pre-pass.
Definition: OgreCommon.h:88
Allows the rendering of a chain of connected billboards.
Definition: OgreBillboardChain.h:79
virtual void beginGPUSampleProfile(const String &name, uint32 *hashCache)=0
virtual void queueBindUAV(uint32 slot, UavBufferPacked *buffer, ResourceAccess::ResourceAccess access=ResourceAccess::ReadWrite, size_t offset=0, size_t sizeBytes=0)=0
See other overload.
IndexType getType(void) const
Get the type of indexes used in this buffer.
Definition: OgreHardwareIndexBuffer.h:70
bool mUseVertexNormals
Definition: OgreLodData.h:167
InstanceBatchShader(IdType id, ObjectMemoryManager *objectMemoryManager, InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap)
VertexSplits vertexSplits
A list of vertex indices which were split off into new vertices because of mirroring.
Definition: OgreTangentSpaceCalc.h:84
@ RSC_READ_BACK_AS_TEXTURE
Supports reading back the inactive depth-stencil buffer as texture.
Definition: OgreRenderSystemCapabilities.h:194
D3D9MultiRenderTarget(const String &name)
virtual unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
Definition: OgreNULLRenderSystem.h:188
@ GCT_MATRIX_DOUBLE_4X2
Definition: OgreGpuProgramParams.h:104
virtual void unloadPage(Page *p, bool forceSynchronous=false)
Ask for a page to be unloaded with the given (section-relative) PageID.
Definition: OgreD3D11VaoManager.h:48
void setDatablock(size_t subIndex, const String &name)
Alter the material for a subsection of this object after it has been specified.
const SectionMap & getSections() const
Retrieve a const reference to all the sections in this world.
Definition: OgrePagedWorld.h:161
PrePassMode
Definition: OgreCommon.h:83
virtual HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)=0
Create a hardware vertex buffer.
const std::type_info & type() const
Definition: OgreAny.h:115
void setUseColour(bool useColour)
Controls whether the value in.
bool casterPass
Definition: OgreCbLowLevelMaterial.h:37
virtual void unprepare()=0
Unprepare data - may be called in the background.
virtual void getMidPointGridSpace(int32 x, int32 y, Vector2 &mid)
Get the (grid space) mid point of a cell.
void _disableTextureUnit(size_t texUnit)
Turns off a texture unit.
virtual void bindBufferDS(uint16 slot)=0
virtual void getWorldTransforms(Matrix4 *xform) const =0
Gets the world transform matrix / matrices for this renderable object.
~MeshSerializerImpl_v1_2()
@ TID_QUOTE
Definition: OgreScriptLexer.h:53
StreamSerialiser * _readWorldStream(const String &filename)
Get a serialiser set up to read PagedWorld data for the given world name.
Vector4 getInverseTextureSize(size_t index) const
virtual size_t getNumInstancesPerBatch(const String &meshName, const String &groupName, const String &materialName, v1::InstanceManager::InstancingTechnique technique, size_t numInstancesPerBatch, uint16 flags=0, unsigned short subMeshIdx=0)
static MeshManager * getSingletonPtr(void)
Override standard Singleton retrieval.
GeometryAllocatedObject BatchedGeometryAlloc
Definition: OgreMemoryAllocatorConfig.h:299
Real texCoord
U or V texture coord depending on options.
Definition: OgreBillboardChain.h:101
static void SinCos4(ArrayReal x, ArrayReal &outSin, ArrayReal &outCos)
Calculates the cosine & sine of x.
virtual HlmsCache preparePassHash(const Ogre::CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager)
Called every frame by the Render Queue to cache the properties needed by this pass.
int getActualLeft(void) const
Gets one of the actual dimensions of the viewport, a value in pixels.
CalcMode
Definition: OgreShaderFFPFog.h:56
T parseParameter(const String ¶m)
D3D9Driver * item(size_t index)
@ CB_SET_CONSTANT_BUFFER_DS
Definition: OgreCbCommon.h:50
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
virtual GpuProgramPtr createProgramFromString(const String &name, const String &groupName, const String &code, GpuProgramType gptype, const String &syntaxCode)
Create a GPU program from a string of assembly code.
virtual void _setTessellationDomainTexture(size_t unit, const TexturePtr &tex)
void setNull()
Definition: OgreSharedPtr.h:311
virtual const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this ResourceManager.
Definition: OgreResourceManager.h:461
const ParameterList & getParameters(void) const
Retrieves a list of parameters valid for this object.
void _findNodes(const Sphere &t, PCZSceneNodeList &list, PCZSceneNode *exclude, bool includeVisitors, bool full)
Archive * getDataFolder(void)
Definition: OgreHlms.h:528
Real mVplConstAtten
Definition: OgreInstantRadiosity.h:202
void removeVertex(size_t index)
Remove a vertex offset.
EmscriptenEGLWindow(EmscriptenEGLSupport *glsupport)
void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
void setFilenameExtension(const String &extension)
@ SHADER_FUNC_SIN
Definition: OgreQuake3Types.h:110
@ TextureEffectPlay_Looping
Video starts playing as soon as possible.
Definition: OgreExternalTextureSource.h:64
void destroy(void)
Destroys the window.
TexturePtr texture
Definition: OgreHlmsTextureManager.h:280
const Quaternion & _getCachedDerivedOrientation(void) const
Definition: OgreCamera.h:402
virtual size_t getNumTranslators() const =0
Returns the number of translators being managed.
Cache-friendly array of Sphere represented as a SoA array.
Definition: C/OgreArraySphere.h:59
Vector3 reflect(const Vector3 &normal) const
Calculates a reflection vector to the plane with the given normal .
Definition: OgreVector3.h:739
void setUseColumnMajorMatrices(bool value)
Tells Ogre whether auto-bound matrices should be sent in column or row-major order.
Definition: OgreShaderProgram.h:184
virtual void destroyAllParticleSystems(void)
Removes & destroys all ParticleSystems from the SceneManager.
Real getPointAttenuationQuadratic(void) const
Returns the quadratic coefficient of point attenuation.
static bool renameFile(const Ogre::String &oldpath, const Ogre::String &newpath)
Rename a file.
virtual void bindBufferGS(uint16 slot, size_t offset=0, size_t sizeBytes=0)=0
virtual Real transformBias(Real factor) const
Transform LOD bias so it only needs to be multiplied by the LOD value.
@ ACT_PASS_ITERATION_NUMBER
provides the current iteration number of the pass.
Definition: OgreGpuProgramParams.h:1275
const double * getDoublePointer(size_t pos) const
Get a pointer to the 'nth' item in the double buffer.
Definition: OgreGpuProgramParams.h:1903
bool hasSettings(IdString materialName) const
Returns true if settings were already created for the given material name.
Definition: OgreInstanceManager.h:285
StaticCache()
Constructor.
Definition: OgreDataStream.h:56
Real getBoundingRadius() const
Get the bounding radius of the entire terrain.
@ SPC_LIGHTDIRECTION_WORLD_SPACE3
Definition: OgreShaderParameter.h:180
virtual const ColourValue & getColourRangeEnd(void) const
Gets the maximum colour of particles to be emitted.
Interface describing a manual resource loader.
Definition: OgreResource.h:515
const ColourValue & getSurfaceSpecularColour(void) const
void setNormalMapAnisotropy(unsigned int anisotropy)
Setup the normal map anisotropy value.
Definition: OgreShaderExNormalMapLighting.h:163
NaClWindow(NaClGLSupport *glsupport)
virtual void _resourceTransitionCreated(ResourceTransition *resTransition)
Definition: OgreRenderSystem.h:795
SceneNode * getEnclosureNode(void)
Get a pointer to the enclosure node for this PCZone.
Definition: OgrePCZone.h:102
static D3DFOGMODE get(FogMode fm)
return a D3D9 equivalent for a Ogre FogMode value
void setAutoAspectRatio(bool autoratio)
If set to true a viewport that owns this frustum will be able to recalculate the aspect ratio wheneve...
BlendMode
Definition: OgreShaderExLayeredBlending.h:48
static const IdString Normal
Definition: OgreHlms.h:778
Definition: OgreGL3PlusDepthBuffer.h:51
uint16 getAccessMode() const
Gets the access mode of the stream.
Definition: OgreDataStream.h:204
void setUseBaseKeyFrame(bool useBaseKeyFrame, Real keyframeTime=0.0f, const String &baseAnimName=BLANKSTRING)
Sets a base keyframe which for the skeletal / pose keyframes in this animation.
virtual void initialise(void)
Initialise.
void calculateSplitPoints(uint splitCount, Real nearDist, Real farDist, Real lambda=0.95, Real blend=0.125, Real fade=0.313)
Calculate a new splitting scheme.
@ PF_R16_UINT
16-bit pixel format, 16 bits red (unsigned int).
Definition: OgrePixelFormat.h:168
#define _OgreLodExport
Definition: OgreLodPrerequisites.h:90
void activate(void)
Makes a program pipeline object active by making sure it is linked and then putting it in use.
int bbox[6]
Definition: OgreQuake3Types.h:173
bool isConsecutive() const
Return whether this buffer is laid out consecutive in memory (ie the pitches are equal to the dimensi...
HighLevelGpuProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Constructor, should be used only by factory classes.
static String toString(double val, unsigned short precision=6, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts a double to a String.
@ LB_BlendNegation
Definition: OgreShaderExLayeredBlending.h:59
void _initParticle(Particle *pParticle)
See ParticleEmitter.
virtual const String & getOrigin(void) const
Get the origin of this resource, e.g.
Definition: OgreResource.h:438
void _setDepthBias(float constantBias, float slopeScaleBias)
See RenderSystem.
virtual void bindBufferCS(uint16 slot)
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
FilterOptions mMagFilter
Definition: OgreHlmsSamplerblock.h:67
Real getShadowNearClipDistance() const
Get the near clip plane distance to be used by the shadow camera, if this light casts texture shadows...
Definition: OgreLight.h:442
@ FLAG_UNCORRELATED
Definition: OgreHlmsPbsDatablock.h:75
bool getShareableDepthBuffer(void) const
Definition: OgreD3D11DepthTexture.h:51
void unlock(void)
Releases the lock on this buffer.
#define OGRE_LOCK_AUTO_MUTEX
Definition: OgreThreadDefinesBoost.h:33
Utility class for manipulating Strings.
Definition: OgreString.h:78
void setMaxChainElements(size_t maxElements)
Set the maximum number of chain elements per chain.
virtual void notifyCameraCreated(Camera *c)=0
Called when the scene manager creates a camera in order to store the first camera created as the prim...
@ PT_MATRIX3
Definition: OgreStringInterface.h:59
Summary class collecting together index data source information.
Definition: OgreVertexIndexData.h:289
void destroy()
Destroy the FFP builder instance.
PageManager * getManager() const
@ DEFORM_FUNC_AUTOSPRITE2
Definition: OgreQuake3Types.h:140
virtual void finalize(LodData *data)=0
virtual const AnyNumeric & getValue(void) const
Get the value at this keyframe.
virtual const Vector3 & getInitialPosition(void) const
Gets the initial position of this OldNode, see setInitialState for more info.
int msTriangles[18][13]
Definition: OgreVolumeIsoSurfaceTablesMC.h:363
TagPoint * createTagPointOnBone(OldBone *bone, const Quaternion &offsetOrientation=Quaternion::IDENTITY, const Vector3 &offsetPosition=Vector3::ZERO)
Creates a TagPoint ready to be attached to a bone.
void execute(RaySceneQueryListener *listener)
See RaySceneQuery.
void destroy(HighLevelGpuProgram *prog)
HlmsPso pso
Definition: OgreHlmsDiskCache.h:149
void setActiveFragmentShader(GLSLShader *fragmentGpuProgram)
Set the active fragment shader for the next rendering state.
void _releaseManualHardwareResources()
Definition: OgreBillboardSet.h:828
void destroyUavBuffer(UavBufferPacked *uavBuffer)
Destroys the given UAV buffer created with createUavBuffer.
VectorIterator< Passes > PassIterator
Definition: OgreTechnique.h:168
virtual ~HlmsUnlitMobileDatablock()
Real getScissorHeight(void) const
Definition: OgreViewport.h:179
@ ID_REF_VALUE
Definition: OgreScriptCompiler.h:909
@ RSC_EXPLICIT_API
API requires ResourceTransition for everything (e.g.
Definition: OgreRenderSystemCapabilities.h:211
MipmapGenerationMethods
Definition: OgreCompositorPassMipmapDef.h:51
#define OGRE_DELETE_T(ptr, T, category)
Free the memory allocated with OGRE_NEW_T. Category is required to be restated to ensure the matching...
Definition: OgreMemoryAllocatorConfig.h:464
void removeFactory(SceneManagerFactory *fact)
Remove a SceneManagerFactory.
RenderWindow * createWindow(bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle)
EdgeData * getEdgeList(void)
Class for displaying the error dialog if Ogre fails badly.
Definition: Android/OgreErrorDialogImp.h:37
vector< MovableObject * >::type MovableObjectVec
Definition: OgreSceneManager.h:329
@ VpNormal
Definition: OgreCommon.h:77
virtual void abortPendingRequestsByChannel(uint16 channel)
Abort all previously issued requests in a given channel.
GLSLShader * geometryShader
Definition: OgreGL3PlusHlmsPso.h:64
uint16 getSize() const
Get the size of the terrain in vertices along one side.
void removeZoneFromAffectedZonesList(PCZone *zone)
Manually remove a zone from the affected list.
Real getViewportWidth() const
void setNamedConstant(const String &name, const Vector3 &vec)
Sets a Vector3 parameter to the program.
String doGet(const void *target) const
Definition: OgreCbShaderBuffer.h:38
static const uint16 TERRAINLODDATA_CHUNK_VERSION
Definition: OgreTerrainLodManager.h:56
virtual void write(const Matrix3 *m, size_t count=1)
MovableObject * movableObject
Definition: OgrePlanarReflections.h:79
void clearNeedsUpdate(void)
Clear update flag.
Definition: OgrePCZLight.h:100
void save(DataStreamPtr &dataStream, const Hlms::RenderableCache &renderableCache)
void removePortalCullingPlanes(PortalBase *portal)
Remove extra culling planes created from the given portal.
static const IdString ShadowCasterPoint
Definition: OgreHlms.h:822
@ RSC_VERTEX_PROGRAM
Supports vertex programs (vertex shaders)
Definition: OgreRenderSystemCapabilities.h:94
Listener()
Definition: OgreOldNode.h:87
bool getOptimiserEnabled(void) const
Gets if the GLSL optimiser is enabled.
Definition: OgreGLSLESShader.h:96
String doGet(const void *target) const
SharedPtr< AsyncTicket > AsyncTicketPtr
Definition: OgrePrerequisites.h:347
DefaultHardwareBufferManagerBase()
virtual ~APKZipArchiveFactory()
Definition: OgreAPKZipArchive.h:44
uint32 getVisibilityFlags(void) const
Get the visibility flags for this terrain.
Definition: OgreTerrain.h:1355
The log manager handles the creation and retrieval of logs for the application.
Definition: OgreLogManager.h:65
uint16 mNormalMapIdx
Definition: OgreDecal.h:87
void setOrientation(Quaternion q)
Sets a given orientation in local space (ie.
void reset(T *a=0)
Definition: OgreThreadDefinesSTD.h:56
@ SPC_LIGHTPOSITION_WORLD_SPACE0
Light position in world space index 0-7.
Definition: OgreShaderParameter.h:217
bool isClosed(void) const
Indicates whether the window has been closed by the user.
PoseRefIterator getPoseReferenceIterator(void)
Get an iterator over the pose references.
void setSamplerblock(uint8 texUnit, const HlmsSamplerblock ¶ms)
Sets a new sampler block to be associated with the texture (i.e.
HighLevelGpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Create an instance of GLSLESShader.
void load(const String &filename, const String &resourceGroup, const String &separators="\t:=", bool trimWhitespace=true)
load from a filename (using resource group locations)
virtual void reloadFrom(Archive *newDataFolder, ArchiveVec *libraryFolders=0)
Destroys all the cached shaders and in the next opportunity will recreate them from the new location.
Definition: OgreHlmsJson.h:63
@ SMT_NONE
Definition: OgreCommon.h:358
Container class for shader based programs.
Definition: OgreShaderProgramSet.h:47
@ ACT_DERIVED_LIGHT_SPECULAR_COLOUR
The derived light specular colour (index determined by setAutoConstant call), with 'r',...
Definition: OgreGpuProgramParams.h:1123
virtual void bindBufferGS(uint16 slot)
Real collapseCost
Definition: OgreLodData.h:89
AnyNumeric operator*(Real factor) const
Definition: OgreAny.h:340
@ M_MESH_SKELETON_LINK
Definition: OgreMeshFileFormat.h:101
ParameterPtr getParameterByContent(const ShaderParameterList ¶meterList, const Parameter::Content content, GpuConstantType type)
Get parameter by a given content and type from the given parameter list.
void findNodesIn(const PlaneBoundedVolume &volume, list< SceneNode * >::type &list, SceneNode *exclude=0)
Recurses the octree, adding any nodes intersecting with the volume into the given list.
Controller< Real > * createTextureUScroller(TextureUnitState *layer, Real uSpeed)
Creates a basic time-based texture u coordinate modifier designed for creating scrolling textures.
Real getMinHeight() const
Get the minimum height of the terrain.
@ PF_R8G8B8_SNORM
24-bit pixel format, 8 bits red (signed normalised int), 8 bits blue (signed normalised int),...
Definition: OgrePixelFormat.h:234
static Radian parseAngle(const String &val, Radian defaultValue=Radian(0))
Converts a String to a Angle.
Definition: OgreStringConverter.h:176
@ PF_R8G8B8A8_SNORM
32-bit pixel format, 8 bits red (signed normalised int), 8 bits blue (signed normalised int),...
Definition: OgrePixelFormat.h:236
const CubemapProbeVec & getProbes(void) const
Definition: OgreParallaxCorrectedCubemap.h:164
void setCompositorReference(const String &textureName, size_t mrtIndex=0)
Set the compositor reference for this texture unit state.
LwConstString(const char *inStr, size_t maxLength)
Definition: OgreLwConstString.h:79
bool getInheritScale(void) const
Returns true if this node is affected by scaling factors applied to the parent node.
void objectCreated(ObjectData &outObjectData, size_t renderQueue)
Requests memory for the given ObjectData, initializing values.
CollapseCostHeap::iterator costHeapPosition
Definition: OgreLodData.h:108
@ MEMCATEGORY_GEOMETRY
Geometry held in main memory.
Definition: OgreMemoryAllocatorConfig.h:164
OctreeSphereSceneQuery(SceneManager *creator)
void updateDebugDisplay(Page *p, SceneNode *sn)
Update the contents of the passed in SceneNode to reflect the debug display of a given page.
vector< GpuSharedParametersUsage >::type GpuSharedParamUsageList
Definition: OgreGpuProgramParams.h:1448
bool getUseBaseKeyFrame() const
Whether a base keyframe is being used for this Animation.
String alias
A descriptive name that is merely used to assist in recognition.
Definition: OgreTerrainMaterialGenerator.h:106
@ SKELETON_BLENDMODE
Definition: OgreSkeletonFileFormat.h:58
const ColourValue & getAmbientLightLowerHemisphere(void) const
Definition: OgreSceneManager.h:1714
ArrayReal xyHalfSize[2]
Definition: OgrePlanarReflectionActor.h:71
PCZSceneNode(SceneManager *creator)
Standard constructor.
ID3D11DepthStencilState * depthStencilState
Definition: OgreD3D11HlmsPso.h:49
HlmsPso const * pso
Definition: OgreCbPipelineStateObject.h:37
SortMode _getSortMode(void) const
Gets the desired particles sort mode of this renderer.
ArrayReal mChunkBase[12]
Definition: C/OgreArrayMatrixAf4x3.h:72
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
SharedPtr< Y > staticCast() const
Definition: OgreSharedPtr.h:245
Definition: OgreD3D9DriverList.h:37
bool hasSkeletonAnimation(void) const
Definition: OgreRenderable.h:146
bool isAttached(void) const
Returns true if this object is attached to a Node.
Definition: OgreMovableObject.h:203
ConstVectorIterator< NodeTrackList > NodeTrackIterator
Definition: OgreAnimation.h:398
SharedPtr< Skeleton > SkeletonPtr
Definition: OgrePrerequisites.h:421
void setTargetLanguage(const String &shaderLanguage, const float version=1.0)
Set the target shader language.
@ TVC_AMBIENT
Definition: OgreCommon.h:325
SimpleRenderable(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
Constructor.
ArrayReal planeNegD[5]
Arrangement is: 0 = main plane 1 = +Y plane (north) 2 = -Y plane (south) 3 = +X plane (east) 4 = -X p...
Definition: OgrePlanarReflectionActor.h:69
virtual bool isSupported(void) const
Returns whether this program can be supported on the current renderer and hardware.
~D3D11HardwareBufferManagerBase()
void setLogDetail(LoggingLevel ll)
const ColourValue & getAmbientLightColour(void) const
@ NONE
Definition: OgreTerrainAutoUpdateLod.h:69
@ RSC_POINT_SPRITES
Supports basic point sprite rendering.
Definition: OgreRenderSystemCapabilities.h:123
virtual void shaderCacheEntryCreated(const String &shaderProfile, const HlmsCache *hlmsCacheEntry, const HlmsCache &passCache, const HlmsPropertyVec &properties, const QueuedRenderable &queuedRenderable)
Called after the shader was created/compiled, and right before bindGpuProgramParameters (relevant inf...
Definition: OgreHlmsListener.h:97
@ GCT_BOOL4
Definition: OgreGpuProgramParams.h:114
Command object for setting the alignment.
Definition: OgreTextAreaOverlayElement.h:207
map< SkeletonInstance *, BoneVec >::type BonesPerSkeletonInstance
Definition: OgreSceneNode.h:39
Interface definition for a handler of requests.
Definition: OgreWorkQueue.h:163
void setTransposeMatrices(bool val)
Gets the physical buffer index associated with a logical bool constant index.
Definition: OgreGpuProgramParams.h:2364
virtual AsyncTicketPtr createAsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)
reference operator[](size_type n)
Definition: OgreCommon.h:519
A 2D element which contains other OverlayElement instances.
Definition: OgreOverlayContainer.h:57
OctreeNode(const Vector3 &from=Vector3::ZERO, const Vector3 &to=Vector3::ZERO)
Constructor.
virtual void _notifyAfterIlluminationPassesCreated(Technique *mat)
Internal method for sorting out illumination passes for a scheme.
Definition: OgreLodWorkQueueRequest.h:43
virtual void updatePortalsZoneData(void)=0
Update the zone data for each portal.
@ UAV
Definition: OgreScriptCompiler.h:515
int face_count
Definition: OgreQuake3Types.h:175
ColourValue mBorderColour
Definition: OgreHlmsSamplerblock.h:83
Definition: OgreCompositorPassQuadDef.h:52
Vector4(const int afCoordinate[4])
Definition: OgreVector4.h:72
GeneralAllocatedObject PageAlloc
Definition: OgrePagingPrerequisites.h:52
void postExtraThreadsStarted()
AnyNumeric & operator-=(const AnyNumeric &rhs)
Definition: OgreAny.h:356
static Real Tan(const Radian &fValue, bool useTables=false)
Tangent function.
Definition: OgreMath.h:479
StrideChanger(size_t _offsetAfterPadding, size_t _paddedBytes)
Definition: OgreGL3PlusVaoManager.h:63
static void startup(void)
Static method to startup and register the DDS codec.
static IDirect3DDevice9 * getResourceCreationDevice(UINT index)
@ SOP_REPLACE
Set the stencil value to the reference value.
Definition: OgreCommon.h:116
@ SPC_TEXTURE_COORDINATE4
Definition: OgreShaderParameter.h:292
@ SPC_POSITION_LIGHT_SPACE7
Definition: OgreShaderParameter.h:100
void setGeometryProgramParameters(GpuProgramParametersSharedPtr params)
Sets the geometry program parameters.
void setPreprocessorDefines(const String &defines)
Sets the preprocessor defines use to compile the program.
Definition: OgreGLSLESShader.h:88
Definition: OgreGLES2MultiSourceVertexBufferPool.h:40
Vector3 position
Definition: OgreBillboardChain.h:98
void setValue(const String &name, const char *pChar)
Special-case char*, convert to String automatically.
Definition: OgreProperty.h:339
virtual const LightList & getLights(void) const OGRE_OVERRIDE
vector< PoseRef >::type PoseRefList
Definition: OgreKeyFrame.h:214
void escalateLoading()
Escalates the loading of a background loaded resource.
void setProjectionType(ProjectionType projType)
Set the projection type of this PCZFrustum.
Definition: OgrePCZFrustum.h:117
GL3PlusStagingBuffer(size_t internalBufferStart, size_t sizeBytes, VaoManager *vaoManager, bool uploadOnly, GLuint vboName)
BillboardSet * mParentSet
Definition: OgreBillboard.h:85
@ CopyDst
Definition: OgreResourceTransition.h:56
uint treeStart
Definition: OgreTerrainLodManager.h:79
void _setCurrentCompositorPass(CompositorPass *pass)
BillboardOrigin
Enum covering what exactly a billboard's position means (center, top-left etc).
Definition: OgreBillboardSet.h:57
void _firstUpload(void *data, size_t elementStart, size_t elementCount)
Only use this function for the first upload.
virtual unsigned short getNumAnimations(void) const
Gets the number of animations on this skeleton.
const int * getIntPointer(size_t pos) const
Get a pointer to the 'nth' item in the int buffer.
Definition: OgreGpuProgramParams.h:1909
@ LBO_ADD
Add colour components together.
Definition: OgreBlendMode.h:61
Command object for scale adjust (see ParamCommand).
Definition: OgreScaleAffector.h:49
FileInfoListPtr findResourceFileInfo(const String &group, const String &pattern, bool dirs=false)
Find all files or directories matching a given pattern in a group and get some detailed information a...
void setValueMap(const PropertyValueMap &values)
Sets the current state from a given value map.
static String toString(const Quaternion &val)
Converts a Quaternion to a String.
void operator=(const AtomicObject< T > &cousin)
Definition: OgreAtomicObject.h:58
bool tcModTurbOn
Definition: OgreQuake3Shader.h:88
uint16 mDebugStrSize
Definition: OgreHlmsDiskCache.h:172
bool getAutoHardwareBufferManagement() const
Definition: OgreD3D9ResourceManager.h:93
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
virtual void init(TerrainGroup *grp)
Initialise this section from an existing TerrainGroup instance.
virtual uint32 getQueryMask(void) const
Returns the current mask for this query.
static const String & getDirectionalLightExtruderVs_4_0(void)
Get extruder program source for directional lights, compatible with vs_4_0.
Definition: OgreShadowVolumeExtrudeProgram.h:247
virtual void setPoseAnimationIncluded(ushort poseCount)
Sets whether a vertex program includes the required instructions to perform pose animation.
Definition: OgreGpuProgram.h:330
@ WFT_SAWTOOTH
Gradual steady increase from min to max over the period with an instant return to min at the end.
Definition: OgreCommon.h:302
@ SBO_ADD
Definition: OgreBlendMode.h:255
int type
Definition: OgreX11EGLSupport.h:94
virtual void _beginUpdate()
Method for manual management of rendering : fires 'preRenderTargetUpdate' and initialises statistics ...
map< unsigned short, NumericAnimationTrack * >::type NumericTrackList
Definition: OgreAnimation.h:403
virtual void _updateViewportRenderPhase02(Viewport *viewport, Camera *camera, const Camera *lodCamera, uint8 firstRq, uint8 lastRq, bool updateStatistics)
Method for manual management of rendering - renders the given viewport (even if it is not autoupdated...
@ PF_D32_FLOAT
Depth texture format. 32 bits for depth.
Definition: OgrePixelFormat.h:348
static const IdString MaterialsPerBuffer
Definition: OgreHlmsPbs.h:318
HlmsManager * getHlmsManager(void) const
Definition: OgreHlms.h:426
GLuint getGLProgramHandle(void) const
Get the GL Handle for the program object.
Definition: OgreGLSLProgram.h:114
bool HasAutoMipMapGenerationEnabled() const
Definition: OgreD3D11NullTexture.h:49
@ CNT_IMPORT
Definition: OgreScriptCompiler.h:54
void releaseSlot(ConstBufferPoolUser *user)
Releases a slot requested with requestSlot.
virtual ~WorkQueue()
Definition: OgreWorkQueue.h:223
virtual void removeNode(Node *n)
Remove tracking on a given node.
virtual bool isKeyEnabled() const
Definition: OgreOverlayElement.h:421
static Root & getSingleton(void)
Override standard Singleton retrieval.
D3D11CompatBufferInterface(size_t vboPoolIdx, ID3D11Buffer *d3dBuffer, D3D11Device &device)
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
int save_under
Definition: OgreX11EGLSupport.h:90
static const uint32 CHUNK_ID
Definition: OgrePagedWorldSection.h:89
ImageDownsamplerCube downscale2x_sRGB_A8_cube
Definition: OgreImageDownsampler.h:197
@ ACT_LIGHT_POWER_SCALE
Light power level, a single scalar as set in Light::setPowerScale (index determined by setAutoConstan...
Definition: OgreGpuProgramParams.h:1057
String doGet(const void *target) const
static const uint32 VOLUME_CHUNK_ID
The id of volume files.
Definition: OgreVolumeSource.h:68
void resize(size_t newSize)
Resizes the string.
Definition: OgreLwString.h:162
This specific abstract node represents a script object.
Definition: OgreScriptCompiler.h:124
void setBlendType(SceneBlendType colour, SceneBlendType alpha)
Shortcut to set the blend factors to common blending operations.
Definition: OgreX11EGLSupport.h:90
static const IdString BlendModeIndex3
Definition: OgreUnlitProperty.h:112
void addParameter(const ParameterDef ¶mDef, ParamCommand *paramCmd)
Method for adding a parameter definition for this class.
Definition: OgreStringInterface.h:133
void setFunction(const SharedPtr< ControllerFunction< T > > &func)
Sets the function object to be used by this controller.
Definition: OgreController.h:203
virtual ~GridSource(void)
Destructor.
Vector3 totalTo
The front upper rightcorner of the world.
Definition: OgreVolumeChunkHandler.h:54
bool addToRenderQueue
Whether we should immediately add to render queue v2 objects.
Definition: OgreSceneManager.h:164
virtual void _setRenderOperation(const v1::CbRenderOp *cmd)
bool requiresTextureFlipping() const
Definition: OgreD3D11Texture.h:214
ImportData(const ImportData &rhs)
Definition: OgreTerrain.h:420
ImageDownsamplerCube downscale2x_Float32_A_cube
Definition: OgreImageDownsampler.h:160
@ PF_D16_UNORM
Depth texture format. 16 bits for depth.
Definition: OgrePixelFormat.h:346
PCZone * mZone
Definition: OgreOctreeZoneOctree.h:166
ushort _getSubMeshIndex(const String &name) const
Gets the index of a submesh with a given name.
bool getFadeAttenuationRange(void) const
Definition: OgreForwardPlusBase.h:212
NodeAnimationTrack(Animation *parent, unsigned short handle, Node *targetNode)
Constructor, associates with a OldNode.
int chunksBeingProcessed
The amount of chunks being processed (== loading).
Definition: OgreVolumeChunk.h:118
void getWorldTransforms(Matrix4 *xform) const
Overridden - see Renderable.
@ IRS_NONE
No special illumination stage.
Definition: OgreSceneManager.h:299
void destroyData(PageStrategyData *d)
Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
BySkeletonDefList bySkeletonDefs
Definition: OgreSkeletonAnimManager.h:105
CalcMode getCalcMode() const
Return the current calculation mode.
Definition: OgreShaderFFPFog.h:116
virtual size_t getNumTranslators() const
Returns the number of translators being managed.
Vector3 scale
Definition: OgreStaticGeometry.h:180
ImageDownsampler2D downscale2x_sRGB_AX88
Definition: OgreImageDownsampler.h:186
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
void setWorldMatrices(const Matrix4 *m, size_t count)
Sets the world matrices, avoid query from renderable again.
bool empty() const
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:212
void _findNodes(const Sphere &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
@ FT_MIP
The filter used when determining the mipmap.
Definition: OgreCommon.h:232
void updateParamsForCompositeMap(const MaterialPtr &mat, const Terrain *terrain)
Update params for a terrain.
@ M_SUBMESH
Definition: OgreMeshFileFormat.h:64
SceneManagerEnumerator::MetaDataIterator getSceneManagerMetaDataIterator(void) const
Iterate over all types of SceneManager available for construction, providing some information about e...
bool registerShaderFactory(const String &syntaxCode, CreateGpuProgramCallback createFn)
virtual void _render(const CbDrawCallIndexed *cmd)
Renders the VAO. Assumes _setVertexArrayObject has already been called.
void setAnimatedTextureName(const String *const names, unsigned int numFrames, Real duration=0)
Sets the names of the texture images for an animated texture.
CapabilitiesCategory
Enumerates the categories of capabilities.
Definition: OgreRenderSystemCapabilities.h:61
virtual Real getVerticalTexelOffset(void)=0
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
D3D11RenderToVertexBuffer(D3D11Device &device, D3D11HardwareBufferManagerBase *bufManager)
void _markChanged()
Internal method - indicates that a change has been made that would require material regeneration.
Definition: OgreTerrainMaterialGenerator.h:255
CSGPlaneSource(const Real d, const Vector3 &normal)
Constructor.
uint16 getCompositeMapSize() const
Get the requested size of composite map for this terrain.
Definition: OgreTerrain.h:1095
SceneType
Classification of a scene to allow a decision of what type of SceenManager to provide back to the app...
Definition: OgreSceneManager.h:3315
virtual String validateConfig()=0
Make sure all the extra options are valid.
void skip(long count)
Skip a defined number of bytes.
bool renderToVertexBuffer
Specifies whether rendering to the vertex buffer.
Definition: OgreRenderOperation.h:83
CSGDifferenceSource(const Source *a, const Source *b)
Constructor.
GLenum blendFuncAlpha
Definition: OgreGLES2HlmsPso.h:60
virtual void holdPage(PageID pageID)
Ask for a page to be kept in memory if it's loaded.
const String & getBlendTextureName(uint8 textureIndex) const
Get the name of the packed blend texture at a specific index.
Real mVplPowerBoost
Tweaks how strong VPL lights should be.
Definition: OgreInstantRadiosity.h:211
const Matrix4 & getAnimationMatrix(uint8 textureUnit) const
Abstract class definition of a factory object for ParticleSystemRenderer.
Definition: OgreParticleSystemRenderer.h:130
static String FACTORY_TYPE_NAME
Definition: OgreParticleSystemManager.h:401
Defines the interface to a strategy class which is responsible for deciding when Page instances are r...
Definition: OgrePageStrategy.h:74
int getActualHeight(void) const
Gets one of the actual dimensions of the viewport, a value in pixels.
const ParamDictionary * getParamDictionary(void) const
Definition: OgreStringInterface.h:223
static Real Sign(Real fValue)
QueuedRenderable(uint64 _hash, Renderable *_renderable, const MovableObject *_movableObject)
Definition: OgreRenderQueue.h:55
String aliasName
Definition: OgreHlmsTextureManager.h:158
void initialize()
Render-System specific data.
Definition: OgreHlmsPso.h:324
void _initParticle(Particle *pParticle)
See ParticleAffector.
const VertexElement * getElement(unsigned short index) const
Get a single element.
const Vector3 & getCommonDirection(void) const
Gets the common direction for all billboards (BBT_ORIENTED_COMMON)
map< String, PropertyBase * >::type PropertyMap
Definition: OgreProperty.h:301
virtual void destroyVertexDeclaration(VertexDeclaration *decl)
Destroys a vertex declaration.
Definition: OgreHardwareBufferManager.h:482
void _resetRenderedRqs(size_t numRqs)
Called at the beginning of each frame to know which RenderQueue IDs have been rendered.
vector< StagingBuffer * >::type StagingBufferVec
Definition: OgreVaoManager.h:41
virtual void discardFrameBuffer(unsigned int buffers)
Instructs the viewport to 'discard' the buffers.
Definition: OgreCbDrawCall.h:101
MovableObject * movable
The movable, or NULL if this is not a movable result.
Definition: OgreSceneQuery.h:354
vector< Node * >::type NodeList
Definition: OgreRibbonTrail.h:88
void beginGPUEvent(const String &event)
Mark the beginning of a GPU event group.
SceneCtlAllocatedObject RenderQueueAlloc
Definition: OgreMemoryAllocatorConfig.h:324
virtual Real computeEdgeCollapseCost(LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge)
Returns the collapse cost of the given edge.
CompositorPassDepthCopyDef(CompositorNodeDef *parentNodeDef, CompositorTargetDef *parentTargetDef)
Definition: OgreCompositorPassDepthCopyDef.h:72
D3D11VertexArrayObject(uint32 vaoName, uint32 renderQueueId, uint16 inputLayoutId, const VertexBufferPackedVec &vertexBuffers, IndexBufferPacked *indexBuffer, OperationType opType, D3D11VertexArrayObjectShared *sharedData)
Definition: OgreD3D11VertexArrayObject.h:56
Factory class for ColourImageAffector.
Definition: OgreColourImageAffectorFactory.h:39
AxisAlignedBox(const AxisAlignedBox &rkBox)
Definition: OgreAxisAlignedBox.h:104
virtual bool beforeIlluminationPassesCleared(Technique *technique)
Called right before illuminated passes would be removed, so that owner of runtime generated technique...
Definition: OgreMaterialManager.h:117
virtual void saveTextures(const String &folderPath, set< String >::type &savedTextures, bool saveOitd, bool saveOriginal, HlmsTextureExportListener *listener)
const String & getName(void)
Returns the name of the stream, if it has one.
Definition: OgreDataStream.h:202
void setSpecular(Real red, Real green, Real blue, Real alpha)
Sets the specular colour reflectance properties of every Pass in every Technique.
void removeContentCollectionFactory(PageContentCollectionFactory *f)
Remove a PageContentCollectionFactory implementation.
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
virtual ~MaterialManager()
Default destructor.
uint16 getNumPoses()
Definition: OgreSubMesh2.h:205
@ FGT_FACE_LIST
Definition: OgreStaticFaceGroup.h:46
MeshPtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Get a resource by name.
GLsizei stride
Definition: OgreGL3PlusVaoManager.h:102
ID3D11PixelShader * getPixelShader(void) const
static CommandBufferExecuteFunc execute_drawCallStripEmulatedNoBaseInstance
Definition: OgreCommandBuffer.h:71
const Matrix4 & getViewMatrix(void) const
Gets the view matrix for this frustum.
@ RSC_VERTEX_TEXTURE_FETCH
Supports vertex texture fetch.
Definition: OgreRenderSystemCapabilities.h:127
PackingMethod
Definition: OgreHlmsTextureManager.h:75
virtual bool getCullIndividually(void) const
Returns whether or not billboards in this are tested individually for culling.
void setNormalMapWeight(Real weight)
@See setDetailNormalWeight. This is the same, but for the main normal map.
@ GCT_INT3
Definition: OgreGpuProgramParams.h:91
bool unregisterShaderFactory(const String &syntaxCode)
void * allocateScratch(uint32 size)
Allocator method to allow us to use a pool of memory as a scratch area for hardware buffers.
Definition: OgreGL3PlusHardwareBufferManager.h:140
uint16 mEmissiveIdx
Definition: OgreDecal.h:88
virtual void convertPath(String &inOutPath) const
Some implementations (i.e.
virtual const String & getManualNamedConstantsFile() const
Gets the name of a file from which to load named parameters mapping for a program which would not be ...
Definition: OgreGpuProgram.h:458
GLSLSeparableProgram(GLSLShader *vertexShader, GLSLShader *hullShader, GLSLShader *domainShader, GLSLShader *geometryShader, GLSLShader *fragmentShader, GLSLShader *computeShader)
Constructor should only be used by GLSLSeparableProgramManager.
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:102
MeshLodUsage()
Definition: OgreMesh.h:1067
HlmsDatablock * getDatablock(void) const
Definition: OgreRenderable.h:389
void _defragmentBatchDiscard(void)
bool getIsOptimised(void)
Gets if the GLSL source has been optimised successfully.
Definition: OgreGLSLESShader.h:101
void _setBlendMask(const BoneBlendMask *blendMask)
Set the blend mask.
String doGet(const void *target) const
const MaterialPtr & getMaterial(void) const
void _markClean()
Mark the shared set as being clean (values successfully updated by the render system).
void exportSkeleton(const Skeleton *pSkeleton, const String &filename, SkeletonVersion ver=SKELETON_VERSION_LATEST, Endian endianMode=ENDIAN_NATIVE)
Exports a skeleton to the file specified.
@ SM_Source2InvModulate
Definition: OgreShaderExLayeredBlending.h:89
void destroyInstance(Archive *ptr)
Destroys an object which was created by this factory.
Definition: OgreFileSystem.h:139
bool isModified() const
Returns whether this terrain has been modified since it was first loaded / defined.
Definition: OgreTerrain.h:761
bool getSplitMirrored() const
Gets whether or not to split vertices when a mirrored tangent space transition is detected.
Definition: OgreTangentSpaceCalc.h:137
Real getTextureVScroll(void) const
Get texture vscroll value.
void _useLights(const LightList &lights, unsigned short limit)
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:258
void notifyCamera(Camera *cam, PagedWorldSection *section)
Called when a camera is used for any kind of rendering.
@ GCT_MATRIX_DOUBLE_2X4
Definition: OgreGpuProgramParams.h:100
void setDirection(const Vector3 &vec)
Sets the direction in which a light points.
virtual void setDualGridVisible(const bool visible)
Shows the debug visualization entity of the dualgrid.
Real getValue(void) const
virtual bool requiresTextureFlipping() const
Definition: OgreGL3PlusNullTexture.h:100
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
Implementation for WorkQueue::ResponseHandler.
A class that represents a shader based program function.
Definition: OgreShaderFunction.h:47
bool getDebugMode(void) const
Definition: OgreForwardPlusBase.h:195
float getMaxDistance(void) const
Definition: OgreForward3D.h:109
const Plane & getPlane(void) const
const FactoryMap & getOverlayElementFactoryMap() const
Get const access to the list of registered OverlayElement factories.
Definition: OgreOverlayManager.h:195
virtual void setSkeletalAnimationIncluded(bool included)
Sets whether a vertex program includes the required instructions to perform skeletal animation.
Definition: OgreGpuProgram.h:303
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
static ProgramManager * getSingletonPtr()
Override standard Singleton retrieval.
virtual const String & getType() const
bool isBatchUnused(void) const
Returns true if it no instanced entity has been requested or all of them have been removed.
Definition: OgreInstanceBatch.h:269
static D3DDECLTYPE get(VertexElementType vType)
Get vertex data type.
bool isDebugOutputEnabled() const
Get whether debug output is enabled for this log.
Definition: OgreLog.h:135
void setInitialised(bool flag)
Definition: OgreGL3PlusVertexArrayObject.h:51
static FFPRenderStateBuilder & getSingleton()
Override standard Singleton retrieval.
static Real Sin(Real fValue, bool useTables=false)
Sine function.
Definition: OgreMath.h:409
virtual void setAlphaTest(CompareFunction compareFunction, bool shadowCasterOnly=false)
Sets the alpha test to the given compare function.
Simple wrap up to load an AoS matrix 4x3 using SSE.
Definition: C/OgreArrayMatrixAf4x3.h:192
int area
Definition: OgreQuake3Types.h:172
ParticleAffector * _createAffector(const String &affectorType, ParticleSystem *psys)
Internal method for creating a new affector from a factory.
FrameBuffer
Definition: OgreRenderTarget.h:85
Real * getBoneWeightPtr(IdString boneName)
Gets a pointer current per-bone weight of a particular bone.
SharedPtrInfoFree(T *o)
Definition: OgreSharedPtr.h:100
@ ACT_LIGHT_CASTS_SHADOWS
Returns (int) 1 if the given light casts shadows, 0 otherwise (index set in extra param)
Definition: OgreGpuProgramParams.h:1130
Contains the data of an element of the BillboardChain.
Definition: OgreBillboardChain.h:86
static ParameterPtr createInPosition(int index)
void setFixedYawAxis(bool useFixed, const Vector3 &fixedAxis=Vector3::UNIT_Y)
Tells the camera whether to yaw around it's own local Y axis or a fixed axis of choice.
String getTopRightBorderUVString() const
virtual void setSkyBox(bool enable, const String &materialName, Real distance=5000, bool drawFirst=true, const Quaternion &orientation=Quaternion::IDENTITY, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Enables / disables a 'sky box' i.e.
Vector3 getDerivedDirection(void) const
Retrieves the direction of the light including any transform from nodes it is attached to.
static const IdString DiffuseMap
Definition: OgreHlmsUnlitMobile.h:105
virtual void setColour(const ColourValue &colourStart, const ColourValue &colourEnd)
Sets the range of colours for emitted particles.
StreamSerialiser * _readPageStream(PageID pageID, PagedWorldSection *section)
Get a serialiser set up to read Page data for the given PageID.
Real sphereRadius
Definition: OgreInstantRadiosity.h:183
bool eof(void) const
Returns true if the stream has reached the end.
float * getBlendPointer()
Get a pointer to the whole blend data.
Ogre::Any getValue() const
Return the current value as an Any.
Definition: OgreProperty.h:245
Definition: OgreLodData.h:135
UINT getAdapterNumber() const
Definition: OgreSkeletonAnimManager.h:48
Pass * getPass(const String &name)
Retrieves the Pass matching name.
GLES2NullTextureTarget(GLES2NullTexture *ultimateTextureOwner, const String &name, v1::HardwarePixelBuffer *buffer, uint32 zoffset)
void removeShaderProfile(const String &profile)
Remove a given shader profile, if present.
Definition: OgreRenderSystemCapabilities.h:605
@ M_SUBMESH_NAME_TABLE_ELEMENT
Definition: OgreMeshFileFormat.h:114
virtual void clearUAVs(void)
By default queueBindUAV will keep all other slots intact.
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
Real y
Definition: OgreQuaternion.h:320
T bottom
Definition: OgreCommon.h:735
Real distance(const Vector3 &v) const
Returns the minimum distance between a given point and any part of the box.
MapRange(typename T::iterator b, typename T::iterator e)
Constructor.
Definition: OgreIteratorRange.h:260
bool getInitialized()
Definition: OgreGL3PlusContext.h:58
This class defines a ParticleAffector which applies randomness to the movement of the particles.
Definition: OgreDirectionRandomiserAffector.h:48
bool isHardwareGammaReadToBeUsed() const
Indicates whether the hardware gamma is actually enabled and supported.
Definition: OgreD3D9Texture.h:203
AoS (array of structures) version of ArrayAabb.
Definition: C/OgreAabb.h:79
HlmsListener * getListener(void) const
Returns the current listener.
VertexTrackIterator getVertexTrackIterator(void) const
Get non-updateable iterator over node tracks.
Definition: OgreAnimation.h:433
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
void _calculateNumThreadGroupsBasedOnSetting()
INTERNAL USE.
Command Buffer implementation.
Definition: OgreCommandBuffer.h:52
const Plane & getFrustumPlane(unsigned short plane) const
Retrieves a specified plane of the frustum (world space).
virtual OverlayElement * clone(const String &instanceName)
Definition: OgreGL3PlusDepthTexture.h:37
uint16 getZOrder(void) const
Gets the Z-order of this overlay.
void doSet(void *target, const String &val)
ShadeOptions
Light shading modes.
Definition: OgreCommon.h:249
virtual void beginGPUSampleProfile(const String &name, uint32 *hashCache)
void unmap(size_t ticket)
Unmaps given ticket (got from.
virtual void bindBufferPS(uint16 slot)
Definition: OgreNULLConstBufferPacked.h:48
@ ACT_PSSM_SPLITS
Array of PSSM split points (pixel depth must be lower) in projection space.
Definition: OgreGpuProgramParams.h:1350
void executeCallback(MeshBuilderCallback *callback, const SimpleRenderable *simpleRenderable, size_t level, int inProcess) const
Executes a MeshBuilderCallback on this instance.
@ SPC_BINORMAL_VIEW_SPACE
Binormal in view space.
Definition: OgreShaderParameter.h:264
std::multimap< K, V, P, A >::const_iterator const_iterator
Definition: OgrePrerequisites.h:673
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:84
virtual void endOcclusionQuery()=0
Ends the hardware occlusion test.
Vector3 mDirection
Definition: OgreSegment.h:76
virtual void bakeManualLodLevel(LodData *data, String &manualMeshName, int lodIndex)=0
HashedVector(InputIterator a, InputIterator b)
Definition: OgreCommon.h:540
virtual void _processNextRequest()
Process the next request on the queue.
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
void _findNodes(const AxisAlignedBox &t, PCZSceneNodeList &list, PCZSceneNode *exclude, bool includeVisitors, bool full)
ImageDownsamplerCube downscale2x_sRGB_AXXX8888_cube
Definition: OgreImageDownsampler.h:193
static const IdString UvNormal
Definition: OgreHlmsPbs.h:364
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, size_t binding, const String &name="")
Create a uniform buffer.
static const bool value
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:101
virtual void lookAt(const Vector3 &targetPoint, TransformSpace relativeTo, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z)
Points the local -Z direction of this node at a point in space.
bool operator!=(const Radian &r) const
Definition: OgreMath.h:83
Archive * dataFolder
Definition: OgreHlms.h:179
size_t compressedSize
Compressed size.
Definition: OgreArchive.h:62
static const int PassMask
Definition: OgreHlms.h:903
virtual bool checkExtension(const String &ext) const
Check if an extension is available.
TRect< long > Rect
Structure used to define a rectangle in a 2-D integer space.
Definition: OgreCommon.h:831
size_t mGlobalIndex
Index in the vector holding this node reference (could be our parent node, or a global array tracking...
Definition: OgreBone.h:113
Definition: OgreCbDrawCall.h:84
virtual void abortRequest(RequestID id)=0
Abort a previously issued request.
int getGeometryProgramNumOutputVertices(void) const
Get the number of vertices a single geometry program run can emit.
Definition: OgreRenderSystemCapabilities.h:816
uint32 getWidth(void) const
Definition: OgreForward3D.h:104
virtual bool addRenderWindow(D3D9RenderWindow *renderWindow)
bool dualGridVisible
Flag whether the dualgrid is visible or not.
Definition: OgreVolumeChunk.h:112
virtual const String & getResourceGroupName(void) const
Return the resource group to be used to load dependent resources.
Definition: OgreParticleSystem.h:521
Real getNormalMapMipBias() const
Return the normal map mip bias value.
Definition: OgreShaderExNormalMapLighting.h:177
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
uint32 getHash() const
Get the hash value.
Definition: OgreCommon.h:650
Factory object for creating BillboardChain instances.
Definition: OgreBillboardChain.h:355
void makeTrans(const Vector3 &v)
Builds a translation matrix.
Definition: OgreMatrix4.h:426
bool isSelfOrChildRenderedAtCurrentLod() const
Returns whether this node or its children are being rendered at the current LOD level.
static Quaternion nlerp(Real fT, const Quaternion &rkP, const Quaternion &rkQ, bool shortestPath=false)
Performs Normalised linear interpolation between two quaternions, and returns the result.
void doSet(void *target, const String &val)
bool Inverse(Matrix3 &rkInverse, Real fTolerance=1e-06) const
void destroyMacroblock(const HlmsMacroblock *macroblock)
Destroys a macroblock created by HlmsManager::getMacroblock.
virtual ~GLSLProgramProcessor()
Class destructor.
map< String, TextureAtlasTablePtr >::type TextureAtlasMap
Definition: OgreShaderExTextureAtlasSampler.h:70
Real valueRadians() const
Definition: OgreMath.h:773
bool hwGammaCorrection
Definition: OgreHlmsTexturePack.h:63
Definition: OgreExternalTextureSource.h:93
virtual void removeAllKeyFrames(void)
Removes all the KeyFrames from this track.
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
void setDiffuseColour(const ColourValue &colour)
Sets the colour of the diffuse light given off by this source.
~GLES2DefaultHardwareBufferManager()
Definition: OgreGLES2DefaultHardwareBufferManager.h:168
FileSystemArchive(const String &name, const String &archType, bool readOnly)
Aabb getLocalAabb(void) const
Retrieves the local axis-aligned bounding box for this object.
@ TEXTURE_TYPE_MONOCHROME
Definition: OgreHlmsTextureManager.h:135
void setAmbient(const ColourValue &ambient)
Sets the ambient colour reflectance properties for every Pass in every Technique.
SharedPtr< ConcreteNodeList > ConcreteNodeListPtr
Definition: OgreScriptCompiler.h:65
virtual bool isHidden(void) const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreRenderWindow.h:147
void setEmittedEmitterQuota(size_t quota)
Sets the maximum number of emitted emitters this system is allowed to have active at once.
Definition: OgreNULLConstBufferPacked.h:38
virtual RenderTexture * getRenderTarget(size_t slice=0)
Get a render target for this PixelBuffer, or a slice of it.
Helper class to display the Aabb of a MovableObject as lines.
Definition: OgreWireAabb.h:21
void setPlane(const Vector3 ¢er, const Vector2 &halfSize, const Quaternion &orientation)
Sets the plane's position, size and orientation.
int32 _getProperty(IdString key, int32 defaultVal=0) const
Definition: OgreHlms.h:749
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Notifies the ultimate texture owner the buffer changed.
virtual void prepare(LodData *data)
virtual void load(bool synchronous)
Load this page.
@ SBO_SUBTRACT
Definition: OgreBlendMode.h:256
void getPosition(Real x, Real y, Real z, Vector3 *outWSpos) const
Convert a position from terrain basis space to world space.
void setNamedConstant(const String &name, uint val)
Sets a single value constant unsigned integer parameter to the program.
eD3DFilterUsage
enum identifying D3D9 filter usage type
Definition: OgreD3D9Mappings.h:59
float mFresnelG
Definition: OgrePbsMobileShaderCreationData.h:58
size_t getNumElements(void) const
Definition: OgreBufferPacked.h:285
virtual ~PagedWorldSectionFactory()
Definition: OgrePagedWorldSection.h:304
static const ArrayQuaternion IDENTITY
Definition: C/OgreArrayQuaternion.h:249
virtual void _notifyCurrentCamera(const Camera *cam)=0
Delegated to by ParticleSystem::_notifyCurrentCamera.
const String & getMaterialName(void) const
Retrieve the material name in use.
Definition: OgreManualObject.h:433
const Vector4 & getCustomParameter(uint16 index) const
Gets the custom value associated with this Light at the given index.
ArrayQuaternion Inverse(void) const
VertexData * getAssociatedVertexData(void) const
Gets the associated VertexData which this track will update.
Definition: OgreAnimationTrack.h:662
void setTwoSidedLighting(bool twoSided, bool changeMacroblock=true, CullingMode oneSidedShadowCast=CULL_ANTICLOCKWISE)
Allows support for two sided lighting.
virtual RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
Definition: OgreScriptCompiler.h:508
static ParameterPtr createInWeights(int index)
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
Animation * _getAnimationImpl(const String &name, const LinkedSkeletonAnimationSource **linker=0) const
Internal accessor for animations (returns null if animation does not exist)
void create(const String &name, unsigned int width, unsigned int height, unsigned int colourDepth, bool fullScreen, int left, int top, bool depthBuffer, void *miscParam,...)
bool isMrt() const
Definition: OgreCompositorChannel.h:64
const StringVector & getAnimableValueNames(void) const
Gets a list of animable value names for this object.
Definition: OgreAnimable.h:291
Vector3 randomDeviant(const Radian &angle, const Vector3 &up=Vector3::ZERO) const
Generates a new random vector which deviates from this vector by a given angle in a random direction.
Definition: OgreVector3.h:617
@ ERR_DUPLICATE_ITEM
Definition: OgreException.h:112
bool getNonPOW2TexturesLimited(void) const
Are non-power of two textures limited in features?
Definition: OgreRenderSystemCapabilities.h:774
int shader
Definition: OgreQuake3Types.h:186
Quake3Shader * create(const String &name)
Create implementation.
@ SKELETON_BONE
Definition: OgreSkeletonFileFormat.h:61
void operator=(const FastArray< T > ©)
Definition: OgreFastArray.h:125
vector< Pose * >::type PoseList
Definition: OgrePose.h:135
Wrap-around class that contains multiple ArrayMemoryManager, one per hierarchy depth.
Definition: OgreNodeMemoryManager.h:55
size_t calculateSize(void) const
void setEntryPoint(const String &entryPoint)
Sets the entry point for this program ie the first method called.
Definition: OgreCgProgram.h:137
float getLodTransition() const
Get the transition state between the current LOD and the next lower one (only valid after calculateCu...
Definition: OgreTerrainQuadTreeNode.h:256
NativeWindowType root
Definition: OgreX11EGLSupport.h:89
ConstBufferPacked * createConstBuffer(size_t sizeBytes, BufferType bufferType, void *initialData, bool keepAsShadow)
Creates an constant buffer based on the given parameters.
void enableClipPlane(ushort index, bool enable)
See RenderSystem.
virtual void setType(GpuProgramType t)
Set the program type (only valid before load)
static String TargetLanguage
Definition: OgreShaderCGProgramProcessor.h:72
virtual void messageLogged(const String &message, LogMessageLevel lml, bool maskDebug, const String &logName, bool &skipThisMessage)=0
Real nZ
Z component of the normal.
Definition: OgreVolumeMeshBuilder.h:60
DualCell(const Vector3 &c0, const Vector3 &c1, const Vector3 &c2, const Vector3 &c3, const Vector3 &c4, const Vector3 &c5, const Vector3 &c6, const Vector3 &c7)
Definition: OgreVolumeDualGridGenerator.h:53
void updateUniforms(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program object uniforms using data from GpuProgramParameters.
static void splitFullFilename(const Ogre::String &qualifiedName, Ogre::String &outBasename, Ogre::String &outExtention, Ogre::String &outPath)
Method for splitting a fully qualified filename into the base name, extension and path.
@ D3D_TEX_TYPE_VOLUME
volume texture
Definition: OgreD3D9Mappings.h:52
virtual_l1 void _detachAllBones(SkeletonInstance *skeletonInstance)
Detaches all bones from this SceneNode that belong to the given SkeletonInstance.
virtual void _cullPhase01(Camera *camera, const Camera *lodCamera, Viewport *vp, uint8 firstRq, uint8 lastRq)
Performs the frustum culling that will later be needed by _renderPhase02.
bool isVSyncEnabled() const
RenderWindow::isVSyncEnabled
virtual void postViewportUpdate(const RenderTargetViewportEvent &evt)
Definition: OgreRenderTargetListener.h:128
Command object for billboard origin (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:71
~Singleton(void)
Definition: OgreSingleton.h:88
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
void requestRenderBuffer(const GLES2SurfaceDesc &surface)
Request the specify render buffer in case shared somewhere.
@ SBT_MODULATE
Multiply the 2 colours together.
Definition: OgreBlendMode.h:224
static const IdString UvDiffuseSwizzle3
Definition: OgreUnlitProperty.h:95
static unsigned int getFlags(PixelFormat format)
Returns the property flags for this pixel format.
Real getLeftBorderSize(void) const
Gets the size of the left border.
void blit(const v1::HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
bool equalNonPod(const HlmsPso &_r) const
Definition: OgreHlmsPso.h:210
size_t getFragmentShaderCount() const
Return the current number of generated fragment shaders.
virtual void _detachDepthBuffer()
Detaches DepthBuffer without notifying it from the detach.
HardwareOcclusionQuery * createHardwareOcclusionQuery(void)
Create an object for performing hardware occlusion queries.
Device manager interface.
Definition: OgreD3D9DeviceManager.h:41
TerrainGroup(SceneManager *sm, Terrain::Alignment align, uint16 terrainSize, Real terrainWorldSize)
Constructor.
int height
Definition: OgreX11EGLSupport.h:89
void _setBounds(const Aabb &bounds, bool pad=true)
Manually set the bounding box for this Mesh.
uint64 hashVal[2]
Definition: OgreGpuProgramManager.h:57
long getSeed(void) const
Gets the current seed.
virtual void clearChain(size_t chainIndex)
Remove all elements of a given chain (but leave the chain intact).
void changeVolumeData(uint32 x, uint32 y, uint32 z, uint32 direction_id, const Vector3 &delta)
GLuint getGLID() const
Definition: OgreGLES2Texture.h:58
virtual void copyFrom(const SubRenderState &rhs)
void setLightmapEnabled(bool enabled)
Whether to support a light map over the terrain in the shader, if it's present (default true).
Hlms::RenderableCache renderableCache
Definition: OgreHlmsDiskCache.h:147
static void gaussFilterX(float *RESTRICT_ALIAS dstData, float *RESTRICT_ALIAS srcData, size_t texWidth, size_t texHeight, size_t texDepth, const float *RESTRICT_ALIAS kernel, int kernelStart, int kernelEnd)
#define _OgreHlmsCommonExport
Definition: OgreHlmsBufferManager.h:52
virtual void setMorphAnimationIncluded(bool included)
Sets whether a vertex program includes the required instructions to perform morph animation.
Definition: OgreGpuProgram.h:320
const String & getType(void) const
Returns the factory type.
virtual void addRenderQueueListener(RenderQueueListener *newListener)
Registers a new RenderQueueListener which will be notified when render queues are processed.
virtual void setToLoaded(void)
Change the Resource loading state to loaded.
Definition: OgreResource.h:352
static Radian ACos(Real fValue)
Arc cosine function.
@ NUM_UNLIT_BLEND_MODES
Definition: OgreHlmsUnlitPrerequisites.h:77
Definition: OgreGL3PlusVaoManager.h:58
vector< LODBucket * >::type LODBucketList
list of LOD Buckets in this region
Definition: OgreStaticGeometry.h:369
@ ID_DEPTH_FUNC
Definition: OgreScriptCompiler.h:670
const RenderSystemCapabilities * getCapabilities(void) const
Gets the capabilities of the render system.
Definition: OgreRenderSystem.h:1108
CompositorPassCompute(const CompositorPassComputeDef *definition, Camera *defaultCamera, CompositorNode *parentNode, const CompositorChannel &target)
static uint32 convertColourValue(const ColourValue &src, VertexElementType dst)
Utility method for converting colour to a packed 32-bit colour type.
@ LocalAabb
Definition: OgreArrayMemoryManager.h:367
String validateConfig(void)
Make sure all the extra options are valid.
void _setTexture(size_t unit, bool enabled, const TexturePtr &texPtr)
const String & getName() const
Get the name of the plugin.
@ DefaultUncorrelated
Same as Default, but the geometry term is not height-correlated which most notably causes edges to be...
Definition: OgreHlmsPbsDatablock.h:112
ManualObject(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
static const IdString DiffuseMapCount5
Definition: OgreHlmsUnlitMobile.h:113
virtual bool requiresTextureFlipping() const
Definition: OgreD3D11NullTexture.h:110
virtual ~PlaneBoundedVolumeListSceneQuery()
PlaneBoundedVolumeListSceneQuery * createPlaneBoundedVolumeQuery(const PlaneBoundedVolumeList &volumes, uint32 mask=0xFFFFFFFF)
Creates a PlaneBoundedVolumeListSceneQuery for this scene manager.
void clip(const Frustum &frustum)
Clips the body with a frustum.
uint8 numPssmSplits
Number of PSSM splits. In range [2; 4]. Ignored for non-PSSM techniques.
Definition: OgreCompositorShadowNode.h:363
virtual void unmap(UnmapOptions unmapOption, size_t flushStartElem=0, size_t flushSizeElem=0)=0
bool prepare(const ImportData &importData)
Prepare the terrain from some import data rather than loading from native data.
map< String, ParticleAffectorFactory * >::type ParticleAffectorFactoryMap
Definition: OgreParticleSystemManager.h:83
virtual void ready(const SimpleRenderable *simpleRenderable, const VecVertex &vertices, const VecIndices &indices, size_t level, int inProcess)=0
To be called with the callback function of a MeshBuilder.
@ AreaLightMasks
Definition: OgreSceneFormatBase.h:75
size_t intBufferSize
Total size of the int buffer required.
Definition: OgreGpuProgramParams.h:483
static const size_t OCTREE_CHILDREN_COUNT
Even in an OCtree, the amount of children should not be hardcoded.
Definition: OgreVolumeOctreeNode.h:81
static const IdString UvDiffuseSwizzle0
Definition: OgreUnlitProperty.h:92
HlmsUnlit(Archive *dataFolder, ArchiveVec *libraryFolders, HlmsTypes type, const String &typeName)
static const IdString LightsAreaLtc
Definition: OgreHlms.h:805
virtual void _renderEmulated(const CbDrawCallStrip *cmd)
This class is the base interface of sub part from a shader based rendering pipeline.
Definition: OgreShaderSubRenderState.h:52
static GLenum getGLType(unsigned int type)
Utility function to get the correct GL type based on VET's.
CbType
Definition: OgreCbCommon.h:36
MapIterator< ChildMap > ChildIterator
Definition: OgreOverlayContainer.h:60
static const IdString NormalWeightDetail2
Definition: OgreHlmsPbsMobile.h:122
list< ChannelRoute >::type ChannelRouteList
Definition: OgreCompositorWorkspaceDef.h:71
void setWorkflow(Workflows workflow)
Sets whether to use a specular workflow, or a metallic workflow.
virtual ~FreeImageCodec()
Definition: OgreFreeImageCodec.h:62
MeshPtr clone(const String &newName, const String &newGroup=BLANKSTRING)
Makes a copy of this mesh object and gives it a new name.
TrackVertexColourType getVertexColourTracking(void) const
Gets which material properties follow the vertex colour.
virtual void createVertexBuffers(VertexBufferPackedVec &outVertexBuffers, size_t numVertices, void *const *initialData, bool keepAsShadow)=0
Creates a vertex buffer based on the given parameters.
@ PF_R5G6B5
16-bit pixel format, 5 bits red, 6 bits green, 5 bits blue.
Definition: OgrePixelFormat.h:61
GLuint getGLFBOID() const
Get the GL id for the FBO.
Definition: OgreGLES2FrameBufferObject.h:73
bool getBackwardsCompatibility(void) const
Gets whether backwards compatibility mode should be enabled.
Definition: OgreD3D9HLSLProgram.h:194
Specialisation of HardwareBufferManager to emulate hardware buffers.
Definition: OgreGLES2DefaultHardwareBufferManager.h:131
@ ET_PROJECTIVE_TEXTURE
Generate texture coords based on a frustum.
Definition: OgreTextureUnitState.h:75
int back
Definition: OgreQuake3Types.h:166
virtual void bindBufferCS(uint16 slot)
Definition: OgreNULLConstBufferPacked.h:52
void clearPendingLodRequests()
CbBase * getCommandFromOffset(size_t offset)
Retrieves the command from the given offset.
static Real Tan(Real fValue, bool useTables=false)
Tangent function.
Definition: OgreMath.h:489
virtual void extractLayoutQualifiers(void)
Finds layout qualifiers in the shader source and sets attribute indices appropriately.
Command object for area emitter size (see ParamCommand).
Definition: OgreAreaEmitter.h:59
const String & getName(void) const
Gets the name of the technique.
Definition: OgreTechnique.h:436
static const String & getPointLightExtruderVs_1_1(void)
Get extruder program source for point lights, compatible with vs_1_1.
Definition: OgreShadowVolumeExtrudeProgram.h:235
Image & load(DataStreamPtr &stream, const String &type=BLANKSTRING)
Loads an image file from a stream.
void doSet(void *target, const String &val)
XRRScreenSize * XRRConfigSizes(XRRScreenConfiguration *config, int *nSizes)
@ ACT_SINTIME_0_2PI
Sine of "Time0_2PI". Equivalent to RenderMonkey's "SinTime0_2PI".
Definition: OgreGpuProgramParams.h:1207
virtual void updateCompositorManager(CompositorManager2 *compositorManager, SceneManagerEnumerator &sceneManagers, HlmsManager *hlmsManager)
This gives the renderer a chance to perform the compositor update in a special way.
@ WORLD_SPACE_CORNERS_CENTERED
Definition: OgreCompositorPassQuadDef.h:80
ImageDownsamplerCube downscale2x_Signed_XXXA8888_cube
Definition: OgreImageDownsampler.h:122
void setLeft(Real left)
Sets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right)
static CmdScaleAdjust msScaleCmd
Definition: OgreScaleAffector.h:72
Factory object for creating RibbonTrail instances.
Definition: OgreRibbonTrail.h:228
ConstMapIterator< AnimationStateMap > ConstAnimationStateIterator
Definition: OgreAnimationState.h:190
virtual void OldNodeUpdated(const OldNode *)
Called when a OldNode gets updated.
Definition: OgreOldNode.h:96
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
~PCZAxisAlignedBoxSceneQuery()
Base for an iterator_range.
Definition: OgreIteratorRange.h:69
uint32 getTypeFlags(void) const
Override to return specific type flag.
virtual void unloadingComplete(Resource *)
Called whenever the resource has been unloaded.
Definition: OgreResource.h:111
static const IdString NormalMap
Definition: OgreHlmsPbs.h:339
static unsigned int modeCount
Definition: OgreD3D11VideoMode.h:35
virtual const SkyBoxGenParameters & getSkyBoxGenParameters(void) const
Get the parameters used to generate the current SkyBox, if any.
Definition: OgreSceneManager.h:2273
void lock(HardwareBuffer *p, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:385
virtual Real getLoadRadius() const
Get the loading radius.
Definition: OgreGrid2DPageStrategy.h:167
@ SPC_LIGHTPOSITIONVIEW_SPACE4
Definition: OgreShaderParameter.h:231
DXGI_MODE_DESC getModeDesc() const
static VertexElementType getBestColourVertexElementType(void)
Utility method to get the most appropriate packed colour vertex element format.
Definition: OgreMeshSerializer.h:198
virtual void resetFrustumExtents()
Reset the frustum extents to be automatically derived from other params.
static ExternalTextureSourceManager & getSingleton(void)
Override standard Singleton retrieval.
virtual ViewPoint getSuggestedViewpoint(bool random=false)
Asks the SceneManager to provide a suggested viewpoint from which the scene should be viewed.
Vector4 getPackedTextureSize(size_t index) const
virtual void _findNodes(const Sphere &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)=0
uint8 getBlendTextureIndex(uint8 layerIndex) const
Get the index of the blend texture that a given layer uses.
static ArrayInt SetAll(uint32 val)
Definition: OgreMathlibC.h:273
Real getSinTime_0_2Pi(Real x) const
String doGet(const void *target) const
virtual void load(SceneNode *parent, const Vector3 &from, const Vector3 &to, size_t level, const ChunkParameters *parameters)
Loads the volume mesh with all LODs.
virtual KeyFrame * createKeyFrame(Real timePos)
Creates a new KeyFrame and adds it to this animation at the given time index.
int border_pixel
Definition: OgreX11EGLSupport.h:90
@ ID_PSSM_SPLIT_FADE
Definition: OgreScriptCompiler.h:954
SceneManagerEnumerator::SceneManagerIterator getSceneManagerIterator(void)
Get an iterator over all the existing SceneManager instances.
@ PBSM_BLEND_NORMAL_PREMUL
Premultiplied alpha blending.
Definition: OgreHlmsPbsPrerequisites.h:82
Specialisation of PageStrategyData for Grid3DPageStrategy.
Definition: OgreGrid3DPageStrategy.h:105
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
String mFactoryTypeName
Factory type name.
Definition: OgrePCZoneFactory.h:59
ImageDownsamplerCube downscale2x_Float32_XX_cube
Definition: OgreImageDownsampler.h:158
String getBottomBorderUVString() const
TextureCubeFace
Enum identifying the frame indexes for faces of a cube map (not the composite 3D type.
Definition: OgreTextureUnitState.h:123
virtual void requestUpdate(OldNode *child, bool forceParentUpdate=false)
Called by children to notify their parent that they need an update.
VertexPoseKeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
bool areFixedFunctionLightsInViewSpace() const
See RenderSystem.
Definition: OgreGL3PlusRenderSystem.h:311
@ LBT_ALPHA
Definition: OgreBlendMode.h:47
@ ENV_REFLECTION
Envmap intended to supply reflection vectors for cube mapping.
Definition: OgreTextureUnitState.h:101
@ PF_D24_UNORM_X8
Depth texture format. 24 bits for depth.
Definition: OgrePixelFormat.h:340
void releaseSurfaces(IDirect3DDevice9 *d3d9Device)
Release surfaces held by this pixel buffer.
virtual bool postCreateGpuPrograms(ProgramSet *programSet)
virtual ScriptTranslator * getTranslator(const AbstractNodePtr &)=0
Returns a manager for the given object abstract node, or null if it is not supported.
@ TU_WRITE_ONLY
same as HardwareBuffer::HBU_WRITE_ONLY
Definition: OgreTexture.h:55
CompositorPassDepthCopy(const CompositorPassDepthCopyDef *definition, const CompositorChannel &target, CompositorNode *parentNode)
virtual const SkyPlaneGenParameters & getSkyPlaneGenParameters(void) const
Get the parameters used to construct the SkyPlane, if any.
Definition: OgreSceneManager.h:2178
bool isVSyncEnabled() const
RenderWindow::isVSyncEnabled
void setAll(const Quaternion &v)
Definition: C/OgreArrayQuaternion.h:111
@ PROP_REAL
Definition: OgreProperty.h:113
uint16 mTexLightMaskDiffuseMipStart
Control the start of mip level for diffuse component for area lights The value is UNORM,...
Definition: OgreLight.h:582
bool pullOcclusionQuery(unsigned int *NumOfFragments)
Pulls the hardware occlusion query.
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
Information about a remapped index.
Definition: OgreTangentSpaceCalc.h:60
void setTimePosition(Real timePos)
Sets the time position for this animation.
static void toTitleCase(String &str)
Upper-cases the first letter of each word.
@ ID_SHADOW
Definition: OgreScriptCompiler.h:801
virtual void swapBuffers(void)
Swaps the frame buffers to display the next frame.
LogMessageLevel
The importance of a logged message.
Definition: OgreLog.h:67
FastArray< VertexArrayObject * > VertexArrayObjectArray
Definition: OgreRenderable.h:48
void endOcclusionQuery()
Ends the hardware occlusion test.
void setProfileGroupMask(uint32 mask)
Set the mask which all profiles must pass to be enabled.
Definition: OgreProfiler.h:505
TemplateIterator getTemplateIterator()
Returns an iterator over all templates in this manager.
Definition: OgreOverlayManager.h:211
virtual void write(const Quaternion *q, size_t count=1)
void removeProperty(const String &name)
Removes the named property from the property set.
void bindGpuProgramPassIterationParameters(GpuProgramType gptype)
Only binds Gpu program parameters used for passes that have more than one iteration rendering.
HardwarePixelBufferSharedPtr getBuffer(size_t face, size_t mipmap)
Return hardware pixel buffer for a surface.
static void createTextures(const TextureDefinitionVec &textureDefs, CompositorChannelVec &inOutTexContainer, IdType id, const RenderTarget *finalTarget, RenderSystem *renderSys)
Utility function to create the textures based on a given set of texture definitions and put them in a...
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
@ TFO_TRILINEAR
Equal to: min=FO_LINEAR, mag=FO_LINEAR, mip=FO_LINEAR.
Definition: OgreCommon.h:220
@ TID_WORD
Definition: OgreScriptLexer.h:52
static const int ShaderShift
Definition: OgreRenderQueue.h:270
virtual_l1 void colour(const ColourValue &col)
Add a vertex diffuse colour to a vertex.
virtual void _hlmsSamplerblockCreated(HlmsSamplerblock *newBlock)
@ CB_SET_TEXTURE_BUFFER_HS
Definition: OgreCbCommon.h:56
#define OGRE_MAX_SIMULTANEOUS_LIGHTS
Define max number of lights allowed per pass.
Definition: OgreConfig.h:81
virtual int getExecutionOrder() const
const String & getLanguage(void) const
Overridden from GpuProgram.
static const IdString UvDiffuseSwizzle8
Definition: OgreUnlitProperty.h:100
const Frustum * frustum
Definition: OgreTextureUnitState.h:144
PCZCamera(const String &name, SceneManager *sm)
NULLTexBufferPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, NULLBufferInterface *bufferInterface, Ogre::PixelFormat pf)
HlmsDatablock * getDefaultDatablock(void) const
Datablock to use when another datablock failed or none was specified.
Real distance(const Vector3 &v) const
Returns the minimum distance between a given point and any part of the box.
Definition: OgreAxisAlignedBox.h:792
virtual const Vector3 & getOrigin(void) const
Gets the origin of this geometry.
Definition: OgreStaticGeometry.h:687
void _writeRawConstants(size_t physicalIndex, const float *val, size_t count)
Write a series of floating point values into the underlying float constant buffer at the given physic...
virtual void getAABB(AxisAlignedBox &)
Get the world coordinate aabb of the zone.
String doGet(const void *target) const
void markGPUEvent(const String &event)
Mark a specific, ungrouped, GPU event.
PbsMobileBlendModes
Definition: OgreHlmsPbsMobilePrerequisites.h:74
virtual void cameraPreRenderScene(Camera *cam)
Called prior to the scene being rendered with this camera.
Definition: OgreCamera.h:94
static ArrayMaskR CompareLessEqual(ArrayReal a, ArrayReal b)
Returns the result of "a <= b".
Definition: OgreMathlibC.h:245
static ErrorHandlerFunc ErrorHandler
A pointer to the preprocessor's error handler.
Definition: OgreGLSLPreprocessor.h:535
~D3D11HardwareIndexBuffer()
float getHeightAtPoint(long x, long y) const
Get the height data for a given terrain point.
ShaderParameterList::const_iterator ShaderParameterConstIterator
Definition: OgreShaderParameter.h:370
virtual bool postCreateGpuPrograms(ProgramSet *programSet)
virtual void notifyWorldGeometryRenderQueue(uint8 qid)
Called by PCZSM during setWorldGeometryRenderQueue()
bool canHandleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
virtual void showBoundingBoxes(bool bShow)
Allows all bounding boxes of scene nodes to be displayed.
vector< RenderWindow * >::type RenderWindowList
Render window container.
Definition: OgreCommon.h:942
DynLib(const String &name)
Default constructor - used by DynLibManager.
D3D11VideoMode * item(const String &name)
size_t getIndexDataEndIndex() const
Returns the current value of the start index used for drawing.
GeneralAllocatedObject TimerAlloc
Definition: OgreMemoryAllocatorConfig.h:339
void push_back(const T &t)
Definition: OgreCommon.h:570
CgProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, CGcontext context)
BindingType getBindingType(void) const
Gets the type of unit these texture settings should be bound to.
LodStrategy * strategy
The mesh which we want to reduce.
Definition: OgreLodConfig.h:128
static const IdString ForwardPlus
Definition: OgreHlms.h:831
static ShaderGenerator & getSingleton()
Override standard Singleton retrieval.
virtual void pitch(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the OldNode around the X-axis.
static MeshLodGenerator * getSingletonPtr()
void setComputeProgramConstantIntCount(ushort c)
The number of integer constants compute programs support.
Definition: OgreRenderSystemCapabilities.h:918
@ CULL_ANTICLOCKWISE
Hardware culls triangles whose vertices are listed anticlockwise in the view.
Definition: OgreCommon.h:289
bool isDepthTexture(void) const
void setBoundingBox(const AxisAlignedBox &box)
virtual int getExecutionOrder() const
void setTessellationDomainProgramConstantFloatCount(ushort c)
The number of floating-point constants tessellation Domain programs support.
Definition: OgreRenderSystemCapabilities.h:882
void renumerate()
Definition: OgreLod0Stripifier.h:78
Real squaredDistance(const Vector3 &rhs) const
Returns the square of the distance to another vector.
Definition: OgreVector3.h:404
String doGet(const void *target) const
Definition: OgreResourceGroupManager.h:194
Predefined controller function which simply scales an input to an output value.
Definition: OgrePredefinedControllers.h:218
void bindToFramebuffer(GLenum target=GL_FRAMEBUFFER)
static unsigned int floatToFixed(const float value, const unsigned int bits)
Convert floating point colour channel value between 0.0 and 1.0 (otherwise clamped) to integer of a c...
Definition: OgreBitwise.h:230
virtual const Chunk * readChunkBegin(uint32 id, uint16 maxVersion, const String &msg=BLANKSTRING)
Reads the start of the next chunk so long as it's of a given ID and version.
int brush_start
Definition: OgreQuake3Types.h:176
virtual ~MetalTextureBuffer()
Archive-handling class.
Definition: OgreArchive.h:87
void clear(void)
Empty the queue - should only be called by SceneManagers.
virtual Node * createChild(SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC, const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates an unnamed new Node as a child of this node.
BGRA getAsBGRA(void) const
Retrieves colour as BGRA.
virtual void setAlphaTest(CompareFunction compareFunction)
@ ACT_SPOTLIGHT_VIEWPROJ_MATRIX_ARRAY
Array of view/projection matrix of a given spotlight.
Definition: OgreGpuProgramParams.h:1156
MemoryTypes
Definition: OgreArrayMemoryManager.h:364
@ VET_USHORT1_DEPRECATED
Definition: OgreVertexElements.h:91
void setFrame(Real frame)
Sets the animation to a particular frame.
void _removeNode(PCZSceneNode *)
Removes an PCZscene node to this octree level.
NSOpenGLContext * nsopenGLContext() const
Definition: OgreOSXCocoaWindow.h:77
virtual uint32 fillBuffersForV2(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
static const char * DetailMapNmN
Definition: OgreHlmsPbs.h:332
void notifyRecreated(const UavBufferPacked *oldBuffer, UavBufferPacked *newBuffer)
void _clearUpdatedFlag(void)
void removeTextureAtlasTable(const String &textureName)
Removes the texture atlas information from a given texture.
@ ID_CULL_REUSE_DATA
Definition: OgreScriptCompiler.h:870
size_t getNumMaterials(void) const
Definition: OgreStaticGeometry.h:348
virtual const String & getType() const
virtual void setBillboardType(BillboardType bbt)
Sets the type of billboard to render.
static const IdString Macroblock
Definition: OgreHlms.h:879
ParticleSystemRenderer * createInstance(const String &name)
Creates a new object.
bool cullingLights
Definition: OgreSceneManager.h:165
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Notifies the ultimate texture owner the buffer changed.
@ BT_DYNAMIC_PERSISTENT
Same as BT_DYNAMIC, but mapping will be persistent.
Definition: OgreBufferPacked.h:59
T operator--(int)
Definition: OgreAtomicObject.h:95
@ ID_TEX_COORD_SET
Definition: OgreScriptCompiler.h:735
@ RSC_GL1_5_NOHWOCCLUSION
Support for GL 1.5 but without HW occlusion workaround.
Definition: OgreRenderSystemCapabilities.h:231
Class representing a single particle instance.
Definition: OgreParticle.h:63
IDirect3DBaseTexture9 * getTexture()
retrieves a pointer to the actual texture
String doGet(const void *target) const
void setBillboardType(BillboardType bbt)
Sets the type of billboard to render.
@ PARTIAL
Definition: OgrePCZCamera.h:59
void destroyData(PageStrategyData *d)
Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
void setOrigin(const Vector3 &newOrigin)
void XRRSetScreenConfigAndRate(Display *nativeDisplayType, XRRScreenConfiguration *config, Window window, int size, Rotation rotation, int mode, int currentTime)
HashedVector()
Definition: OgreCommon.h:533
@ SPC_POSITION_OBJECT_SPACE
Position in object space.
Definition: OgreShaderParameter.h:81
void doSet(void *target, const String &val)
virtual void setValue(const Vector2 &)
Set value.
Definition: OgreAnimable.h:156
reference operator[](unsigned idx)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:317
Quaternion Inverse() const
Definition: OgreGL3PlusDepthTexture.h:74
String doGet(const void *target) const
@ VET_UBYTE4_NORM
Definition: OgreVertexElements.h:105
void unlinkWorldGeometryFromResourceGroup(const String &group)
Clear any link to world geometry from a resource group.
size_t getNumUavUnits(void) const
Definition: OgreHlmsComputeJob.h:309
virtual void unlock(void)
Releases the lock on this buffer.
Definition: OgreHardwareBuffer.h:238
NULLRenderTexture(v1::HardwarePixelBuffer *buffer, size_t zoffset)
Definition: OgreNULLTexture.h:84
static D3DTEXTURESTAGESTATETYPE get(LayerBlendType lbt)
return a D3D9 equivalent for a Ogre LayerBlendType value
uint32 readBarrierBits
Definition: OgreResourceTransition.h:128
void setCurrentRenderable(const Renderable *rend)
Updates the current renderable.
static const String & getPointLightExtruderVs_4_0FiniteDebug(void)
Get extruder program source for debug point lights, compatible with vs_4_0.
Definition: OgreShadowVolumeExtrudeProgram.h:306
static void unmapAsyncTickets(ReadRequestsArray &tickets)
Unmaps the buffers mapped via.
Command object for red adjust (see ParamCommand).
Definition: OgreColourFaderAffector.h:49
void setPageResourceGroup(const String &g)
Set the resource group that will be used to read/write files when the default load routines are used.
Definition: OgrePageManager.h:388
v1::IndexData * indexData
Definition: OgreVertexShadowMapHelper.h:127
void _setMaxUsedSlot(uint32 slot)
Definition: OgreSkeletonTrack.h:93
NodeMemoryManager & _getNodeMemoryManager(SceneMemoryMgrTypes sceneType)
Definition: OgreSceneManager.h:1389
void setBlank(void)
Sets this texture layer to be blank.
Quaternion UnitInverse() const
Apply to non-zero quaternion.
virtual ~GL3PlusMultiSourceVertexBufferPool()
uint32 bindSizeBytes
Definition: OgreCbShaderBuffer.h:42
vector< MovableObject * >::type ObjectVec
Definition: OgreSceneNode.h:59
Real tempSquareDist
Temp tag used for sorting.
Definition: OgreLight.h:76
const GpuProgramPtr & getVertexProgram(void) const
Gets the vertex program used by this pass, only available after _load().
virtual void destroyAffector(ParticleAffector *e)
Destroys the affector pointed to by the parameter (for early clean up if required).
@ WFT_CUSTOM_GEOMETRY
Custom geometry as defined by the SceneManager.
Definition: OgreSceneQuery.h:85
Renderable * renderable
Definition: OgrePlanarReflections.h:78
ImageDownsamplerCube downscale2x_XX88_cube
Definition: OgreImageDownsampler.h:78
void load(DataStreamPtr &dataStream, HlmsPropertyVec &properties)
DataStreamPtr create(const String &filename)
Create a new file (or overwrite one already there).
size_t mWidthFloatsPadding
Definition: OgreInstanceBatchHW_VTF.h:69
static void getDefaultPaths(String &outDataFolderPath, StringVector &outLibraryFoldersPaths)
Fill the provided string and string vector with all the sub-folder needed to instantiate an HlmsPbs o...
DataStream & operator>>(T &val)
@ PF_R16G16_UINT
32-bit pixel format, 16 bits red (unsigned int), 16 bits blue (unsigned int).
Definition: OgrePixelFormat.h:170
virtual void bindBufferDS(uint16 slot)
Definition: OgreNULLConstBufferPacked.h:51
IdString(uint32 value)
Definition: OgreIdString.h:124
virtual void readData(size_t offset, size_t length, void *pDest)
Reads data from the buffer and places it in the memory pointed to by pDest.
@ PF_BYTE_RGB
3 byte pixel format, 1 byte for red, 1 byte for green, 1 byte for blue
Definition: OgrePixelFormat.h:99
PCZIntersectionSceneQuery(SceneManager *creator)
void lookAt(Real x, Real y, Real z)
Points the camera at a location in worldspace.
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, const TextureUnitState *srcTextureUnit, const TextureUnitState *dstTextureUnit)
ResourceType
Definition: OgreScriptCompiler.h:511
Vector4 transformAffine(const Vector4 &v) const
4-D Vector transformation specially for an affine matrix.
Definition: OgreMatrix4.h:698
void removeAllShaderBasedTechniques()
Remove all shader based techniques that created by this shader generator.
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
Implementation for WorkQueue::ResponseHandler.
TexBufferPacked * getPoseTexBuffer() const
void setLastVisibleFrame(unsigned long newLVF)
Definition: OgrePCZSceneNode.h:111
Real mVplMaxRange
ANY CHANGE TO A mVpl* variable will take effect after calling updateExistingVpls (or calling build) H...
Definition: OgreInstantRadiosity.h:201
size_t getFirstNode(BoneTransform &outTransform)
Retrieves a BoneTransform pointing to the first Bone.
Real Dot(const Quaternion &rkQ) const
Returns the dot product of the quaternion.
@ TVC_SPECULAR
Definition: OgreCommon.h:327
@ ID_SCROLL_Y
Definition: OgreScriptCompiler.h:787
virtual size_t getNumChainElements(size_t chainIndex) const
Returns the number of chain elements.
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
#define _OgreOverlayExport
Definition: OgreOverlayPrerequisites.h:69
SceneManager * getActiveSceneManager()
Get the active scene manager that is doint the actual scene rendering.
const Vector3 & _getBindingPoseInversePosition(void) const
Gets the inverted binding pose position.
Definition: OgreOldBone.h:121
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Definition: OgreNULLTexBufferPacked.h:54
bool isClosed(void) const
RenderWindow::isClosed
void setDefaultMinPixelSize(Real pixelSize)
Set the default minimum pixel size for object to be rendered by.
Definition: OgreRoot.h:1084
DataStreamPtr encode(const String &formatextension)
Encode the image and return a stream to the data.
map< size_t, Vector4 >::type CustomParameterMap
Definition: OgreRenderable.h:301
@ ACT_TEXEL_OFFSETS
Provides the texel offsets required by this rendersystem to map texels to pixels.
Definition: OgreGpuProgramParams.h:1288
@ GCT_DOUBLE1
Definition: OgreGpuProgramParams.h:94
virtual void setEnabled(bool enabled)
Sets whether or not the emitter is enabled.
const String & getLodStrategyName(void) const
Returns the name of the Lod strategy the user lod values have been calibrated for.
Definition: OgreMesh2.h:337
IndexRemapList indexesRemapped
A list of indexes which were affected by splits.
Definition: OgreTangentSpaceCalc.h:87
virtual VertexBufferBinding * createVertexBufferBinding(void)
Creates a new VertexBufferBinding.
Definition: OgreHardwareBufferManager.h:488
Radian getPitch(bool reprojectAxis=true) const
Calculate the local pitch element of this quaternion.
void doSet(void *target, const String &val)
Definition: OgreAtomicObject.h:43
Command object for sorting (see ParamCommand).
Definition: OgreParticleSystem.h:120
static String Type
Definition: OgreShaderFFPColour.h:116
virtual_l1 void textureCoord(const Vector2 &uv)
Add a texture coordinate to the current vertex.
~MovablePlane()
Definition: OgreMovablePlane.h:75
virtual ~MeshSerializer()
virtual int getExecutionOrder() const
Display * XOpenDisplay(int num)
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
virtual ~RegionSceneQuery()
static const IdString UvAtlas4
Definition: OgreHlmsUnlitMobile.h:147
VertexBufferBinding()
Constructor, should not be called direct, use HardwareBufferManager::createVertexBufferBinding.
int getNumLeaves(void) const
Gets the number of leaf nodes.
Definition: OgreBspLevel.h:86
bool cloneShaderBasedTechniques(const String &srcMaterialName, const String &srcGroupName, const String &dstMaterialName, const String &dstGroupName)
Clone all shader based techniques from one material to another.
void destroyRenderTarget(const String &name)
Destroys the given named RenderTarget.
void setConstantFromTime(size_t index, Real factor)
Sets a named parameter up to track a derivation of the current time.
float Real
Software floating point type.
Definition: OgrePrerequisites.h:72
int initial_state
Definition: OgreX11EGLSupport.h:87
virtual bool resolveParameters(ProgramSet *programSet)=0
void unload()
Unloads the archive.
@ ID_ONE_MINUS_SRC_ALPHA
Definition: OgreScriptCompiler.h:661
@ M_EDGE_LISTS
Definition: OgreMeshFileFormat.h:119
static const int TransparencyShift
Definition: OgreRenderQueue.h:268
ParticleEmitter * createEmitter(ParticleSystem *psys)
See ParticleEmitterFactory.
Definition: OgrePointEmitterFactory.h:54
virtual const Vector3 & getOrigin(const Vector3 &worldOrigin)
Get the origin of the grid in world space.
Definition: OgreGrid2DPageStrategy.h:159
FunctionInvocation(const FunctionInvocation &rhs)
Copy constructor.
const VertexArrayObjectArray & getVaos(VertexPass vertexPass) const
Definition: OgreRenderable.h:384
void load(DataStreamPtr &dataStream, String &string)
static ParameterPtr createInTexcoord(GpuConstantType type, int index, Parameter::Content content)
virtual void _hlmsBlendblockDestroyed(HlmsBlendblock *block)
Definition: OgreRenderSystem.h:804
String doGet(const void *target) const
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
RenderTarget::copyContentsToMemory
RenderSystemCapabilitiesManager()
Default constructor.
ConstMapRange(typename T::const_iterator b, typename T::const_iterator e)
Constructor.
Definition: OgreIteratorRange.h:311
static const IdString FresnelScalar
Definition: OgreHlmsPbs.h:341
#define OGRE_MAX_TEXTURE_LAYERS
Define max number of texture layers allowed per pass on any card.
Definition: OgreConfig.h:77
void getConstantBuffers(ID3D11Buffer **buffers, UINT &outSlotStart, UINT &outNumBuffers, GpuProgramParametersSharedPtr params, uint16 variabilityMask)
buffers must have a capacity of 2, i.e. ID3D11Buffer *buffers[2];
RenderToVertexBufferSharedPtr createRenderToVertexBuffer()
Create a render to vertex buffer.
@ VS_FRONT
The side from which u goes right and v goes up (as in texture coords)
Definition: OgrePatchSurface.h:73
~GL3PlusBufferInterface()
void addVertexData(const VertexData *vertexData)
Add a set of vertex geometry data to the edge builder.
Real normalise()
Normalises the vector.
Definition: OgreVector2.h:406
void setVSyncEnabled(bool vsync)
Enable or disable vertical sync for the RenderWindow.
D3D9VideoModeList(D3D9Driver *pDriver)
const vector< Real >::type * getPssmBlends(size_t shadowMapIdx) const
Returns a list of points with the blend band boundaries of the closest N-1 PSSM split in projection s...
virtual unsigned int getHeight(void) const
Overridden - see RenderWindow.
MetalDevice * getOwnerDevice(void) const
Definition: OgreMetalTexture.h:86
ChunkHandler(void)
Constructor.
static String toString(StereoModeType val)
Converts a StereoModeType to a String.
@ TEXCALC_ENVIRONMENT_MAP_NORMAL
Definition: OgreRenderSystem.h:69
void pointOrientedToScreen(const Vector2 &v, int orientationMode, Vector2 &outv)
Convert oriented input point coordinates to screen coordinates.
virtual void _setDatablock(HlmsDatablock *datablock)=0
Sets the HLMS material this renderer must use; called by ParticleSystem.
void doSet(void *target, const String &val)
map< LwConstString, const HlmsBlendblock * >::type blendblocks
Definition: OgreHlmsJson.h:76
@ OT_LINE_LIST
A list of lines, 2 vertices per line.
Definition: OgreHlmsPso.h:50
PCZone * createPCZone(PCZSceneManager *pczsm, const String &zoneName)
static const uint16 CHUNK_VERSION
Definition: OgrePage.h:99
Real getLightPowerScale(size_t index) const
@ ipmRelative
Definition: OgreShaderExTextureAtlasSampler.h:218
virtual ~LodListener()
Definition: OgreLodListener.h:121
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
bool selectPixelFormat(HDC hdc, int colourDepth, int multisample, bool hwGamma)
Vector3 crossProduct(const Vector3 &rkVector) const
Calculates the cross-product of 2 vectors, i.e.
Definition: OgreVector3.h:498
virtual bool getCastShadows(void)
Will the geometry from this object cast shadows?
Definition: OgreStaticGeometry.h:656
@ OT_PATCH_18_CONTROL_POINT
Definition: OgreHlmsPso.h:77
VertexElement(unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
Constructor, should not be called directly, call VertexDeclaration::addElement.
HlmsDatablock * getHlmsDatablock()
Gets the HLMS Datablock generated for this font.
Definition: OgreFont.h:395
String doGet(const void *target) const
virtual void setMaxParticleVelocity(Real max)
Returns the maximum particle velocity.
virtual OverlayElement * findElementAt(Real x, Real y)
This returns a OverlayElement at position x,y.
virtual bool hasAnisotropicMipMapFilter() const
Determines if the system has anisotropic mip map filter support.
Definition: OgreGL3PlusRenderSystem.h:556
virtual void endGPUSampleProfile(const String &name)=0
Definition: OgreNULLRenderWindow.h:37
@ ID_NUM_INITIAL
Definition: OgreScriptCompiler.h:854
@ GPU_MS_SOFTWARE
Definition: OgreRenderSystemCapabilities.h:300
Node * removeChild(const String &name)
Overridden from Node to remove any reference to octants.
ID3D11ShaderResourceView * getSrvView()
retrieves a pointer to the actual texture
virtual void _setNullDatablock(void)
Sets the datablock to a null pointer.
Class for calculating a tangent space basis.
Definition: OgreTangentSpaceCalc.h:51
virtual void setMaterial(const String &matName)
virtual void unbindSurface(size_t attachment)
Unbind attachment.
Definition: OgreRenderTexture.h:99
virtual void removeNode(PCZSceneNode *)
Removes all references to a SceneNode from this Zone.
Definition: OgreHlmsUnlitDatablock.h:48
Factory object for creating ManualObject instances.
Definition: OgreManualObject.h:531
virtual void begin(const String &materialName, OperationType opType=OT_TRIANGLE_LIST, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Start defining a part of the object.
void setFog(bool overrideScene, FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, Real expDensity=0.001, Real linearStart=0.0, Real linearEnd=1.0)
Sets the fogging mode applied to this pass.
virtual const Matrix4 & getViewMatrix(void) const
Gets the view matrix for this frustum.
@ FRUSTUM_PLANE_LEFT
Definition: OgreFrustum.h:74
AnimationStateControllerValue(AnimationState *targetAnimationState)
Constructor, pass in the target animation state.
Definition: OgreAnimationState.h:281
bool fsaa
Definition: OgreTextureDefinition.h:88
RenderTarget * getRenderTarget(const String &name)
Retrieves a pointer to a named render target.
vector< KeyFrameRig >::type KeyFrameRigVec
Definition: OgreSkeletonTrack.h:49
void preExtraThreadsStarted()
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
vector< Vertex >::type VecVertex
To hold vertices.
Definition: OgreVolumeMeshBuilder.h:98
String doGet(const void *target) const
VectorIterator< NodeVec > NodeVecIterator
Definition: OgreNode.h:75
virtual void apply(const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
Applies an animation track to the designated target.
void setGeometryProgram(const String &name, bool resetParams=true)
Sets the details of the geometry program to use.
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
virtual size_t estimateWorldGeometry(const String &filename)
Estimate the number of loading stages required to load the named world geometry.
Definition: OgreSceneManager.h:1798
#define _OgrePlanarReflectionsExport
Definition: OgrePlanarReflectionsPrerequisites.h:50
MapIterator(T &c)
Constructor.
Definition: OgreIteratorWrapper.h:335
void * mRsData
Definition: OgreHlmsDatablock.h:54
This is similar to std::bitset, except waaay less bloat.
Definition: OgreBitset.h:93
static const IdString UvDiffuse6
Definition: OgreUnlitProperty.h:81
void setVertexProgramConstantIntCount(ushort c)
The number of integer constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:690
static DWORD get(TexCoordCalcMethod m, const D3DCAPS9 &caps)
return a D3D9 equivalent for a Ogre TexCoordCalsMethod value
ConstMapIterator< MovableObjectFactoryMap > MovableObjectFactoryIterator
Definition: OgreRoot.h:1027
void XSetWMProtocols(Display *nativeDisplayType, Window nativeWindowType, Atom *atom, int num)
T * get() const
Definition: OgreThreadDefinesSTD.h:64
virtual const String & getTypeName(void) const =0
Gets the string uniquely identifying the type of element this factory creates.
@ WFT_SQUARE
Half of the time is spent at the min, half at the max with instant transition between.
Definition: OgreCommon.h:300
const String & getName(void) const
Get the name of the Texture Unit State.
Definition: OgreTextureUnitState.h:1022
Real maxTimeMillisecs
The maximum frame time this profile has taken in milliseconds.
Definition: OgreProfiler.h:272
void exportMesh(const Mesh *pMesh, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the stream specified, in the latest format.
LodLevelList levels
Definition: OgreLodConfig.h:131
virtual Real transformBias(Real factor) const =0
Transform LOD bias so it only needs to be multiplied by the LOD value.
static bool isInt(GpuConstantType c)
Definition: OgreGpuProgramParams.h:229
Command object for running the GLSL optimiser.
Definition: OgreGLSLESShader.h:53
Definition: OgreVolumeCSGSource.h:387
@ GPU_SIS
Definition: OgreRenderSystemCapabilities.h:296
unsigned int getRefreshRate() const
Definition: OgreD3D9VideoMode.h:56
@ BBO_TOP_RIGHT
Definition: OgreBillboardSet.h:60
static const IdString UvDetail0
Definition: OgreHlmsPbsMobile.h:143
int skyPlaneXSegments
Definition: OgreSceneManager.h:319
void setNamedConstant(const String &name, const float *val, size_t count)
virtual ~GL3PlusRenderTexture()
@ VET_INT4
Definition: OgreVertexElements.h:98
void EigenSolveSymmetric(Real afEigenvalue[3], Vector3 akEigenvector[3]) const
Eigensolver, matrix must be symmetric.
virtual void _changeRenderSystem(RenderSystem *newRs)
static const IdString iOS
Definition: OgreHlms.h:863
ResourceAccess::ResourceAccess access
Definition: OgreCompositorPassUavDef.h:83
ushort getNumberOfPosesIncluded(void) const
Returns the number of simultaneous poses the vertex program can blend, for use in pose animation.
void destroy(HighLevelGpuProgram *prog)
size_t getCurrentIndexCount(void) const
Gets the current index count based on the current subdivision level.
static ArrayReal CmovRobust(ArrayReal arg1, ArrayReal arg2, ArrayMaskR mask)
Robust, branchless conditional move for a 128-bit value.
Definition: OgreMathlibC.h:134
Specialisation of HighLevelGpuProgram to provide support for nVidia's CG language.
Definition: OgreCgProgram.h:46
Normal Map Lighting extension sub render state implementation.
Definition: OgreShaderExNormalMapLighting.h:62
@ SPC_LIGHTDIRECTION_WORLD_SPACE0
Light direction in world space index 0-7.
Definition: OgreShaderParameter.h:177
PagedWorld(const String &name, PageManager *manager)
Constructor.
void postExtraThreadsStarted()
Particle emitter which emits particles randomly from points inside a cylinder.
Definition: OgreCylinderEmitter.h:48
A 'track' in an animation sequence, i.e.
Definition: OgreAnimationTrack.h:126
static UniformParameterPtr createSampler2D(int index)
CompositorNode * findNodeNoThrow(IdString aliasName, bool includeShadowNodes=false) const
bool skyDome
Definition: OgreQuake3Shader.h:106
Vector3 normal
Definition: OgrePlane.h:64
uint getRenderWindowCount() const
void setVSyncEnabled(bool vsync)
Enable or disable vertical sync for the RenderWindow.
Definition: OgreD3D11RenderWindow.h:122
void addQueryFlags(uint32 flags)
As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this ob...
Definition: OgreTerrain.h:1369
static ArrayMaskI Or(ArrayInt a, ArrayMaskI b)
Definition: OgreMathlibC.h:227
void _setTextureMipmapBias(size_t unit, float bias)
This struct is a base class for events which can be thrown by the compilers and caught by subscribers...
Definition: OgreScriptCompiler.h:348
@ MSE_WRITE_BEGIN
Definition: OgreMaterialSerializer.h:69
void reset()
Reset this render state.
virtual v1::InstanceManager * getInstanceManager(IdString name) const
Retrieves an existing InstanceManager by it's name.
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
const Quaternion & _getBindingPoseInverseOrientation(void) const
Gets the inverted binding pose orientation.
Definition: OgreOldBone.h:123
static const String replaceAll(const String &source, const String &replaceWhat, const String &replaceWithWhat)
Replace all instances of a sub-string with a another sub-string.
static uint32 getCompressedBlockHeight(PixelFormat format, bool apiStrict=true)
@See getCompressedBlockWidth
bool isFullyVisible(const PortalBase *portal) const
Definition: OgreHlmsTextureManager.h:279
VectorImpl::reverse_iterator reverse_iterator
Definition: OgreCommon.h:485
void setLayerTextureName(uint8 layerIndex, uint8 samplerIndex, const String &textureName)
Set the name of the texture bound to a given index within a given layer.
@ PF_L16
16-bit pixel format, all bits luminance.
Definition: OgrePixelFormat.h:51
bool hasManualLodLevel(void) const
Returns true if this mesh has a manual LOD level.
Definition: OgreMesh.h:534
void stop(void)
Stop anything special.
TextAreaOverlayElement(const String &name)
Constructor.
void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
@ FFP_PS_COLOUR_BEGIN
Definition: OgreShaderFFPRenderState.h:58
static const IdString ThreadsPerGroupX
Definition: OgreHlmsCompute.h:195
CompositorTargetTranslator()
String doGet(const void *target) const
Real getOwnHeight(void) const
Retrieves the particle's personal width, if hasOwnDimensions is true.
Definition: OgreParticle.h:130
void updateNodeOctant(OctreeZoneData *zoneData)
Checks the given OctreeNode, and determines if it needs to be moved to a different octant.
void _validateFinalTarget(void)
For compatibility with D3D9, forces a device lost check on the RenderWindow, so that BeginScene doesn...
@ BB_FLAG_CONST
Definition: OgreBufferPacked.h:97
Stream stream(LogMessageLevel lml=LML_NORMAL, bool maskDebug=false)
Get a stream object targeting this log.
static GLenum getGLUsage(unsigned int usage)
Utility function to get the correct GL usage based on HBU's.
FailBehavior
Definition: OgreAssert.h:44
void destroyActor(PlanarReflectionActor *actor)
virtual ~ParticleSystem()
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:61
reverse_iterator rend()
Definition: OgreCommon.h:512
@ ACT_NEAR_CLIP_DISTANCE
This variable provides the near clip distance as a floating point value.
Definition: OgreGpuProgramParams.h:1260
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, size_t binding, const String &name="")
Create a uniform buffer.
void shareSkeletonInstanceWith(Entity *entity)
Shares the OldSkeletonInstance with the supplied entity.
VertexDeclaration * vertexDeclaration
Declaration of the vertex to be used in this operation.
Definition: OgreVertexIndexData.h:81
vector< BoneData >::type BoneDataVec
Definition: OgreSkeletonDef.h:70
bool isVisible(PortalBase *portal, FrustumPlane *culledBy=0) const
virtual void applyRebase(uint16 level, const MemoryPoolVec &newBasePtrs, const ArrayMemoryManager::PtrdiffVec &diffsList)
Called when the manager already grew it's memory pool to honour more node requests.
Definition: OgreLodData.h:100
Definition: OgreScriptCompiler.h:497
DefaultZone(PCZSceneManager *, const String &)
void importFromV1(v1::SubMesh *subMesh, bool halfPos, bool halfTexCoords, bool qTangents, bool halfPose)
Imports a v1 SubMesh @See Mesh::importV1. Automatically performs what arrangeEfficient does.
static const IdString NormalWeight
Definition: OgreHlmsPbs.h:350
@ HLMS_LOW_LEVEL
Definition: OgreHlmsCommon.h:167
bool applyTextureAliases(const AliasTextureNamePairList &aliasList, const bool apply=true) const
Applies texture names to Texture Unit State with matching texture name aliases.
void swap(Matrix4 &other)
Exchange the contents of this matrix with another.
Definition: OgreMatrix4.h:154
Definition: OgreAPKZipArchive.h:39
static int getPriority(String shaderLanguage)
LayerBlendOperation blend
Definition: OgreQuake3Shader.h:73
static int ISign(int iValue)
HardwarePixelBufferSharedPtr()
Definition: OgreHardwarePixelBuffer.h:202
const String & getSkeletonName(void) const
Gets the name of any linked Skeleton.
virtual void _render(const v1::CbDrawCallIndexed *cmd)
Renders a V1 RenderOperation. Assumes _setRenderOperation has already been called.
virtual ~Any()
Definition: OgreAny.h:79
const SkeletonAnimationDef * getDefinition(void) const
Definition: OgreSkeletonAnimation.h:177
Defines the behaviour of an automatic renderer configuration dialog.
Definition: Android/OgreConfigDialogImp.h:39
CbPipelineStateObject(const HlmsPso *_pso)
virtual void *RESTRICT_ALIAS_RETURN map(size_t elementStart, size_t elementCount, MappingState prevMappingState, bool advanceFrame=true)
void getCameraToViewportBoxVolume(Real screenLeft, Real screenTop, Real screenRight, Real screenBottom, PlaneBoundedVolume *outVolume, bool includeFarPlane=false)
Gets a world-space list of planes enclosing a volume based on a viewport rectangle.
void lookAt(const Vector3 &targetPoint)
Points the camera at a location in worldspace.
const String & getFrameTextureName(unsigned int frameNumber) const
Gets the name of the texture associated with a frame number.
TerrainAutoUpdateLodStrategy
Definition: OgreTerrainAutoUpdateLod.h:68
virtual OGRE_DEPRECATED void setUserAny(const Any &anything)
Definition: OgreNode.h:764
ColourValue getDerivedAmbientLightColour(void) const
Hlms * getCreator(void) const
Definition: OgreHlmsDatablock.h:304
Local texture definition.
Definition: OgreCompositorShadowNodeDef.h:57
virtual GpuProgramPtr loadFromString(const String &name, const String &groupName, const String &code, GpuProgramType gptype, const String &syntaxCode)
Loads a GPU program from a string of assembly code.
Predefined controller function for dealing with animation.
Definition: OgrePredefinedControllers.h:191
ParticleVisualData()
Definition: OgreParticle.h:56
static const IdString Blendblock
Definition: OgreHlms.h:880
bool getCreateShaderOverProgrammablePass() const
Returns whether shaders are created for passes with shaders.
Definition: OgreShaderGenerator.h:487
TerrainLodManager(Terrain *t, DataStreamPtr &stream)
void getTerrainPosition(Real x, Real y, Real z, Vector3 *outTSpos) const
Convert a position from world space to terrain basis space.
MapIterator< PCZoneFactoryMap > PCZoneFactoryIterator
Definition: OgrePCZoneFactory.h:118
size_t getVertexOffset(void) const
Returns the vertex offset used by this buffer to write data into the buffer.
Definition: OgrePatchSurface.h:130
TempBlendedBufferInfo * _getVertexAnimTempBufferInfo(void)
Advanced method to get the temp buffer information for software morph animation.
uint32 hash
Definition: OgreConstBufferPool.h:58
virtual void _setTextureCoordCalculation(size_t unit, TexCoordCalcMethod m, const Frustum *frustum=0)=0
Sets a method for automatically calculating texture coordinates for a stage.
bool pullOcclusionQuery(unsigned int *NumOfFragments)
Pulls the hardware occlusion query.
float mMetalness
Definition: OgreDecal.h:90
virtual ~ConstParameter()
Definition: OgreShaderParameter.h:586
virtual void destroy(void)
Destroys the window.
@ SHADER_TCGEN_ENV
Definition: OgreQuake3Types.h:103
void insertVertex(const Vector3 &vdata, size_t vertexIndex)
Inserts a vertex at a specific position.
virtual GuiHorizontalAlignment getHorizontalAlignment(void) const
Gets the horizontal alignment for this element.
virtual const String & getActiveScheme(void) const
Returns the name of the active material scheme.
@ ID_TARGET_WIDTH
Definition: OgreScriptCompiler.h:827
virtual void destroyMovableObject(MovableObject *m)
Destroys a MovableObject.
void * pData
Definition: OgreHardwareBuffer.h:408
void setActiveVertexShader(GLSLShader *vertexGpuProgram)
Set the active vertex shader for the next rendering state.
HLMS stands for "High Level Material System".
Definition: OgreHlms.h:81
FaceGroupType
A type of face group, i.e.
Definition: OgreStaticFaceGroup.h:45
map< String, PagedWorldSection * >::type SectionMap
Definition: OgrePagedWorld.h:159
virtual void _releaseManualHardwareResources()
Notifies the movable object that hardware resources were lost.
Definition: OgreMovableObject.h:174
static VertexElementType getBaseType(VertexElementType multiType)
Simple converter function which will a type into it's single-value equivalent - makes switches on typ...
Definition: OgreException.h:221
@ PF_PVRTC_RGB4
PVRTC (PowerVR) RGB 4 bpp.
Definition: OgrePixelFormat.h:150
void setUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the panel.
static const IdString NumThreadGroupsX
Definition: OgreHlmsCompute.h:198
virtual void setFsaaResolveDirty(void)
Depth buffers never resolve; only colour buffers do.
Definition: OgreGL3PlusDepthTexture.h:112
virtual void setLoadRadius(Real sz)
Set the loading radius.
virtual void _setComputePso(const HlmsComputePso *pso)=0
Unlike _setPipelineStateObject, the RenderSystem will check if the PSO has changed to avoid redundant...
NodeAnimationTrack * createNodeTrack(Node *node)
Creates a new AnimationTrack automatically associated with a OldNode.
static Quaternion Squad(Real fT, const Quaternion &rkP, const Quaternion &rkA, const Quaternion &rkB, const Quaternion &rkQ, bool shortestPath=false)
Spherical quadratic interpolation.
void setNamedConstant(const String &name, const uint *val, size_t count)
Class for converting the core Ogre data types to/from Strings.
Definition: OgreStringConverter.h:65
virtual void _setSurfaceParams(const ColourValue &ambient, const ColourValue &diffuse, const ColourValue &specular, const ColourValue &emissive, Real shininess, TrackVertexColourType tracking=TVC_NONE)
Sets the surface properties to be used for future rendering.
Definition: OgreCbPipelineStateObject.h:36
#define OGRE_MAX_POSES
Define max number of poses per item.
Definition: OgreConfig.h:89
virtual void setMaxDuration(Real max)
Sets the maximum duration of this emitter in seconds (see setDuration for more details)
@ ACT_VIEW_DIRECTION
view parameters
Definition: OgreGpuProgramParams.h:1244
void setExternalTextureSource(const String &sTexturePlugInType, ExternalTextureSource *pTextureSystem)
Called from plugin to register itself.
PbsBrdf
Definition: OgreHlmsPbsDatablock.h:74
void Define(const char *iMacroName, size_t iMacroNameLen, long iMacroValue)
Define a numerical macro.
virtual void setPolygonModeOverrideable(bool override)
Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
Definition: OgreRenderable.h:345
void decomposition(ArrayVector3 &position, ArrayVector3 &scale, ArrayQuaternion &orientation) const
Decompose a Matrix4 to orientation / scale / position.
@ ID_NO_FSAA
Definition: OgreScriptCompiler.h:834
virtual_l2 void translate(const Matrix3 &axes, const Vector3 &move, TransformSpace relativeTo=TS_PARENT)
Moves the node along arbitrary axes.
Implementation of HardwareBufferManager for D3D11.
Definition: OgreD3D11HardwareBufferManager.h:39
bool operator<=(const ComPtr< T > &a, const ComPtr< T > &b) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:250
void reset()
Resets timer.
@ SPC_POSTOLIGHT_VIEW_SPACE4
Definition: OgreShaderParameter.h:151
virtual ~PageContentCollection()
void setTimeStampEnabled(bool timeStamp)
virtual ~TextAreaOverlayElement()
const MaterialPtr & _getMaterial() const
Internal getting of material.
Definition: OgreTerrain.h:1332
vector< PortalBase * >::type PortalBaseList
Definition: OgrePCZone.h:73
virtual void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)
Clears one or more frame buffers on the active render target.
T * iterator
Definition: OgreFastArray.h:97
NoAddRefRelease< T > * operator->() const ASSUME_NOEXCEPT
Definition: OgreComPtr.h:202
Vector3 convertLocalToWorldPositionUpdated(const Vector3 &localPos)
Definition: OgreNode.h:714
size_t getGLMapBufferThreshold() const
Threshold after which glMapBuffer is used and not glBufferSubData.
void _updateRenderQueue(RenderQueue *, Camera *camera, const Camera *lodCamera)
Overridden from MovableObject.
Definition: OgreMovablePlane.h:79
static const IdString NormalWeightDetail0
Definition: OgreHlmsPbsMobile.h:120
const_reference front() const
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:332
static const IdString RoughnessIsShininess
Definition: OgreHlmsPbs.h:409
v1::HardwarePixelBufferSharedPtr getBuffer(size_t face, size_t mipmap)
Return hardware pixel buffer for a surface.
static const IdString VPos
Definition: OgreHlms.h:849
unsigned int height
Definition: OgreCommon.h:933
virtual void notifyBeginRenderScene(void)
Called when a _renderScene is called in the SceneManager.
void FromRotationMatrix(const Matrix3 &kRot)
virtual void _collectSamplerblocks(set< const HlmsSamplerblock * >::type &outSamplerblocks, const HlmsDatablock *datablock) const
void _updateDimensions(void)
Notifies the viewport of a possible change in dimensions.
DistanceLodBoxStrategy DistanceLodStrategy
Backward compatible name for Distance_Box strategy.
Definition: OgreDistanceLodStrategy.h:44
void baseVertexPointerToElement(void *pBase, unsigned short **pElem) const
Adjusts a pointer to the base of a vertex to point at this element.
Definition: OgreHardwareVertexBuffer.h:253
DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
void setColourAt(ColourValue const &cv, size_t x, size_t y, size_t z)
Set colour value at a certain location in the image.
void preExtraThreadsStarted()
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
void setPoseWeight(const Ogre::String &poseName, float w)
unsigned short getNumAffectors(void) const
Returns the number of affectors for this particle system.
void _setNullNodeMemoryManager(void)
Manually set the mNodeMemoryManager to a null ptr.
Definition: OgreNode.h:788
virtual ~ResourceManager()
static bool isFloat(GpuConstantType c)
Definition: OgreGpuProgramParams.h:173
Definition: OgreGLES2AsyncTicket.h:39
vector< SubRenderState * >::type SubRenderStateList
Definition: OgreShaderSubRenderState.h:157
void exportLodConfig(Ogre::LodConfig &config, Ogre::DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
bool canHandleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
void CreateVertexShader()
@ RSC_TEXTURE_FLOAT
Supports float textures and render targets.
Definition: OgreRenderSystemCapabilities.h:117
virtual GLES2Context * clone() const =0
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
GLenum sourceBlend
Definition: OgreGL3PlusHlmsPso.h:55
bool isLocked(void) const
virtual bool getShowBoundingBoxes() const
Returns if all bounding boxes of scene nodes are to be displayed.
NumericKeyFrame(const AnimationTrack *parent, Real time)
Default constructor, you should not call this but use AnimationTrack::createKeyFrame instead.
@ DistanceToCamera
Definition: OgreArrayMemoryManager.h:371
Real _getTop(void) const
Gets the top of this element in relation to the screen (where 0 = far left, 1.0 = far right)
Definition: OgreOverlayElement.h:255
virtual void _renderEmulated(const CbDrawCallIndexed *cmd)
ValueType getType(void) const
Gets the value type of this animable value.
Definition: OgreAnimable.h:142
static const uint16 CHUNK_VERSION
Definition: OgreGrid3DPageStrategy.h:126
@ TT_TRANSLATE_U
Definition: OgreTextureUnitState.h:113
@ SPC_BINORMAL_TANGENT_SPACE
Binormal in tangent space.
Definition: OgreShaderParameter.h:267
virtual void destroy(HighLevelGpuProgram *prog)=0
Factory object for creating Entity instances.
Definition: OgreEntity.h:738
Controller< Real > * createTextureAnimator(TextureUnitState *layer, Real sequenceTime)
Creates a texture layer animator controller.
virtual bool isStereoEnabled(const String &renderWindowName)
Ogre::Real outsideWeight
Faces inside a house can't be seen from far away.
Definition: OgreLodConfig.h:159
virtual BufferPackedTypes getBufferPackedType(void) const
Useful to query which one is the derived class.
Definition: OgreTexBufferPacked.h:55
virtual void destroyRectangle2D(v1::Rectangle2D *rect)
Removes & destroys an Entity from the SceneManager.
Class for recording Quake3 shaders.
Definition: OgreQuake3Shader.h:51
virtual bool isSkeletalAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform skeletal animation.
Definition: OgreGpuProgram.h:312
virtual bool removeRenderWindow(const String &renderWindowName)
static const IdString UvDetailNm0
Definition: OgreHlmsPbs.h:374
Vector3 getPlaneNormal(void) const
Gets the plane normal of the deflector plane.
float getBlueAdjust1(void) const
Gets the blue adjustment to be made per second to particles.
HardwareSkinning()
Class default constructor.
ParticleRendererFactoryIterator getRendererFactoryIterator(void)
Return an iterator over the renderer factories currently registered.
void _initialise(void)
Initialises the manager, only to be called by OGRE internally.
v1::HardwarePixelBufferSharedPtr getBuffer(size_t face, size_t mipmap)
Return hardware pixel buffer for a surface.
virtual bool hasAnisotropicMipMapFilter() const
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:405
Archive * createInstance(const String &name, bool readOnly)
Creates a new object.
Definition: OgreZip.h:142
Vector2 xy() const
Swizzle-like narrowing operations.
Definition: OgreVector3.h:98
HardwarePixelBuffer(uint32 mWidth, uint32 mHeight, uint32 mDepth, PixelFormat mFormat, bool hwGamma, HardwareBuffer::Usage usage, bool useSystemMemory, bool useShadowBuffer)
Should be called by HardwareBufferManager.
FileStreamDataStream(const String &name, std::fstream *s, size_t size, bool freeOnClose=true)
Construct named read-write stream from an STL stream, and tell it the size.
void(* CleanupRoutines)(char *dstPtr, size_t indexDst, char *srcPtr, size_t indexSrc, size_t numSlots, size_t numFreeSlots, size_t elementsMemSize)
Definition: OgreArrayMemoryManager.h:46
IndexBufferPacked * createIndexBuffer(IndexBufferPacked::IndexType indexType, size_t numIndices, BufferType bufferType, void *initialData, bool keepAsShadow)
Creates an index buffer based on the given parameters.
LayerInstanceList layerList
List of layer structures, one for each layer required.
Definition: OgreTerrain.h:401
void addListener(Listener *listener)
Register a listener to this Serializer.
const ColourValue & getColourTop(void) const
Gets the colour of the top of the letters.
vector< Param >::type ParamVec
Definition: OgreShaderParams.h:140
@ SPC_POSTOLIGHT_OBJECT_SPACE5
Definition: OgreShaderParameter.h:132
Specialisation of HardwareIndexBuffer for emulation.
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:72
void * mRsData
Definition: OgreResourceTransition.h:130
PCZFrustum()
Standard constructor.
virtual bool isContainer() const
returns false as this class is not a container type
Definition: OgreOverlayElement.h:418
void append(in_iter in_start, in_iter in_end)
append - Add the specified range to the end of the SmallVector.
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:549
virtual bool setOption(const String &, const void *)
Sets the given option for the SceneManager.
@ TAM_WRAP
Texture wraps at values over 1.0.
Definition: OgreHlmsSamplerblock.h:48
Class representing a font in the system.
Definition: OgreFont.h:67
static const IdString Hlsl
Definition: OgreHlms.h:857
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a multi render target.
DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
void cleanerArrayVector3Unit(char *dstPtr, size_t indexDst, char *srcPtr, size_t indexSrc, size_t numSlots, size_t numFreeSlots, size_t elementsMemSize)
bool isZeroLength(void) const
Returns true if this vector is zero length.
Definition: OgreVector2.h:521
ushort getTessellationHullProgramConstantIntCount(void) const
The number of integer constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:871
Definition: OgrePlanarReflections.h:77
~MeshSerializerImpl_v1_8()
void setBlendMode(unsigned short index, BlendMode mode)
Set the blend mode of the given texture unit layer with the previous layer.
@ LB_BlendLinearBurn
Definition: OgreShaderExLayeredBlending.h:68
String name
Definition: OgreScriptCompiler.h:150
static const IdString ExponentialShadowMaps
Definition: OgreUnlitProperty.h:48
Definition: OgreLodBuffer.h:75
static VertexElementType multiplyTypeCount(VertexElementType baseType, unsigned short count)
Simple converter function which will turn a single-value type into a multi-value type based on a para...
Real getFarClipDistance() const
void unmap(size_t ticket)
Unmaps given ticket (got from.
D3D9HardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, bool useSystemMem, bool useShadowBuffer)
vector< GeometryBucket * >::type GeometryBucketList
list of Geometry Buckets in this region
Definition: OgreStaticGeometry.h:261
Modes
Definition: OgreRenderQueue.h:87
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware index buffer.
static CmdAlphaAdjust msAlphaCmd
Definition: OgreColourFaderAffector.h:136
ReadRequests(VertexElementSemantic _semantic)
Definition: OgreVertexIndexData.h:247
Definition: OgreScriptCompiler.h:67
virtual const Matrix4 & _getFullTransform(void) const
Gets the full transformation matrix for this OldNode.
void _clearSliceRTT(size_t zoffset)
Notify TextureBuffer of destruction of render target.
Definition: OgreGLES2TextureBuffer.h:63
IDirect3DVertexShader9 * getVertexShader(void)
Gets the vertex shader.
HashedVector< LightClosest > LightList
Definition: OgreCommon.h:717
VertexAnimationType getVertexAnimationType(void) const
Get the type of any vertex animation used by dedicated geometry.
void removeDuplicates(void)
Removes duplicate vertices from a polygon.
@ REAL_FLOAT
Real is stored as float, reducing precision if you're using OGRE_DOUBLE_PRECISION.
Definition: OgreStreamSerialiser.h:85
@ PF_ASTC_SRGB8A8_10X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 10x6)
Definition: OgrePixelFormat.h:307
Class providing a much simplified interface to generating manual objects with custom geometry.
Definition: OgreManualObject.h:111
static void toQuotedStr(CullingMode value, String &outString)
virtual void setMaterial(const String &matName)
Overridden from SimpleRenderable.
void useImportData()
Set to use import data.
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
void _setPolygonMode(PolygonMode level)
static const IdString HwGammaWrite
Definition: OgreUnlitProperty.h:43
uint calls
The number of times this profile was called this frame.
Definition: OgreProfiler.h:254
virtual void deinitGPUProfiling(void)
virtual void notifyCleared(void)
@See CompositorNode::_notifyCleared
void setSize(const Vector3 &size)
Sets the size of the area from which particles are emitted.
void load()
Load node and children (perform GPU tasks, will be render thread)
A factory that enables creation of TextureAtlasSampler instances.
Definition: OgreShaderExTextureAtlasSampler.h:214
ProfileSampleFlags
Definition: OgreProfilerCommon.h:35
@ CMPF_EQUAL
Definition: OgreCommon.h:101
ArrayReal mRadius
Definition: C/OgreArraySphere.h:61
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
Mesh::IndexMap::const_iterator boneIdxStart
Definition: OgreInstanceBatchHW_VTF.h:94
void _setD3DShaderResourceView(ID3D11ShaderResourceView *depthTextureView)
void setSpotlightFalloff(Real val)
Sets the falloff between the inner and outer cones of the spotlight.
const SharedPtr< ControllerValue< T > > & getSource(void) const
Gets the input controller value.
Definition: OgreController.h:173
@ LightMask
Definition: OgreArrayMemoryManager.h:376
void setTarget(const String &target)
Sets the shader target to compile down to, e.g.
Class exposing an interface to a blend map for a given layer.
Definition: OgreTerrainLayerBlendMap.h:61
bool addTexutreAtlasDefinition(DataStreamPtr stream, TextureAtlasTablePtr textureAtlasTable=TextureAtlasTablePtr())
Adds a texture atlas definition from a stream.
@ MESH_VERSION_1_7
OGRE version v1.7+.
Definition: OgreMeshSerializer.h:55
virtual void prepare(LodData *data)=0
size_t read(void *buf, size_t count)
Read the requisite number of bytes from the stream, stopping at the end of the file.
@ PF_ASTC_SRGB8A8_5X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 5x5)
Definition: OgrePixelFormat.h:293
void setAlphaRejectValue(unsigned char val)
Gets the alpha reject value.
Definition: OgreOSXCocoaWindowDelegate.h:34
void close(void)
Close the stream; this makes further operations invalid.
void _dumpTextures(const String &prefix, const String &suffix)
Dump textures to files.
int face_start
Definition: OgreQuake3Types.h:155
Degree & operator*=(Real f)
Definition: OgreMath.h:127
void initialize()
Initializes mMemoryPools.
bool eof(void) const
Returns true if the stream has reached the end.
virtual bool postCreateGpuPrograms(ProgramSet *programSet)
virtual std::pair< bool, T > removeItem()
Get the next item from the pool.
Definition: OgreResourceManager.h:58
virtual void setPriority(uchar priority)
Sets the priority of this render target in relation to the others.
Definition: OgreRenderTarget.h:267
const String & getTypeName(void) const
Retrieve the type name of this scene manager.
GLES2HardwareOcclusionQuery()
Default object constructor.
void _updateRenderPhase02(Camera *camera, const Camera *lodCamera, uint8 firstRq, uint8 lastRq)
uint8 num_mipmaps
Definition: OgreImageCodec.h:66
GLES2DefaultHardwareBufferManagerBase as a Singleton.
Definition: OgreGLES2DefaultHardwareBufferManager.h:161
virtual void _endUpdate()
Method for manual management of rendering - finishes statistics calculation and fires 'postRenderTarg...
X11EGLContext(EGLDisplay eglDisplay, const EGLSupport *glsupport, ::EGLConfig fbconfig, ::EGLSurface drawable)
Real getTextureUScroll(void) const
Get texture uscroll value.
virtual void _hlmsBlendblockCreated(HlmsBlendblock *newBlock)
void transformAffine(const Matrix4 &m)
Transforms the box according to the affine matrix supplied.
Definition: OgreAxisAlignedBox.h:506
Semantic
Definition: OgreShaderParameter.h:52
Exception(int number, const String &description, const String &source)
Default constructor.
GpuProgram * _getBindingDelegate()
Returns the GpuProgram which should be bound to the pipeline.
void unload(const String &filename)
Unloads an archive by name.
virtual void registerThread()=0
Register the an additional thread which may make calls to rendersystem-related objects.
void setVertexTextureUnitsShared(bool shared)
Set whether the vertex texture units are shared with the fragment processor.
Definition: OgreRenderSystemCapabilities.h:800
void updateFromParentImpl() const
Class-specific implementation of _updateFromParent.
virtual ~HardwareSkinningTechnique()
virtual void preparingComplete(Resource *)
Called whenever the resource finishes preparing (paging into memory).
Definition: OgreResource.h:108
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera, RealAsUint depth)
Definition: OgreMovableObject.h:633
bool nothingToStrip() const
Definition: OgreLod0Stripifier.h:85
virtual void _setPipelineStateObject(const HlmsPso *pso)
@See HlmsPso
'New' rendering operation using vertex buffers.
Definition: OgreRenderOperation.h:45
const VertexElement2Vec & getVertexElements(void) const
Definition: OgreVertexBufferPacked.h:117
void log(Log *pLog)
Write the capabilities to the pass in Log.
void _restoreManualHardwareResources()
Notifies that hardware resources should be restored.
IT'S MEMBERS MUST BE KEPT POD (Otherwise HlmsPso needs to be modified).
Definition: OgreHlmsPso.h:102
TextureTransformType
Useful enumeration when dealing with procedural transforms.
Definition: OgreTextureUnitState.h:112
virtual void _hlmsPipelineStateObjectDestroyed(HlmsPso *pso)
Definition: OgreRenderSystem.h:800
ImageDownsamplerCube downscale2x_sRGB_AX88_cube
Definition: OgreImageDownsampler.h:199
IdString mPrePassTexture
Only used if mPrePassMode == PrePassUse.
Definition: OgreCompositorPassSceneDef.h:91
ushort getTessellationDomainProgramConstantFloatCount(void) const
The number of floating-point constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:897
@ PROP_BOOL
Definition: OgreProperty.h:119
bool watchForLimit(const String &profileName, Real limit, bool greaterThan=true)
Returns true if the specified profile goes over or under the given limit frame time.
Command object for force application (see ParamCommand).
Definition: OgreLinearForceAffector.h:64
Vector3 getDerivedDirectionUpdated(void) const
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
bool operator!=(const MapRange &rhs) const
comparison operator for inequality
Definition: OgreIteratorRange.h:267
@ PBSM_NORMAL
Definition: OgreHlmsPbsPrerequisites.h:58
CompositorPass(const CompositorPassDef *definition, const CompositorChannel &target, CompositorNode *parentNode)
Matrix4 getTransposeViewMatrix() const
virtual AsyncTicketPtr createAsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)=0
ItemFactory()
Definition: OgreItem.h:267
static size_t getElementSize(GpuConstantType ctype, bool padToMultiplesOf4)
Get the element size of a given type, including whether to pad the elements into multiples of 4 (e....
Definition: OgreGpuProgramParams.h:337
@ CNT_WORD
Definition: OgreScriptCompiler.h:53
uint64 hash
Definition: OgreRenderQueue.h:50
@ PF_R9G9B9E5_SHAREDEXP
32-bit pixel format, 9 bits for blue, green, red plus a 5 bit exponent.
Definition: OgrePixelFormat.h:208
static Real Floor(Real fValue)
Floor function Returns the largest previous integer.
Definition: OgreMath.h:343
LwString & a(uint64 a0)
Definition: OgreLwString.h:261
void _initialize(IdType id, BoneMemoryManager *boneMemoryManager, Bone *parent, ArrayMatrixAf4x3 const *RESTRICT_ALIAS reverseBind)
IndexRemap()
Definition: OgreTangentSpaceCalc.h:68
const String & getFunctionName() const
Return the function name.
Definition: OgreShaderFunctionAtom.h:215
static D3D11_FILL_MODE get(PolygonMode level)
return a D3D11 equivalent for a Ogre PolygonMode value
Real pssmLambda
Definition: OgreCompositorShadowNodeDef.h:70
virtual OldBone * createBone(const String &name, unsigned short handle)
Creates a brand new OldBone owned by this Skeleton.
GLenum destBlendAlpha
Definition: OgreGLES2HlmsPso.h:58
The profiler allows you to measure the performance of your code.
Definition: OgreProfiler.h:409
virtual const String & getTypeName(void) const
See OverlayElement.
void destroyAllComputeJobs(void)
Destroys all jobs created via.
MemoryDataStream(const String &name, size_t size, bool freeOnClose=true, bool readOnly=false)
Create a named stream with a brand new empty memory chunk.
@ LBT_COLOUR
Definition: OgreBlendMode.h:46
virtual void setActiveProfile(Profile *p)
Set the active Profile.
Definition: OgreTerrainMaterialGenerator.h:236
AliasTextureIterator getAliasTextureIterator(void) const
Gets an constant iterator to access all texture alias names assigned to this submesh.
GLSLESShader(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
virtual unsigned int getDebugLevel() const
Get the debug level of the material.
Definition: OgreTerrainMaterialGenerator.h:384
static D3D9DeviceManager * getDeviceManager()
bool isNull() const
Definition: OgreCommon.h:761
void setGreenAdjust1(float green)
Sets the green adjustment to be made per second to particles.
@ ID_SCENE_BLEND
Definition: OgreScriptCompiler.h:650
void resetNumPassesLeft(void)
Definition: OgreCbDrawCall.h:113
@ ID_ONCE_PER_LIGHT
Definition: OgreScriptCompiler.h:708
Definition: OgreNULLAsyncTicket.h:39
int * getIntPointer(size_t pos)
Get a pointer to the 'nth' item in the int buffer.
Definition: OgreGpuProgramParams.h:769
CompositorPassDef(CompositorPassType passType, CompositorTargetDef *parentTargetDef)
Definition: OgreCompositorPassDef.h:164
void setOperationType(OperationType operationType)
Set the type of primitives that this object generates.
Definition: OgreRenderToVertexBuffer.h:85
virtual ~RenderToVertexBuffer()
D'tor.
virtual void notifyCamera(Camera *cam, PagedWorldSection *section)
Called when a camera is used for any kind of rendering.
Definition: OgrePageStrategy.h:102
uint16 slot
Definition: OgreCbShaderBuffer.h:39
v1::Entity * entity
The entity whose level of detail has changed.
Definition: OgreLodListener.h:57
ResourceAllocatedObject ResourceAlloc
Definition: OgreMemoryAllocatorConfig.h:327
void setExternalMicrocode(const void *pMicrocode, size_t size)
Tells the program to load from some externally created microcode instead of a file or source.
uint16 getLayerBlendMapSize() const
Get the requested size of the blend maps used to blend between layers for this terrain.
Definition: OgreTerrain.h:1078
ParticleSystem(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const String &resourceGroupName)
Creates a particle system with no emitters or affectors.
size_t elementSize
Number of raw buffer slots per element (some programs pack each array element to float4,...
Definition: OgreGpuProgramParams.h:156
float getGamma(void) const
Returns the gamma adjustment factor applied to this texture on loading.
Definition: OgreTexture.h:162
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgreMovableObject.h:387
LwString & operator=(const LwConstString &other)
Definition: OgreLwString.h:174
const MeshPtr & getMesh(void) const
Gets the Mesh that this Entity is based on.
~VertexMorphKeyFrame()
Definition: OgreKeyFrame.h:161
IdString textureName
Name of the texture (can come from input channel, local textures, or global ones)
Definition: OgreCompositorPassComputeDef.h:58
void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Do nothing, InstanceBatch takes care of this.
Definition: OgreInstancedEntity.h:246
void setShaderCachePath(String path)
Set shader cache path.
Definition: OgreGLES2Support.h:106
Definition: OgreWin32Window.h:37
const void * _getMemoryUniqueOffset(void) const
GL support in a GTK window.
Definition: OgreGTKGLSupport.h:48
virtual void notifyDeviceLost(D3D11Device *device)=0
SharedPtr< GpuProgramParameters > GpuProgramParametersSharedPtr
Definition: OgrePrerequisites.h:353
virtual void _render(const CbDrawCallStrip *cmd)
virtual bool isHardwareGammaEnabled() const
Indicates whether on rendering, linear colour space is converted to sRGB gamma colour space.
Definition: OgreRenderTarget.h:335
Definition: OgrePbsMobileShaderCreationData.h:46
void XSetWMProperties(Display *nativeDisplayType, Window nativeWindowType, XTextProperty *titleprop, char *dummy1, char *dummy2, int num, XSizeHints *sizeHints, XWMHints *wmHints, char *dummy3)
bool compile(const ConcreteNodeListPtr &nodes, const String &group)
Compiles resources from the given concrete node list.
PCZone * createPCZone(PCZSceneManager *pczsm, const String &zoneName)
void _setSurfaceParams(const ColourValue &ambient, const ColourValue &diffuse, const ColourValue &specular, const ColourValue &emissive, Real shininess, TrackVertexColourType tracking)
See RenderSystem.
Definition: OgreGLES2RenderSystem.h:278
~UnifiedHighLevelGpuProgramFactory()
Integrated PSSM shadow receiver with 3 splits sub render state implementation.
Definition: OgreShaderExIntegratedPSSM3.h:55
@ SPC_LIGHTPOSITIONVIEW_SPACE1
Definition: OgreShaderParameter.h:228
vector< Real >::type SplitPointList
Definition: OgreShaderExIntegratedPSSM3.h:59
void _setSceneBlendingOperation(SceneBlendOperation op)
void doSet(void *target, const String &val)
void _setLightCullingVisibility(Camera *camera, bool collectLights, bool isCubemap)
See Camera::setLightCullingVisibility.
void setMapL8toRGB8(bool bMap)
virtual uint8 getMaxLayers(const Terrain *terrain) const =0
Get the number of layers supported.
LightGatheringMode
Definition: OgreHlms.h:86
map< String, GpuSharedParametersPtr >::type SharedParametersMap
Definition: OgreGpuProgramManager.h:53
CompositorShadowNode * findShadowNode(IdString nodeDefName) const
Finds a shadow node instance with a given name.
void setDefaultResourceGroup(const String &grp)
Set the default resource group to use to load / save terrains.
Definition: OgreTerrain.h:2094
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgreRenderable.h:376
@ PF_RG8
16-bit pixel format, 8 bits red, 8 bits green.
Definition: OgrePixelFormat.h:228
static void setDefaultNonVisibleUpdateTimeout(Real timeout)
Set the default nonvisible timeout for all ParticleSystem instances.
Definition: OgreParticleSystem.h:459
void createZoneSpecificNodeData(PCZone *)
Create any zone-specific data necessary for all nodes for the given zone.
@ SPC_LIGHTDIRECTION_VIEW_SPACE6
Definition: OgreShaderParameter.h:193
@ ID_VERTEX
Definition: OgreScriptCompiler.h:797
static OverlayManager * getSingletonPtr(void)
Override standard Singleton retrieval.
Command object for alpha adjust (see ParamCommand).
Definition: OgreColourFaderAffector.h:73
virtual void addClipPlane(Real A, Real B, Real C, Real D)
Add a user clipping plane.
const char * end() const
Definition: OgreLwConstString.h:106
void removeAllPoseReferences(void)
Remove all pose references.
uint32 minTextureSize
Definition: OgreHlmsTextureManager.h:85
void removeLayer(uint8 index)
Remove a layer from the terrain.
Octree implementation of RaySceneQuery.
Definition: OgreOctreeSceneQuery.h:58
IrradianceVolume(HlmsManager *hlmsManager)
virtual unsigned short getNextIndex(void) const
Gets the highest index which has already been set, plus 1.
Definition: OgreHardwareVertexBuffer.h:540
static Real Pow(Real fBase, Real fExponent)
Definition: OgreMath.h:354
@ TFO_NONE
Equal to: min=FO_POINT, mag=FO_POINT, mip=FO_NONE.
Definition: OgreCommon.h:216
virtual void setActive(bool state)
Used to set the active state of the render target.
virtual void bakeManualLodLevel(LodData *data, String &manualMeshName, int lodIndex)
Specialization of HighLevelGpuProgram to provide support for D3D11 High-Level Shader Language (HLSL).
Definition: OgreD3D11HLSLProgram.h:52
void setInitialState(const Vector3 &position, const Quaternion &orientation, const Vector3 &scale)
Set the initial state of the node for this animation track.
virtual Real getLoadRadius() const
Get the loading radius.
void determineFSAASettings(uint fsaa, const String &fsaaHint, DXGI_FORMAT format, DXGI_SAMPLE_DESC *outFSAASettings)
virtual void setResponseProcessingTimeLimit(unsigned long ms)
Set the time limit imposed on the processing of responses in a single frame, in milliseconds (0 indic...
Definition: OgreWorkQueue.h:458
GLSLProgramWriter()
Class constructor.
void fastForward(Real time, Real interval=0.1)
Fast-forwards this system by the required number of seconds.
vector< Triangle >::type TriangleList
Definition: OgreLodData.h:146
Planar Reflections can be used with both Unlit and PBS, but they're setup differently.
Definition: OgrePlanarReflections.h:74
void setNamedConstant(const String &name, const Matrix4 *m, size_t numEntries)
Sets a list of Matrix4 parameters to the program.
float getWorstTime(void) const
Definition: OgreFrameStats.h:65
void _setCullingMode(CullingMode mode)
@ PASS_MIPMAP
Definition: OgreCompositorPassDef.h:58
void _notifyCurrentCamera(const Camera *cam)
Delegated to by ParticleSystem::_notifyCurrentCamera.
void setListener(ScriptCompilerListener *listener)
Sets the listener used for compiler instances.
MeshPtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new mesh.
virtual void techniqueEventRaised(MaterialSerializer *ser, SerializeEvent event, bool &skip, const Technique *tech)
Called when technique section event raised.
Definition: OgreMaterialSerializer.h:100
@ ACT_LIGHT_CUSTOM
Binds custom per-light constants to the shaders.
Definition: OgreGpuProgramParams.h:1345
@ GCT_SAMPLER1DSHADOW
Definition: OgreGpuProgramParams.h:77
virtual bool isCloneable() const
Definition: OgreOverlayElement.h:424
void setNamedAutoConstantReal(const String &name, AutoConstantType acType, Real rData)
void move(const Vector3 &vec)
Moves the camera's position by the vector offset provided along world axes.
Real getMaximumDepthInputValue(void)
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
Definition: OgreGLES2RenderSystem.h:436
NULLAsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)
void doSet(void *target, const String &val)
static ArrayMatrixAf4x3 createAllFromMatrix4(const Matrix4 &m)
Definition: C/OgreArrayMatrixAf4x3.h:107
virtual void prepareWorldGeometry(DataStreamPtr &stream, const String &typeName=BLANKSTRING)
Sets the source of the 'world' geometry, i.e.
BspNode(BspLevel *owner, bool isLeaf)
Constructor, only to be used by BspLevel.
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures at once.
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Internal method to put the contents onto the render queue.
static void setExceptionsErrorLevel(const Ogre::String &exceptionsErrorLevel)
static const IdString TexGather
Definition: OgreHlms.h:868
SendAllLUTToTexture(float *RESTRICT_ALIAS dstPtr, size_t floatsPerEntity, size_t entitiesPerPadding, size_t widthFloatsPadding, const Mesh::IndexMap *indexMap, size_t numLutEntries)
Definition: OgreInstanceBatchHW_VTF.h:113
@ SBF_DEST_ALPHA
Definition: OgreBlendMode.h:242
@ ID_COLOUR
Definition: OgreScriptCompiler.h:900
PageStrategy * getStrategy(const String &name)
Get a PageStrategy.
void swap(ComPtr< T > &a, ComPtr< T > &b)
Definition: OgreComPtr.h:244
void setAssociatedNode(OldNode *node)
Sets the associated OldNode object which will be automatically affected by calls to 'apply'.
@ SPC_LIGHTDIRECTION_OBJECT_SPACE2
Definition: OgreShaderParameter.h:169
int content_flags
Definition: OgreQuake3Types.h:205
virtual void setCurrent()
Enable the context.
Definition: OgreShaderExLayeredBlending.h:94
virtual void collapse(LodData *data, LodCollapseCost *cost, LodOutputProvider *output, int vertexCountLimit, Real collapseCostLimit)
Reduces vertices until vertexCountLimit or collapseCostLimit is reached.
@ NUM_PBSM_TEXTURE_TYPES
Definition: OgreHlmsPbsPrerequisites.h:74
void visitRenderables(Renderable::Visitor *visitor, bool debugRenderables=false)
Definition: OgrePortalBase.h:203
static GLenum getGLUsage(unsigned int usage)
Utility function to get the correct GL usage based on HBU's.
Definition: OgreGLES2HardwareBufferManager.h:85
GL3PlusHardwareBufferManager()
Definition: OgreGL3PlusHardwareBufferManager.h:114
virtual BackgroundProcessTicket unload(const String &resType, ResourceHandle handle, Listener *listener=0)
Unload a single resource in the background.
const String & getShadowCasterFragmentProgramName(void) const
Gets the name of the fragment program used by this pass when rendering shadow casters.
virtual ushort getPreferredFloatBitDepth(void) const
Gets preferred bit depth for float pixel format textures.
virtual void reload(LoadingFlags flags=LF_DEFAULT)
Reloads the resource, if it is already loaded.
const AutoConstantEntry * findFloatAutoConstantEntry(size_t logicalIndex)
Finds an auto constant that's affecting a given logical parameter index for floating-point values.
static uint32 QUERY_LIGHT_DEFAULT_MASK
Default query mask for lights.
Definition: OgreSceneManager.h:291
uint8 mFirstRq
Definition: OgreInstantRadiosity.h:131
@ ERR_INTERNAL_ERROR
Definition: OgreException.h:115
const_pointer address(const_reference x) const
Definition: OgreMemorySTLAllocator.h:148
ID3D11UnorderedAccessView * getUavView(int32 mipmapLevel, int32 textureArrayIndex, PixelFormat pixelFormat)
MaterialManager()
Default constructor.
const String & getEntryPoint(void) const
Gets the entry point defined for this program.
Definition: OgreCgProgram.h:139
SortMode
Sort mode for billboard-set and particle-system.
Definition: OgreCommon.h:333
virtual void preFindVisibleObjects(SceneManager *source, IlluminationRenderStage irs, Viewport *v)
Called prior to searching for visible objects in this SceneManager.
Definition: OgreSceneManager.h:349
virtual void update(void)
Update data if necessary.
void setRoughness(float roughness)
Sets the roughness.
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
Particle * createEmitterParticle(const String &emitterName)
Manually add an emitter particle to the system.
@ InheritScale
Definition: OgreBoneArrayMemoryManager.h:66
Real getTop(void) const
Gets the top of this element in relation to the screen (where 0 = top, 1.0 = bottom)
Vector3 convertWorldToLocalDirectionUpdated(const Vector3 &worldDir, bool useScale)
Definition: OgreNode.h:722
size_t getAutoConstantCount(void) const
Gets the number of int constants that have been set.
Definition: OgreGpuProgramParams.h:1985
Real getSquaredViewDepth(const Camera *cam) const
Overridden, see Renderable.
uint32 writeBarrierBits
Definition: OgreResourceTransition.h:127
virtual ~GLES2RenderBuffer()
DualQuaternion(Real fW, Real fX, Real fY, Real fZ, Real fdW, Real fdX, Real fdY, Real fdZ)
Construct from an explicit list of values.
Definition: OgreDualQuaternion.h:57
virtual void shutdown()
Shut down the queue.
Class for managing Quake3 custom shaders.
Definition: OgreQuake3ShaderManager.h:55
OrientationMode getOrientationMode() const
Get the orientation mode of the viewport.
Abstract class for compositor passes.
Definition: OgreCompositorPass.h:84
Texturing sub render state implementation of layered blending.
Definition: OgreShaderExLayeredBlending.h:45
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
ResourceType mResourceType
Definition: OgreScriptCompiler.h:519
virtual ~BorderPanelOverlayElement()
Real alphaArg1
Manual alpha value for manual source1.
Definition: OgreBlendMode.h:156
@ VET_USHORT4_NORM
Definition: OgreVertexElements.h:109
void setEntryPointFunction(Function *function)
Set the entry point function.
Definition: OgreShaderProgram.h:142
Quake3Shader * getByName(const String &name)
Retrieve a Quake3Shader by name.
GLuint getTemporaryFBO(size_t i)
Get a FBO without depth/stencil for temporary use, like blitting between textures.
virtual NodeIterator getNodeIterator(void) const
Get an iterator over the nodes which are being tracked.
bool isLeaf(void) const
Returns true if this node is a leaf (i.e.
void updateFromParentImpl(void) const
Overridden from Node in order to include parent Entity transform.
virtual Vector3 getCellSize() const
Get the size of the cells in the grid.
Definition: OgreGrid3DPageStrategy.h:138
virtual void _setIndirectBuffer(IndirectBufferPacked *indirectBuffer)=0
HlmsLowLevelDatablock(IdString name, Hlms *creator, const HlmsMacroblock *macroblock, const HlmsBlendblock *blendblock, const HlmsParamVec ¶ms)
void setVertexColourTracking(TrackVertexColourType tracking)
Sets which material properties follow the vertex colour.
void dispatch(HlmsComputeJob *job, SceneManager *sceneManager, Camera *camera)
Main function for dispatching a compute job.
bool enableAlphaBlend
Definition: OgreGL3PlusHlmsPso.h:54
void removeUnusedBuffers(void)
Remove all vertex buffers that never used by the vertex declaration.
virtual bool _areRenderStateChangesSuppressed(void) const
Are render state changes suppressed?
Definition: OgreSceneManager.h:3093
static String TargetLanguage
Definition: OgreShaderCGProgramWriter.h:76
void setShadowCasterFragmentProgramParameters(GpuProgramParametersSharedPtr params)
Sets the fragment program parameters for rendering as a shadow caster.
void _setUavTexture(uint8 slotIdx, TexturePtr &texture, int32 textureArrayIndex, ResourceAccess::ResourceAccess access, int32 mipmapLevel, PixelFormat pixelFormat)
Sets an UAV texture.
String generateFilename(long x, long y) const
Generate a file name based on the current naming convention.
static GLenum getGLImageInternalFormat(PixelFormat format)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format for i...
virtual void _collectSamplerblocks(set< const HlmsSamplerblock * >::type &outSamplerblocks, const HlmsDatablock *datablock) const
Definition: OgreHlms.h:502
VectorImpl::const_reverse_iterator const_reverse_iterator
Definition: OgreCommon.h:486
@ ENDIAN_BIG
Use big endian (0x1000 is serialised as 0x10 0x00)
Definition: OgreStreamSerialiser.h:76
virtual size_t getNumberOfChains(void) const
Get the number of chain segments (this class can render multiple chains at once using the same materi...
Definition: OgreBillboardChain.h:137
const ColourValue & getSurfaceEmissiveColour(void) const
@ VET_HALF2
Definition: OgreVertexElements.h:110
@ SHADER_FUNC_SAWTOOTH
Definition: OgreQuake3Types.h:113
void _setSeparateSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha, SceneBlendOperation op, SceneBlendOperation alphaOp)
uint32 getWidth()
Accessors.
void _initAnimationState(AnimationStateSet *animSet)
Initialise an animation set suitable for use with this skeleton.
static void collectSamplerblocks(const HlmsDatablock *datablock, set< const HlmsSamplerblock * >::type &outSamplerblocks)
void loadFromAoS(const SimpleMatrixAf4x3 *RESTRICT_ALIAS src)
vector< InstancedEntity * >::type InstancedEntityVec
Definition: OgreInstanceBatch.h:94
static const size_t MAX_MEMORY_SLOTS
Definition: OgreArrayMemoryManager.h:163
void loadJob(const rapidjson::Value &json, const HlmsJson::NamedBlocks &blocks, HlmsComputeJob *job, const String &jobName)
virtual void addRenderObjectListener(RenderObjectListener *newListener)
Registers a new Render Object Listener which will be notified when rendering an object.
virtual void unload(const String &name)
Unloads a single resource by name.
@ VP_RTT_COLOUR_WRITE
Do not write colour, only depth/stencil.
Definition: OgreViewport.h:47
Definition: OgreQuake3Shader.h:68
Real mHeight
Personal height if mOwnDimensions == true.
Definition: OgreParticle.h:82
virtual ~MovableObject()
Virtual destructor - read Scott Meyers if you don't know why this is needed.
RenderToVertexBufferSharedPtr createRenderToVertexBuffer(void)
Create a render to vertex buffer.
void setOptimalAdjustFactor(size_t splitIndex, Real factor)
Set the LiSPSM optimal adjust factor for a given split (call after configuring splits).
LoadingFlags
Enum that allow to choose subset of unloaded/reloaded resources and to adjust reloading behavior.
Definition: OgreResource.h:133
static GLenum getGLUsage(unsigned int usage)
Utility function to get the correct GL usage based on HBU's.
D3D11 doesn't support mapping the same buffer twice even if the regions don't overlap.
Definition: OgreD3D11DynamicBuffer.h:53
uint16 getLayerBlendMapSize() const
Get the default size of the blend maps for a new terrain.
Definition: OgreTerrain.h:2050
ParticleEmitterFactoryIterator getEmitterFactoryIterator(void)
Return an iterator over the emitter factories currently registered.
virtual void buildConstantDefinitions() const
Build the constant definition map, must be overridden.
virtual void _setTextureMatrix(size_t unit, const Matrix4 &xform)
Sets the texture coordinate transformation matrix for a texture unit.
static CommandBufferExecuteFunc execute_setPso
Definition: OgreCommandBuffer.h:88
size_t getUsedSlots(void) const
Definition: OgreSkeletonTrack.h:92
Shader generator system main interface.
Definition: OgreShaderGenerator.h:56
static const int MacroblockBits
Definition: OgreRenderQueue.h:261
AngleUnit
The angular units used by the API.
Definition: OgreMath.h:202
GLES2MultiSourceVertexBufferPool(size_t vboPoolIndex, GLuint vboName, const VertexElement2VecVec &vertexElementsBySource, size_t maxVertices, BufferType bufferType, size_t internalBufferStart, VaoManager *vaoManager)
static String toString(const StringVector &val)
Converts a StringVector to a string.
virtual bool load(StreamSerialiser &stream)
Load this section from a stream (returns true if successful)
uint32 getTypeFlags(void) const
Override to return specific type flag.
OGREWidget * get_ogre_widget()
Get the actual widget that is housing OGRE's GL view.
const String & getName() const
Get the name of the pool.
void setNamedConstant(const String &name, const uint *val, size_t count, size_t multiple=4)
Sets a multiple value constant unsigned integer parameter to the program.
void _setHlmsBlendblock(const HlmsBlendblock *blendblock)
virtual void _hlmsBlendblockCreated(HlmsBlendblock *newBlock)
Definition: OgreLodOutputProvider.h:40
ResourceAccess::ResourceAccess access
Definition: OgreCompositorPassComputeDef.h:63
General purpose request structure.
Definition: OgreWorkQueue.h:85
PortalIntersectResult
Definition: OgrePortalBase.h:163
bool isVisible(const AxisAlignedBox &bound) const
void addLinkedSkeletonAnimationSource(const String &skelName, Real scale=1.0f)
Allows you to use the animations from another Skeleton object to animate this skeleton.
void setRoughness(float roughness)
Value for Roughness. Valid range depends on the BRDF used.
bool _isIn(AxisAlignedBox &box)
Real mMipLodBias
This allows you to adjust the mipmap calculation up or down for a given texture unit.
Definition: OgreHlmsSamplerblock.h:79
GLXFBConfig getFBConfigFromContext(::GLXContext context)
Get the GLXFBConfig used to create a ::GLXContext.
@ PF_A2B10G10R10
32-bit pixel format, 10 bits for blue, green and red, 2 bits for alpha.
Definition: OgrePixelFormat.h:110
Matrix3 Transpose() const
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
uint32 mShadowMapIdx
Shadow map index it belongs to (only filled in passes owned by Shadow Nodes)
Definition: OgreCompositorPassDef.h:104
GLuint getGLFBOID() const
Get the GL id for the FBO.
Definition: OgreGL3PlusFrameBufferObject.h:72
void migrateToAndDetach(Transform &inOutTransform, size_t depth, NodeMemoryManager *dstNodeMemoryManager)
It's almost the same as calling: this->nodeDettached( transform, depth ); this->migrateTo( transform,...
HardwareBuffer::Usage getVertexBufferUsage(void) const
Gets the usage setting for this meshes vertex buffers.
Definition: OgreMesh.h:634
HardwareBufferManagerBase * getManager() const
Return the manager of this buffer, if any.
Definition: OgreHardwareIndexBuffer.h:68
virtual int32 getPageRangeMaxY() const
get the index range of all Pages (values outside this will be ignored)
virtual bool isVertexCompressionSupported() const
Return whether this material generator supports using a compressed vertex format.
Definition: OgreTerrainMaterialGenerator.h:279
static void destroy_range(T *, T *)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:413
virtual void clear()
Clear the pool.
Definition: OgreResourceManager.h:83
static LwString FromEmptyPointer(char *cStr, size_t maxLength)
Definition: OgreLwString.h:120
ImageBlur2D separableBlur_X8
Definition: OgreImageDownsampler.h:102
virtual void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
Real getBoundingRadius() const
Definition: OgrePortalBase.h:195
Definition: OgreGLES2DepthTexture.h:96
StrangeData(int num)
Definition: OgreX11EGLSupport.h:92
void _setNormalMapRequired(bool normalMap)
Request internal implementation options for the terrain material to use, in this case a terrain-wide ...
void _unregisterContext(GLES2Context *context)
Unregister a render target->context mapping.
@ VET_UBYTE4
Definition: OgreVertexElements.h:82
ushort getTessellationDomainProgramConstantIntCount(void) const
The number of integer constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:902
@ VET_SHORT2_SNORM
Definition: OgreVertexElements.h:106
@ SKELETON_VERSION_LATEST
Latest version available.
Definition: OgreSkeletonSerializer.h:49
virtual bool isPaused() const
Return whether the queue is paused ie not sending more work to workers.
void setLightMapSize(uint16 sz)
Sets the default size of lightmaps for a new terrain.
Definition: OgreTerrain.h:2082
Built, renderable section of geometry.
Definition: OgreManualObject.h:415
ImageDownsamplerCube downscale2x_Float32_XA_cube
Definition: OgreImageDownsampler.h:161
void saveMaterials(HlmsTypes hlmsType, const String &filename, HlmsJsonListener *listener, const String &additionalTextureExtension)
Saves all materials of the registered Hlms at the given file location.
static const FastArray< Real > c_DefaultLodMesh
Definition: OgreMovableObject.h:67
void setNull()
Definition: OgreCommon.h:765
Real getPointMinSize(void) const
Get the minimum point size, when point attenuation is in use.
Real lodValue
LOD value as determined by LOD strategy.
Definition: OgreLodListener.h:63
GLSLESLinkProgram(GLSLESShader *vertexProgram, GLSLESShader *fragmentProgram)
Constructor should only be used by GLSLESLinkProgramManager.
String getValue() const
Returns a string value depending on the type of the AbstractNode.
virtual bool queryResult(MovableObject *movable, SceneQuery::WorldFragment *fragment)=0
Called when a movable intersects a world fragment.
Definition: OgreHlmsJsonPbs.h:48
@ ACT_INVERSE_PROJECTION_MATRIX
Provides inverse of projection matrix.
Definition: OgreGpuProgramParams.h:934
void inverseLeaveZeroes(void)
Calculates the inverse of the vectors: 1.0f / v; But if original is zero, the zero is left (0 / 0 = 0...
virtual bool isPrimary(void) const
Indicates whether the window is the primary window.
virtual size_t readLine(char *buf, size_t maxCount, const String &delim="\n")
Get a single line from the stream.
void determineGridLocation(const Vector3 &gridpos, int32 *x, int32 *y, int32 *z)
Convert a grid position into a row and column index.
static FORCEINLINE uint32 bswap32(uint32 arg)
Returns value with reversed bytes order.
Definition: OgreBitwise.h:66
Billboard(const Vector3 &position, BillboardSet *owner, const ColourValue &colour=ColourValue::White)
Normal constructor as called by BillboardSet.
uint32 getRenderableHash(void)
Returns a hash value you can cache into a Renderable (or whatever you're rendering).
@ TS_PARENT
Transform is relative to the space of the parent node.
Definition: OgreNode.h:70
virtual ResourcePtr prepare(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *loadParams=0, bool backgroundThread=false)
Generic prepare method, used to create a Resource specific to this ResourceManager without using one ...
void convertTerrainToImageSpace(Real x, Real y, size_t *outX, size_t *outY)
Convert terrain space values (0,1) to image space (0, imageSize).
virtual void setCastShadows(bool castShadows)
Sets whether this geometry should cast shadows.
virtual void setRenderQueueGroup(uint8 queueID)
Decals only allow ForwardPlusBase::MinDecalRq <= queueID < ForwardPlusBase::MaxDecalRq.
void setStatic(bool isStatic)
Set to False if it should be updated every frame.
size_t mParentIndex
Index in the vector holding this node reference (could be our parent node, or a global array tracking...
Definition: OgreBone.h:115
unsigned short _getEmissionCount(Real timeElapsed)
See ParticleEmitter.
void setDiffuseTexture(const TexturePtr &diffuseTex, uint16 diffuseIdx)
static OptimisedUtil * getImplementation(void)
Gets the implementation of this class.
Definition: OgreOptimisedUtil.h:73
std::vector< T, STLAllocator< T, GeneralAllocPolicy > > VectorImpl
Definition: OgreCommon.h:457
HlmsPso pso
Definition: OgreHlmsCommon.h:188
HardwareBufferManagerBase()
void bindDrawId(void)
Binds the Draw ID to the currently bound vertex array object.
@ LowerCpuOverhead
Optimize for low CPU overhead.
Definition: OgreConstBufferPool.h:83
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
void destroySubMesh(const String &name)
Destroy a SubMesh with the given name.
String mResourceGroup
Definition: OgreScriptCompiler.h:599
@ PCT_SINT
32 bit float per component
Definition: OgrePixelFormat.h:398
virtual const String & getName() const =0
void _makeProjectionMatrix(const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
Builds a perspective projection matrix suitable for this render system.
void _makeProjectionMatrix(Real left, Real right, Real bottom, Real top, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
Builds a perspective projection matrix for the case when frustum is not centered around camera.
virtual void _setTextureCS(uint32 slot, bool enabled, Texture *texPtr)
Binds a regular texture to a Compute Shader.
Listener which gets called back on MovableObject events.
Definition: OgreMovableObject.h:72
static FORCEINLINE unsigned int mostSignificantBitSet(unsigned int value)
Returns the most significant bit set in a value.
Definition: OgreBitwise.h:126
ArrayMaskR intersects(const ArrayAabb &b2) const
Returns whether or not this box intersects another.
void setEnabled(bool bEnabled, uint32 maxWidth, uint32 maxHeight, PixelFormat pixelFormat)
Enables/disables this ParallaxCorrectedCubemap system.
const Vector3 & getIrradianceOrigin(void) const
Definition: OgreIrradianceVolume.h:107
SharedPtr & operator=(const SharedPtr &r)
Definition: OgreSharedPtr.h:183
void setManualValue(const Vector3 &value)
ArrayReal Dot(const ArrayQuaternion &rkQ) const
Returns the dot product of the quaternion.
void setMaterialName(const String &matName)
Overridden from OverlayElement.
size_t getGLMapBufferThreshold() const
Threshold after which glMapBuffer is used and not glBufferSubData.
Definition: OgreGL3PlusHardwareBufferManager.h:153
bool isSupported(void) const
Overridden from GpuProgram.
const Matrix4 & getParentEntityTransform(void) const
Gets the transform of parent entity.
virtual ~OptimisedUtil()
Definition: OgreOptimisedUtil.h:66
@ SPC_TANGENT_WORLD_SPACE
Tangent in world space.
Definition: OgreShaderParameter.h:249
void notifyDestroyed(const UavBufferPacked *buffer)
@ OT_PATCH_19_CONTROL_POINT
Definition: OgreHlmsPso.h:78
uint8 elementStart
The colour element at which this element starts.
Definition: OgreTerrainMaterialGenerator.h:77
MapIterator< VertexBoneAssignmentList > BoneAssignmentIterator
Definition: OgreSubMesh.h:184
uint16 getNumLodLevels(void) const
Returns the number of levels of detail that this mesh supports.
virtual void swapBuffers()
Override needed to deal with multisample buffers.
virtual void addMarchingCubesTriangles(const Vector3 *corners, const Vector4 *volumeValues, MeshBuilder *mb) const
Overridden from IsoSurface.
@ SM_Source1InvModulate
Definition: OgreShaderExLayeredBlending.h:88
String generate()
Generate a new name.
Definition: OgreNameGenerator.h:69
Reference to a pose at a given influence level.
Definition: OgreKeyFrame.h:198
GLSLMonolithicProgramManager(const GL3PlusSupport &support)
void setVertexBuffer(const HardwareVertexBufferSharedPtr &buf)
Sets the vertex buffer containing the source positions for this keyframe.
const String & getShadowCasterVertexProgramName(void) const
Gets the name of the vertex program used by this pass when rendering shadow casters.
MapIterator< AnimationStateMap > AnimationStateIterator
Definition: OgreAnimationState.h:189
MapIterator< TerrainSlotMap > TerrainIterator
Definition: OgreTerrainGroup.h:461
@ ID_SHADOW_NODE
Definition: OgreScriptCompiler.h:950
bool isSupported(void) const
Returns whether this program can be supported on the current renderer and hardware.
ConstVectorIterator< GPUDeviceNameRuleList > GPUDeviceNameRuleIterator
Definition: OgreTechnique.h:527
@ LOADSTATE_LOADED
Fully loaded.
Definition: OgreResource.h:122
const CustomParameterMap & getCustomParameters(void) const
Definition: OgreRenderable.h:302
virtual Real getTrailLength(void) const
Get the length of the trail.
Definition: OgreRibbonTrail.h:110
ResourceCreateOrRetrieveResult createOrRetrieve(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *params=0, BufferType vertexBufferType=BT_IMMUTABLE, BufferType indexBufferType=BT_IMMUTABLE, bool vertexBufferShadowed=true, bool indexBufferShadowed=true)
Create a new mesh, or retrieve an existing one with the same name if it already exists.
Most (if not all) buffers, can be treated with the same code.
Definition: OgreBufferInterface.h:40
Definition: OgreExternalTextureSource.h:87
bool hasScale() const
Determines if this matrix involves a scaling.
Definition: OgreMatrix3.h:239
bool requestTypeFlags() const
Return true here as we want to get a unique type flag.
Definition: OgreAntiPortal.h:68
void addOutputParameter(ParameterPtr parameter)
Add output parameter to this function.
@ ID_WORKSPACE
Definition: OgreScriptCompiler.h:812
ushort getNumVertexBlendMatrices(void) const
Returns the number of matrices available to hardware vertex blending for this rendering system.
Definition: OgreRenderSystemCapabilities.h:540
const LibraryVec & getPiecesLibrary(void) const
Definition: OgreHlms.h:529
void log(Log *log)
Debugging method.
virtual void forwardIntersect(const Plane &worldPlane, vector< Vector4 >::type *intersect3d) const
Forward projects frustum rays to find forward intersection with plane.
MeshBuilder * meshBuilder
The MeshBuilder to use.
Definition: OgreVolumeChunkHandler.h:63
virtual void setTreatLuminanceAsAlpha(bool asAlpha)
Sets whether luminace pixel format will treated as alpha format when load this texture.
static const uint32 CHUNK_ID
Definition: OgrePageContentCollection.h:61
void saveMaterial(const HlmsDatablock *datablock, String &outString)
virtual void preCommandBufferExecution(CommandBuffer *commandBuffer)
This gets called right before executing the command buffer.
Definition: OgreHlms.h:701
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
virtual void _setHlmsSamplerblock(uint8 texUnit, const HlmsSamplerblock *samplerblock)
@See HlmsSamplerblock.
@ SPC_LIGHTPOSITION_OBJECT_SPACE3
Definition: OgreShaderParameter.h:210
@ SPC_POSTOLIGHT_OBJECT_SPACE3
Definition: OgreShaderParameter.h:130
Real value
Value used by to determine when this LOD applies.
Definition: OgreMesh.h:1057
ImageDownsampler2D downscale2x_XX88
Definition: OgreImageDownsampler.h:59
static const IdString BlendModeIdx3
Definition: OgreHlmsUnlitMobile.h:128
GLES2Support()
Definition: OgreGLES2Support.h:44
void setMacroblock(const HlmsMacroblock ¯oblock)
Changes the current macroblock for a new one. Pointer can't be null.
GLSLProgramProcessor()
Class constructor.
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
Sets the colour buffer that the render system will to draw.
Definition: OgreRenderSystem.h:1442
static CommandBufferExecuteFunc execute_setTextureBufferInvalid
Definition: OgreCommandBuffer.h:87
String doGet(const void *target) const
virtual PCZone * updateNodeHomeZone(PCZSceneNode *pczsn, bool allowBackTouces)=0
Update a node's home zone.
PbsBakedTexture()
Definition: OgreHlmsPbsDatablock.h:61
PackedTexture()
Definition: OgreHlmsPbsDatablock.h:53
virtual void extractMovableObject(MovableObject *m)
Extract a previously injected MovableObject.
static const IdString LightsAttenuation
Definition: OgreHlms.h:807
void setNumMipmaps(uint8 num)
Sets the number of mipmaps to be used for this texture.
Definition: OgreTexture.h:152
@ Cameras
Definition: OgreSceneFormatBase.h:58
virtual const Quaternion & getInitialOrientation(void) const
Gets the initial orientation of this OldNode, see setInitialState for more info.
EGLWindow(EGLSupport *glsupport)
static const IdString NormalWeightTex
Definition: OgreHlmsPbsMobile.h:119
size_t getElementCount(void) const
Get the number of elements in the declaration.
Definition: OgreHardwareVertexBuffer.h:321
Definition: OgreQuake3Types.h:202
Real getLoadingOrder(void) const
Gets the relative loading order of scripts of this type.
Vector4 getDetailMapOffsetScale(uint8 detailMap) const
static DECL_MALLOC void * allocate(size_t size, size_t alignment)
Allocate memory with given alignment.
virtual void translate(const Matrix3 &axes, const Vector3 &move, TransformSpace relativeTo=TS_PARENT)
Moves the OldNode along arbitrary axes.
virtual const Vector2 & getFrustumOffset() const
Retrieves the frustum offsets.
static const IdString DecalsEmissive
Definition: OgreHlms.h:845
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
void saveMaterial(const HlmsDatablock *datablock, String &outString, const String &additionalTextureExtension)
Saves a single datablock to a string.
virtual int getExecutionOrder() const
@ RSC_COMPLETE_TEXTURE_BINDING
Supports different texture bindings.
Definition: OgreRenderSystemCapabilities.h:199
static PropertyType getTypeForValue(const unsigned int &val)
Definition: OgreProperty.h:159
virtual void displayResults(const ProfileInstance &instance, ulong maxTotalFrameTime)
@ GCT_MATRIX_2X3
Definition: OgreGpuProgramParams.h:81
void setManualValue(uint32 value)
void addRendererFactory(ParticleSystemRendererFactory *factory)
Registers a factory class for creating ParticleSystemRenderer instances.
static const IdString DetailNormalSwizzle1
Definition: OgreHlmsPbsMobile.h:167
virtual ~HlmsPbsDatablock()
Definition: OgreResource.h:82
const Matrix4 & getInverseWorldMatrix(void) const
bool isNaN() const
Check whether this vector contains valid values.
Definition: OgreVector3.h:788
String getSetting(const String &key, const String §ion=BLANKSTRING, const String &defaultValue=BLANKSTRING) const
Gets the first setting from the file with the named key.
Renderable * renderable
Definition: OgreCbLowLevelMaterial.h:40
void _autoTrack(void)
Internal method used by OGRE to update auto-tracking cameras.
static ProgramManager & getSingleton()
Override standard Singleton retrieval.
const Radian & getRotationSpeedRangeStart(void) const
Gets the minimum rotation speed of particles to be emitted.
virtual ~UavBufferPacked()
const LodValueArray * _getLodValueArray(void) const
Definition: OgreMesh2.h:400
ImageBlur2D separableBlur_sRGB_X8
Definition: OgreImageDownsampler.h:209
@ RSC_32BIT_INDEX
Supports 32bit hardware index buffers.
Definition: OgreRenderSystemCapabilities.h:92
void bindSurface(size_t attachment, const GLES2SurfaceDesc &target)
Bind a surface to a certain attachment point.
Plane()
Default constructor - sets everything to 0.
@ PF_ASTC_SRGB8A8_6X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 6x5)
Definition: OgrePixelFormat.h:295
STLAllocator< U, AllocPolicy > other
Definition: OgreMemorySTLAllocator.h:99
All return values are either in milliseconds or frames per second; but they're internally stored in m...
Definition: OgreFrameStats.h:47
@ ID_EXPLICIT_RESOLVE
Definition: OgreScriptCompiler.h:835
GuiVerticalAlignment
Enum describing where '0' is in relation to the parent in the vertical dimension.
Definition: OgreOverlayElement.h:80
BufferType getVertexBufferDefaultType(void) const
Gets the usage setting for this meshes vertex buffers.
Definition: OgreMesh2.h:392
A way of recording the way each LODs is recorded this Mesh.
Definition: OgreMesh.h:1045
uint8 getViewportModifierMask(void) const
Definition: OgreCompositorWorkspace.h:313
void setCompositeMapDiffuse(const ColourValue &c)
Set the composite map diffuse light to use.
Definition: OgreTerrain.h:1961
const Light & _getBlankLight(void) const
Definition: OgreAutoParamDataSource.h:268
virtual void setUsage(int u)
Sets the TextureUsage identifier for this Texture; only useful before load()
Definition: OgreTexture.h:270
const TerrainLayerDeclaration & getLayerDeclaration() const
Get the declaration which describes the layers in this terrain.
Definition: OgreTerrain.h:997
virtual ~GL3PlusConstBufferPacked()
void _setProjectionMatrix(const Matrix4 &m)
Sets the projection transform matrix.
Definition: OgreAndroidLogListener.h:38
void invalidateMaterialIlluminationPasses(const String &schemeName, const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Invalidate specific material scheme.
static bool fileExists(const Ogre::String &path)
Test if the given file exists.
bool isInfinite(void) const
Returns true if the box is infinite.
Definition: OgreAxisAlignedBox.h:556
@ ANT_IMPORT
Definition: OgreScriptCompiler.h:82
void * rsData
Definition: OgreHlmsPso.h:190
const String & getNameStr(void) const
Definition: OgreSkeletonAnimationDef.h:92
AtomAbstractNode(AbstractNode *ptr)
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:95
void setLastVisibleFromCamera(PCZCamera *camera)
Set the lastVisibleFromCamera pointer.
Definition: OgrePCZone.h:119
static const IdString DetailDiffuseSwizzle0
Definition: OgreHlmsPbsMobile.h:161
static const IdString Metal
Definition: OgreHlms.h:860
void prepareResourceGroup(const String &name, bool prepareMainResources=true, bool prepareWorldGeom=true)
Prepares a resource group.
bool isPreparedForShadowVolumes(void) const
Returns whether this mesh has already had it's geometry prepared for use in rendering shadow volumes.
Definition: OgreMesh.h:814
GLint mV
Definition: OgreGLES2HlmsSamplerblock.h:55
@ FFP_PS_COLOUR_END
Definition: OgreShaderFFPRenderState.h:61
virtual void destroyInstance(PageContentCollection *)=0
bool hasBlendMask() const
Return whether there is currently a valid blend mask set.
Definition: OgreAnimationState.h:164
Struct containing information about a LOD change event for movable objects.
Definition: OgreLodListener.h:45
@ ID_ONE_MINUS_SRC_COLOUR
Definition: OgreScriptCompiler.h:657
@ CAPS_CATEGORY_D3D9
Definition: OgreRenderSystemCapabilities.h:65
String validateConfig(void)
Make sure all the extra options are valid.
static const IdString BlendModeIndex11
Definition: OgreUnlitProperty.h:120
virtual void resourceGroupLoadStarted(const String &groupName, size_t resourceCount)=0
This event is fired when a resource group begins loading.
SharedPtr< SkeletonDef > SkeletonDefPtr
Definition: OgrePrerequisites.h:360
@ PF_ASTC_RGBA_12X10_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 12x10)
Definition: OgrePixelFormat.h:285
~OctreeIntersectionSceneQuery()
virtual void _setTexture(size_t unit, bool enabled, Texture *texPtr)
Sets the texture to bind to a given texture unit.
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create uniform buffer.
virtual void setCaption(const DisplayString &text)
Sets the caption on elements that support it.
void addStrategy(LodStrategy *strategy)
Add a strategy to the manager.
This class represents a render target that renders to multiple RenderTextures at once.
Definition: OgreRenderTexture.h:70
static const String & getDirectionalLightExtruderVs_1_1(void)
Get extruder program source for directional lights, compatible with vs_1_1.
Definition: OgreShadowVolumeExtrudeProgram.h:245
size_t getNumParticles(void) const
Gets the number of individual particles in the system right now.
String getRightBorderUVString() const
Page strategy which loads new pages based on a regular 3D grid.
Definition: OgreGrid3DPageStrategy.h:204
const String & getFilenameExtension() const
Definition: OgreTerrainGroup.h:160
VaoManager * _getVaoManager() const
will return the vao manager that this mesh will use for creating and destroying array objects
Definition: OgreMesh2.h:478
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
String doGet(const void *target) const
#define OGRE_THREAD_CALL_CONVENTION
Definition: OgreThreads.h:43
PCZCamera * getLastVisibleFromCamera()
Definition: OgrePCZSceneNode.h:113
uint32 getId(void) const
Definition: OgrePass.h:179
PageProvider * getPageProvider() const
Get the PageProvider which can provide streams for any Page.
Definition: OgrePageManager.h:316
void setPageProvider(PageProvider *provider)
Set the PageProvider which can provide streams for any Page.
Definition: OgrePageManager.h:313
RawSimdUniquePtr(const RawSimdUniquePtr ©)
Definition: OgreRawPtr.h:66
virtual const String & getTypeName(void) const
See OverlayElement.
void _dumpCsvTracks(String &outText) const
Dumps all the tracks in CSV format to the output string argument.
virtual ~MovableObjectFactory()
Definition: OgreMovableObject.h:605
virtual SubRenderState * createInstance()
Create an instance of the SubRenderState sub class it suppose to create.
@ CE_OBJECTNAMEEXPECTED
Definition: OgreScriptCompiler.h:211
void importMesh(DataStreamPtr &stream, Mesh *pDest)
Imports Mesh and (optionally) Material data from a .mesh file DataStream.
@ OGREPROF_RENDERING
Rendering.
Definition: OgreProfiler.h:213
void * ptr
Definition: OgreBufferPacked.h:120
static size_t _getNumIndexesForBatchSize(uint16 batchSize)
Utility method to get the number of indexes required to render a given batch.
virtual RenderTargetIterator getRenderTargetIterator(void)
Returns a specialised MapIterator over all render targets attached to the RenderSystem.
Definition: OgreRenderSystem.h:561
@ PF_R16G16B16A16_SINT
64-bit pixel format, 16 bits red (signed int), 16 bits blue (signed int), 16 bits green (signed int),...
Definition: OgrePixelFormat.h:198
bool enableAlphaBlend
Definition: OgreGLES2HlmsPso.h:54
virtual void finializeSession()
@ GMM_PIXELS
Positions & sizes are in absolute pixels.
Definition: OgreOverlayElement.h:62
static const IdString DetailMapsNormal
Definition: OgreHlmsPbsMobile.h:154
static void setDefaultIterationInterval(Real iterationInterval)
Set the default iteration interval for all ParticleSystem instances.
Definition: OgreParticleSystem.h:431
virtual ~ParticleVisualData()
Definition: OgreParticle.h:57
void _addOctreeNode(OctreeNode *, Octree *octree, int depth=0)
Adds the Octree Node, starting at the given octree, and recursing at max to the specified depth.
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
@ QUATERNION
Definition: OgreAnimable.h:83
void findVisibleNodes(PCZCamera *, NodeList &visibleNodeList, RenderQueue *queue, VisibleObjectsBoundsInfo *visibleBounds, bool onlyShadowCasters, bool displayNodes, bool showBoundingBoxes)
Find and add visible objects to the render queue.
uint32 instanceCount
Definition: OgreCbDrawCall.h:45
void loadFromAoS(const Matrix4 *RESTRICT_ALIAS src)
Converts ARRAY_PACKED_REALS matrices into this ArrayMatrix.
VertexBufferPacked * createVertexBuffer(const VertexElement2Vec &vertexElements, size_t numVertices, BufferType bufferType, void *initialData, bool keepAsShadow)
Creates a vertex buffer based on the given parameters.
PSSMShadowCameraSetup * getReceiveDynamicShadowsPSSM() const
Whether to use PSSM support dynamic texture shadows, and if so the settings to use (default 0).
Definition: OgreTerrainMaterialGeneratorA.h:131
list< AbstractNodePtr >::type AbstractNodeList
Definition: OgreScriptCompiler.h:88
const LightList & queryLights(void) const
Gets a list of lights, ordered relative to how close they are to this movable object.
Definition: OgreMovableObject.h:543
virtual void swapBuffers()
Swaps the frame buffers to display the next frame.
RenderSystem * getDestinationRenderSystem()
Get the rendersystem subclass to which the output of this Scene Manager gets sent.
const String & getTessellationDomainProgramName(void) const
Gets the name of the Domain Evaluation program used by this pass.
virtual void _setViewMatrix(const Matrix4 &m)
Sets the view transform matrix.
IDirect3DIndexBuffer9 * getD3DIndexBuffer(void)
Get the D3D-specific index buffer.
const Vector3 getCenterBackBottom(void) const
Gets the center of the corners 0, 1.
Definition: OgreVolumeOctreeNode.h:355
void getLightCount(int lightCount[3]) const
Get the light count per light type.
static const IdString UvDiffuseSwizzle9
Definition: OgreUnlitProperty.h:101
static const IdString BlendModeIndex2
Definition: OgreUnlitProperty.h:111
bool intersects(const Sphere &s) const
Returns whether or not this sphere intersects another sphere.
Definition: OgreSphere.h:78
WaveType rgbGenWave
Definition: OgreQuake3Shader.h:82
PixelFormat suggestPixelFormat() const
Override since windows don't usually have alpha.
Definition: OgreRenderWindow.h:207
@ PROP_MATRIX4
Definition: OgreProperty.h:122
virtual void inject()
Definition: OgreLodOutputProvider.h:49
Pool()
Definition: OgreResourceManager.h:52
CGProgramProcessor()
Class constructor.
map< LwConstString, const HlmsSamplerblock * >::type samplerblocks
Definition: OgreHlmsJson.h:77
void _setWorldMatrix(const Matrix4 &m)
Sets the world transform matrix.
static bool initialize()
Initialize the Shader Generator System.
virtual void advanceFrame(void)
StringVector getResourceGroups(void)
Get a list of the currently defined resource groups.
uint32 mrtIndex
Index in case of MRT. Ignored if textureSource isn't mrt.
Definition: OgreCompositorPassUavDef.h:63
@ VET_UINT2
Definition: OgreVertexElements.h:100
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
virtual void copyParametersTo(StringInterface *dest) const
Method for copying this object's parameters to another object.
Definition: OgreStringInterface.h:302
ProgramWriter * createProgramWriter(const String &language)
Create a new, unloaded HighLevelGpuProgram.
MovableObject * getAttachedObject(size_t index)
Retrieves a pointer to an attached object.
Definition: OgreSceneNode.h:117
bool useBoneMatrixLookup() const
Tells whether to use bone matrix lookup.
Definition: OgreInstanceBatchVTF.h:183
PCZCamera::Visibility getVisibility(const AxisAlignedBox &bound)
Returns the detailed visibility of the box.
void setTextureUvSource(PbsTextureTypes sourceType, uint8 uvSet)
Sets which UV set to use for the given texture.
virtual void * lock(size_t offset, size_t length, LockOptions options)
Lock the buffer for (potentially) reading / writing.
Definition: OgreHardwareBuffer.h:185
virtual size_t getCurrentVertexCount() const
Get the number of vertices in the section currently being defined (returns 0 if no section is in prog...
map< String, SceneNode * >::type SceneNodeList
Definition: OgrePCZone.h:76
static String Type
Definition: OgreShaderFFPTexturing.h:93
Base interface for an instance of a property.
Definition: OgreProperty.h:189
int getViewportWidth(void) const
Gets the width of the destination viewport in pixels.
Enumerates the SceneManager classes available to applications.
Definition: OgreSceneManagerEnumerator.h:90
@ BP_TYPE_VERTEX
Definition: OgreBufferPacked.h:84
IDXGIFactoryN * GetDXGIFactory()
Definition: OgreD3D11Device.h:63
static TerrainAutoUpdateLod * getAutoUpdateLod(uint32 strategy)
Definition: OgreTerrainAutoUpdateLod.h:94
virtual void _resourceTransitionDestroyed(ResourceTransition *resTransition)
Definition: OgreRenderSystem.h:796
void setSamplerblock(uint8 slotIdx, const HlmsSamplerblock &refParams)
Sets a samplerblock based on reference parameters.
void CreateComputeShader()
CbRenderOp(const v1::RenderOperation &_renderOp)
Operand(ParameterPtr parameter, Operand::OpSemantic opSemantic, int opMask=Operand::OPM_ALL, ushort indirectionLevel=0)
Class constructor.
Command object for setting matrix packing in column-major order.
Definition: OgreD3D9HLSLProgram.h:69
static bool msOptimizeForShadowMapping
When this bool is false, prepareForShadowMapping will use the same Vaos for both regular and shadow m...
Definition: OgreMesh2.h:458
MovableObject * getChildObject(void) const
virtual BackgroundProcessTicket initialiseAllResourceGroups(Listener *listener=0)
Initialise all resource groups which are yet to be initialised in the background.
static ParticleSystemManager * getSingletonPtr(void)
Override standard Singleton retrieval.
void _findNodes(const PlaneBoundedVolume &t, PCZSceneNodeList &list, PCZSceneNode *exclude, bool includeVisitors, bool full)
vector< BufferPacked * >::type BufferPackedVec
Definition: OgreBufferPacked.h:305
SceneQuery(SceneManager *mgr)
Standard constructor, should be called by SceneManager.
Command object for common up-vector (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:92
virtual ~AnimableObject()
Definition: OgreAnimable.h:288
AutoConstantType
Defines the types of automatically updated values that may be bound to GpuProgram parameters,...
Definition: OgreGpuProgramParams.h:894
virtual void _setHlmsSamplerblock(uint8 texUnit, const HlmsSamplerblock *Samplerblock)=0
@See HlmsSamplerblock.
void _setHlmsMacroblock(const HlmsMacroblock *macroblock, const GLES2HlmsPso *pso)
BufferPacked * extraBuffer
Definition: OgreConstBufferPool.h:61
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
Definition: OgreD3D9Resource.h:47
virtual const String & getTargetLanguage(void) const
Definition: OgreShaderGLSLProgramWriter.h:132
Real cloudHeight
Definition: OgreQuake3Shader.h:107
int32 getProperty(IdString key, int32 defaultVal=0) const
static const IdString BlendModeIdx10
Definition: OgreHlmsUnlitMobile.h:135
GpuLogicalIndexUse(size_t bufIdx, size_t curSz, uint16 v)
Definition: OgreGpuProgramParams.h:567
void _setTessellationDomainTexture(size_t unit, const TexturePtr &tex)
See RenderSystem.
void setNormalMapSpace(NormalMapSpace normalMapSpace)
Set the normal map space.
Definition: OgreShaderExNormalMapLighting.h:127
ShadowTextureDefinition(ShadowMapTechniques t, const String &texRefName, uint8 _mrtIndex, const Vector2 &_uvOffset, const Vector2 &_uvLength, uint8 _arrayIdx, size_t _light, size_t _split)
Definition: OgreCompositorShadowNodeDef.h:82
VectorIterator< MovableObjectVec > MovableObjectIterator
Definition: OgreSceneManager.h:2986
static void calculateCastersBox(const size_t numNodes, ObjectData t, uint32 sceneVisibilityFlags, AxisAlignedBox *outBox)
static GLenum getGLUsage(unsigned int usage)
Utility function to get the correct GL usage based on HBU's.
Definition: OgreGL3PlusHardwareBufferManager.h:126
FileSystemLayer(const Ogre::String &subdir)
Creates a concrete platform-dependent implementation of FileSystemLayer.
Definition: OgreFileSystemLayer.h:57
void setExcludeNode(SceneNode *excludeNode)
set node to exclude from query
Definition: OgrePCZSceneQuery.h:69
virtual String getType(void) const
Returns the type of the codec as a String.
size_t getPolygonCount(void) const
Returns the current number of polygons.
virtual void *RESTRICT_ALIAS_RETURN map(size_t elementStart, size_t elementCount, MappingState prevMappingState, bool advanceFrame=true)=0
uint8 getDynamicBufferMultiplier(void) const
Definition: OgreVaoManager.h:430
Workflows getWorkflow(void) const
CompositorPassSceneDef(CompositorTargetDef *parentTargetDef)
Definition: OgreCompositorPassSceneDef.h:141
const SubRenderStateSet & getSubRenderStateInstanceSet() const
Return a set of all instances of the template SubRenderState.
Definition: OgreShaderSubRenderState.h:198
virtual void _render(const CbDrawCallStrip *cmd)
virtual void dirtyNodeByMovingPortals(void)=0
Mark nodes dirty base on moving portals.
Definition: OgreHlmsCommon.h:133
static String TargetLanguage
Definition: OgreShaderGLSLProgramWriter.h:74
void setPosition(Real x, Real y, Real z)
Set the position of the billboard.
virtual void unbind(RenderTarget *target)=0
Unbind a certain render target.
void makeTrans(Real tx, Real ty, Real tz)
Definition: OgreMatrix4.h:434
virtual void initConfigOptions(void)
The class represents a polygon in 3D space.
Definition: OgrePolygon.h:53
@ PF_FLOAT16_GR
32-bit, 2-channel s10e5 floating point pixel format, 16-bit green, 16-bit red
Definition: OgrePixelFormat.h:134
size_t bufferSize
Shortcut to know the buffer size needs.
Definition: OgreGpuProgramParams.h:579
AtomicScalar(const AtomicScalar< T > &cousin)
Definition: OgreAtomicScalar.h:412
ArrayVector3 mCenter
Definition: C/OgreArraySphere.h:62
TriangleList mTriangleList
Definition: OgreLodData.h:153
Matrix4 getViewProjectionMatrix(size_t shadowMapIdx) const
Returns the texture view projection matrix for the given shadow map index.
CompositorPassQuadDef(CompositorNodeDef *parentNodeDef, CompositorTargetDef *parentTargetDef)
Definition: OgreCompositorPassQuadDef.h:112
void setRedAdjust(float red)
Sets the red adjustment to be made per second to particles.
Function * createFunction(const String &name, const String &desc, const Function::FunctionType functionType)
Create new function in this program.
void deletePtr(T *ptr)
Function which invokes OGRE_DELETE on a given pointer.
Definition: OgreMemoryAllocatorConfig.h:513
Node * getParent(void) const
Gets this node's parent (NULL if this is the root).
GpuProgramParameters & operator=(const GpuProgramParameters &oth)
Operator = overload.
GL3PlusFrameBufferObject(GL3PlusFBOManager *manager, uint fsaa)
map< size_t, Vector3 >::type NormalsMap
A collection of normals based on the vertex index.
Definition: OgrePose.h:76
virtual void stop()=0
Stop anything special.
virtual void setFsaaResolved()
Definition: OgreGLES2DepthTexture.h:113
ResourceAccess
Enum identifying the texture access privilege.
Definition: OgreResourceTransition.h:111
virtual const StringVector & getScriptPatterns(void) const =0
Gets the file patterns which should be used to find scripts for this class.
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Returns false if couldn't attach.
Plane(const Vector3 &rkNormal, Real fConstant)
Construct a plane through a normal, and a distance to move the plane along the normal.
BillboardRotationType getBillboardRotationType(void) const
Gets billboard rotation type.
static char * _arrangeEfficient(v1::SubMesh *subMesh, bool halfPos, bool halfTexCoords, bool qTangents, VertexElement2Vec *outVertexElements, size_t vaoPassIdx)
Rearranges the buffers to be efficiently rendered in Ogre 2.1 with Hlms Takes a v1 SubMesh and return...
void getRenderOperation(RenderOperation &, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
ArraySphere(const ArrayReal &radius, const ArrayVector3 ¢er)
Definition: C/OgreArraySphere.h:68
VertexElement()
Constructor, should not be called directly, only needed because of list.
Definition: OgreHardwareVertexBuffer.h:127
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
virtual unsigned long getFrameLastHeld()
Get the frame number in which this Page was last loaded or held.
Definition: OgrePage.h:121
virtual ~InstancedEntity()
@ SHADER_GEN_WAVE
Definition: OgreQuake3Types.h:121
VertexData(VertexDeclaration *dcl, VertexBufferBinding *bind)
Constructor.
virtual const String & getTargetLanguage() const
Definition: OgreShaderCGProgramWriter.h:74
@ ID_VERTEX_PROGRAM
Definition: OgreScriptCompiler.h:610
virtual void addChildImpl(OverlayElement *elem)
Adds another OverlayElement to this container.
SkinningType
Definition: OgreShaderPrerequisites.h:94
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
Definition: OgreD3D9Resource.h:58
HlmsSamplerblock const * samplerBlock
Definition: OgreHlmsUnlitDatablock.h:50
void notifyDelta(uint16 x, uint16 y, uint16 lod, Real delta)
Notify the node (and children) of a height delta value.
@ ID_POINT_SIZE
Definition: OgreScriptCompiler.h:715
This class contains the information required to describe the edge connectivity of a given set of vert...
Definition: OgreEdgeListBuilder.h:54
void setNumLocalTextureDefinitions(size_t numTDs)
Reserves enough memory for all texture definitions.
Definition: OgreTextureDefinition.h:273
const SkeletonPtr & getOldSkeleton(void) const
Gets a pointer to any linked Skeleton.
static NeighbourIndex getOppositeNeighbour(NeighbourIndex index)
Get the opposite neighbour relationship (useful for finding the neighbour index from the perspective ...
virtual void _restoreManualHardwareResources()
Notifies the movable object that hardware resources should be restored.
Definition: OgreMovableObject.h:182
uint16 version
Version of the chunk (stored)
Definition: OgreStreamSerialiser.h:97
String doGet(const void *target) const
void clearBoneAssignments(void)
Removes all bone assignments for this mesh.
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
virtual void copyFrom(const SubRenderState &rhs)
@ ID_CLEAR
Definition: OgreScriptCompiler.h:847
static void convertColourValue(VertexElementType srcType, VertexElementType dstType, uint32 *ptr)
Utility method for converting colour from one packed 32-bit colour type to another.
~GLSLESProgramPipelineManager(void)
virtual void _findVisibleObjects(Camera *cam, VisibleObjectsBoundsInfo *visibleBounds, bool onlyShadowCasters)
Recurses through the PCZTree determining which nodes are visible.
GenericValue< UTF8< char >, MemoryPoolAllocator< CrtAllocator > > Value
Definition: OgreSceneFormatImporter.h:44
void load(const Matrix4 &src)
Assumes src is aligned.
Definition: C/OgreArrayMatrixAf4x3.h:220
RenderTarget * detachRenderTarget(RenderTarget *pWin)
Detaches a RenderTarget from the active render system and returns a pointer to it.
@ ACT_TANTIME_0_1
Tangent of "Time0_1". Equivalent to RenderMonkey's "TanTime0_1".
Definition: OgreGpuProgramParams.h:1194
ushort getTessellationDomainProgramConstantBoolCount(void) const
The number of boolean constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:907
bool positionCloses(const Vector3 &rhs, Real tolerance=1e-03f) const
Returns whether this vector is within a positional tolerance of another vector, also take scale of th...
Definition: OgreVector3.h:764
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
virtual void _callMemoryChangeListeners(void)=0
Internal use, notifies all attached objects that our memory pointers (i.e.
HlmsMacroblock const * macroblock
Definition: OgreHlmsPso.h:174
Controller< Real > * createTextureRotater(TextureUnitState *layer, Real speed)
Creates a basic time-based texture coordinate modifier designed for creating rotating textures.
vector< QuadTextureSource >::type TextureSources
Definition: OgreCompositorPassQuadDef.h:63
Real getSquaredDepth(const MovableObject *movableObject, const Ogre::Camera *camera) const
virtual ~D3D11NullTexture()
destructor
bool hasActiveActor(const Renderable *renderable) const
String srcResourceGroup
Filename in which it was defined, if any.
Definition: OgreHlms.h:99
virtual void setValue(const Radian &)
Set value.
Definition: OgreAnimable.h:176
virtual void _notifyDefaultDimensions(Real width, Real height)=0
Tells the renderer that the particle default size has changed.
ID3D11VertexShader * getVertexShader(void) const
const ColourValue & getShadowColour() const
void _setWorldMatrix(const Matrix4 &m)
See RenderSystem.
void loadFromAoS(const Matrix4 *RESTRICT_ALIAS src)
Converts ARRAY_PACKED_REALS matrices into this ArrayMatrix.
map< String, ParamCommand * >::type ParamCommandMap
Definition: OgreStringInterface.h:86
virtual void unregisterSceneNodeListener(SceneNode *sceneNode)
Unregisters a registered node for listening.
Radian operator*(Real a, const Radian &b)
Definition: OgreMath.h:793
Simple implementation of MovableObject and Renderable for single-part custom objects.
Definition: OgreSimpleRenderable.h:52
const AxisAlignedBox & getCurrentCastersBox(void) const
@See CompositorShadowNode::getCastersBox
@ PF_R16G16_SNORM
32-bit pixel format, 16 bits red (signed normalised int), 16 bits blue (signed normalised int).
Definition: OgrePixelFormat.h:240
@ PBSM_DIFFUSE
Definition: OgreHlmsPbsPrerequisites.h:57
static eExceptionsErrorLevel mExceptionsErrorLevel
Definition: OgreD3D11Device.h:97
virtual_l1 void specular(const ColourValue &col)
Add a vertex specular colour to a vertex.
PropertyType getType() const
Get the type of the property.
Definition: OgreProperty.h:151
AxisAlignedBox & _getLocalAABB()
Returns the local bounding box of this OctreeNode.
Definition: OgreOctreeNode.h:108
const Vector4 & getDetailMapOffsetScale(uint8 detailMap) const
static const ArrayReal PI
Definition: OgreMathlibC.h:49
static const IdString UvAtlas11
Definition: OgreHlmsUnlitMobile.h:154
void saveAllTexturesFromDatablocks(const String &folderPath, set< String >::type &savedTextures, bool saveOitd, bool saveOriginal, HlmsTextureExportListener *listener)
uint32 RGBA
Definition: OgreColourValue.h:41
virtual void setPointRenderingEnabled(bool enabled)
Set whether or not the BillboardSet will use point rendering rather than manually generated quads.
virtual ~AndroidEGLWindow()
SharedPtr< GpuSharedParameters > GpuSharedParametersPtr
Definition: OgrePrerequisites.h:352
HighLevelGpuProgramManager()
void switchMode(uint &width, uint &height, short &frequency)
Switch video modes.
const String & getShaderLibraryPath(void) const
Get shader library path.
Definition: OgreGLES2Support.h:98
void copyFromFramebuffer(uint32 zoffset)
Copy from framebuffer.
virtual void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest, bool forGpuProgram=false)
Converts a uniform projection matrix to suitable for this render system.
Definition: OgreNULLRenderSystem.h:144
void uninstall()
Perform the final plugin uninstallation sequence.
const ColourValue & getAmbientLightUpperHemisphere(void) const
Returns the ambient light level to be used for the scene.
Definition: OgreSceneManager.h:1713
PassList pass
Definition: OgreQuake3Shader.h:103
virtual StreamSerialiser * _readPageStream(PageID pageID)
Get a serialiser set up to read Page data for the given PageID.
Abstract class that can be implemented by the user application to provide a way to retrieve or genera...
Definition: OgrePageManager.h:58
virtual void _setHlmsSamplerblock(uint8 texUnit, const HlmsSamplerblock *Samplerblock)
@See HlmsSamplerblock.
Vector3 singleIntersection
Single intersection point, only applicable for WFT_SINGLE_INTERSECTION.
Definition: OgreSceneQuery.h:107
void track(const MovableObject *movableObject)
Starts tracking the given MovableObject and render its Aabb.
ProjectionType getProjectionType() const
Get the projection type of this PCZFrustum.
Definition: OgrePCZFrustum.h:120
virtual void download(const PixelBox &data)
Download a box of pixels from the card.
static int IFloor(float fValue)
Definition: OgreMath.h:253
iterator_range< T > type
defines the real used type
Definition: OgreIteratorRange.h:124
void _updateAutoParams(const AutoParamDataSource *source, uint16 variabilityMask)
Update automatic parameters.
void destroy(void)
Destroys the window.
TexturePtr reflectionTexture
Definition: OgrePlanarReflections.h:48
virtual uint32 fillBuffersForV1(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
void doSet(void *target, const String &val)
@ ID_LOD_INDEX
Definition: OgreScriptCompiler.h:639
@ PF_ASTC_SRGB8A8_8X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 8x6)
Definition: OgrePixelFormat.h:301
GL3PlusBufferInterface(size_t vboPoolIdx, GLuint vboName, GL3PlusDynamicBuffer *dynamicBuffer)
void store(Matrix4 *dst) const
Assumes dst is aligned.
Definition: C/OgreArrayMatrixAf4x3.h:232
const IndexMap * getBlendIndexToBoneIndexMap(void) const
Definition: OgreRenderable.h:496
VertexElement2VecVec vertexElements
Definition: OgreHlmsPso.h:168
void setSpecular(Real red, Real green, Real blue, Real alpha)
Sets the specular colour reflectance properties of every Pass in every Technique.
bool operator<(IdString idString) const
Definition: OgreIdString.h:225
void setIsOptimised(bool flag)
Sets if the GLSL source has been optimised successfully.
Definition: OgreGLSLESShader.h:99
const String & getOrigin(void) const
Get the origin of this particle system, e.g.
Definition: OgreParticleSystem.h:528
virtual ~InstanceBatchShader()
ImageDownsamplerCube downscale2x_Float32_XXX_cube
Definition: OgreImageDownsampler.h:157
Manages particle systems, particle system scripts (templates) and the available emitter & affector fa...
Definition: OgreParticleSystemManager.h:79
InstanceBatchMapIterator getInstanceBatchMapIterator(void) const
Get non-updateable iterator over instance batches per material.
Definition: OgreInstanceManager.h:325
@ BCT_UINT
Definition: OgreGpuProgramParams.h:54
void dirtyLightmap()
Mark a the entire lightmap as dirty.
RqSortMode getSortRenderQueue(uint8 rqId) const
static bool isNativeEndian(PixelFormat format)
Shortcut method to determine if the format is in native endian format.
String doGet(const void *target) const
Profile(const Profile &prof)
Definition: OgreTerrainMaterialGenerator.h:176
VertexData * _getSkelAnimVertexData(void) const
Advanced method to get the temporarily blended skeletal vertex information for entities which are sof...
Alternative listener class for dealing with RaySceneQuery.
Definition: OgreSceneQuery.h:327
virtual bool _createRenderWindows(const RenderWindowDescriptionList &renderWindowDescriptions, RenderWindowList &createdWindows)
Creates multiple rendering windows.
static const String & getPointLightExtruderVs_4_0(void)
Get extruder program source for point lights, compatible with vs_4_0.
Definition: OgreShadowVolumeExtrudeProgram.h:237
@ HBU_DYNAMIC_WRITE_ONLY
Combination of HBU_DYNAMIC and HBU_WRITE_ONLY.
Definition: OgreHardwareBuffer.h:115
static const IdString UvAtlas9
Definition: OgreHlmsUnlitMobile.h:152
size_t indexSet
The set of indexes this triangle came from (NB it is possible that the triangles on one side of an ed...
Definition: OgreEdgeListBuilder.h:63
struct z_stream_s z_stream
Definition: OgreDeflate.h:39
Specialisation of HardwareBuffer for a counter buffer.
Definition: OgreHardwareCounterBuffer.h:49
map< String, ProgramWriterFactory * >::type FactoryMap
Definition: OgreShaderProgramWriterManager.h:64
virtual int getExecutionOrder() const
vector< float >::type FloatConstantList
Definition of container that holds the current float constants.
Definition: OgreGpuProgramParams.h:587
Result build(VertexElementSemantic targetSemantic=VES_TANGENT, unsigned short sourceTexCoordSet=0, unsigned short index=1)
Build a tangent space basis from the provided data.
@ ID_VISIBILITY_MASK
Definition: OgreScriptCompiler.h:873
Real maxHeightDelta
Maximum delta height between this and the next lower lod.
Definition: OgreTerrainQuadTreeNode.h:140
void createVertexBuffers(VertexBufferPackedVec &outVertexBuffers, size_t numVertices, void *const *initialData, bool keepAsShadow)
Creates a vertex buffer based on the given parameters.
Definition: OgreImageResampler.h:283
GL surface descriptor.
Definition: OgreGLES2RenderTexture.h:42
@ PF_B5G6R5
16-bit pixel format, 5 bits red, 6 bits green, 5 bits blue.
Definition: OgrePixelFormat.h:63
const Vector3 getCenterTop(void) const
Gets the center of the corners 4, 5, 6, 7.
Definition: OgreVolumeOctreeNode.h:328
virtual ~D3D11NullTextureTarget()
uint32 getCurrentChunkID() const
Get the ID of the chunk that's currently being read/written, if any.
virtual String writeContentsToTimestampedFile(const String &filenamePrefix, const String &filenameSuffix, PixelFormat format=PF_UNKNOWN)
Writes the current contents of the render target to the (PREFIX)(time-stamp)(SUFFIX) file.
virtual void _setPipelineStateObject(const HlmsPso *pso)
@See HlmsPso
void _updateImplementation(SceneManagerEnumerator &sceneManagers, HlmsManager *hlmsManager)
This should be called by the render system to perform the actual compositor manager update.
DefaultWorkQueueBase(const String &name=BLANKSTRING)
Constructor.
virtual void softwareVertexSkinning(const float *srcPosPtr, float *destPosPtr, const float *srcNormPtr, float *destNormPtr, const float *blendWeightPtr, const unsigned char *blendIndexPtr, const Matrix4 *const *blendMatrices, size_t srcPosStride, size_t destPosStride, size_t srcNormStride, size_t destNormStride, size_t blendWeightStride, size_t blendIndexStride, size_t numWeightsPerVertex, size_t numVertices)=0
Performs software vertex skinning.
OptimisationLevel
Shader optimisation level.
Definition: OgreD3D9HLSLProgram.h:148
uint32 getRtIndex(void) const
bool operator==(const ConstVectorRange &rhs) const
comparison operator for equality
Definition: OgreIteratorRange.h:221
static const IdString DetailOffsets0
Definition: OgreHlmsPbs.h:358
virtual void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
Emulates the execution of a UAV to understand memory dependencies, and adds a memory barrier / resour...
@ PF_R8G8_SNORM
16-bit pixel format, 8 bits red (signed normalised int), 8 bits blue (signed normalised int).
Definition: OgrePixelFormat.h:232
size_t cacheData(const void *buf, size_t count)
Cache data pointed by 'buf'.
Definition: OgreDataStream.h:65
void setLightMapDirection(const Vector3 &v)
Set the shadow map light direction to use (world space).
Definition: OgreTerrain.h:1953
bool queryResult(MovableObject *movable, SceneQuery::WorldFragment *fragment)
Self-callback in order to deal with execute which returns collection.
static const int RenderableShift
Definition: OgreHlms.h:896
size_t getPassIterationNumberIndex() const
Get the physical buffer index of the pass iteration number constant.
Definition: OgreGpuProgramParams.h:2407
virtual ~GL3PlusUavBufferPacked()
const char * CompositorPassTypeEnumNames[PASS_CUSTOM+1u]
ConstMapIterator< NumericTrackList > NumericTrackIterator
Definition: OgreAnimation.h:404
const String & getMessages() const
Get any diagnostic messages about the process.
Definition: OgreWorkQueue.h:142
void setRotate(const Radian &angle)
Sets the rotation applied to this overlay.
virtual const String & getMovableType(void) const =0
Returns the type name of this object.
This class records the usage of a set of shared parameters in a concrete set of GpuProgramParameters.
Definition: OgreGpuProgramParams.h:805
virtual ~D3D11UavBufferPacked()
@ TID_NEWLINE
Definition: OgreScriptLexer.h:54
ushort getNumLodLevels(void) const
Returns the number of levels of detail that this mesh supports.
const String & getName() const
Get the name of the plugin.
void setVertexProgramConstantBoolCount(ushort c)
The number of boolean constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:695
map< String, OverlayElement * >::type ElementMap
Definition: OgreOverlayManager.h:56
ManualObjectSection * getSection(unsigned int index) const
Gets a pointer to a ManualObjectSection, i.e.
static uint8 getMaxMipmapCount(uint32 width, uint32 height)
bool canGetCompiledShaderBuffer()
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a multi render target.
@ VET_UINT4
Definition: OgreVertexElements.h:102
const String & getType(void) const
Returns the name of the type of affector.
Definition: OgreParticleAffector.h:118
void stop()
Stop anything special.
virtual const Vector3 & _getDerivedPosition(void) const
Gets the position of the OldNode as derived from all parents.
Fixed Function Pipeline render state builder.
Definition: OgreShaderFFPRenderStateBuilder.h:51
This abstract listener interface lets you get notifications of completed background processes instead...
Definition: OgreResourceBackgroundQueue.h:94
virtual void save(StreamSerialiser &stream)=0
Save this data to a stream.
const NodeAliasMap & getNodeAliasMap(void)
Gets read-only access to the map to all added nodes and their aliases.
Definition: OgreCompositorWorkspaceDef.h:235
Factory class for ScaleAffector.
Definition: OgreScaleAffectorFactory.h:39
static GLSLMonolithicProgramManager & getSingleton(void)
iterator begin()
Definition: OgreCommon.h:497
OldNode * getAssociatedNode(void) const
Returns a pointer to the associated OldNode object (if any).
Defines an instance of a discrete, movable object based on a Mesh.
Definition: OgreEntity.h:83
virtual ~Chunk(void)
Destructor.
IdType getId() const
Get the unique id of this object.
Definition: OgreId.h:74
virtual const Vector3 & getRegionDimensions(void) const
Gets the size of a single batch of geometry.
Definition: OgreStaticGeometry.h:673
Frustum(IdType id, ObjectMemoryManager *objectMemoryManager)
Named constructor.
static void bswapChunks(void *pData, size_t size, size_t count)
Reverses byte order of chunks in buffer, where 'size' is size of one chunk.
Definition: OgreBitwise.h:110
bool validate(D3D9RenderWindow *renderWindow)
virtual void addMarchingSquaresTriangles(const Vector3 *corners, const Vector4 *volumeValues, const size_t *indices, const Real maxDistance, MeshBuilder *mb) const
Overridden from IsoSurface.
void addBoneAssignment(const VertexBoneAssignment &vertBoneAssign)
Assigns a vertex to a bone with a given weight, for skeletal animation.
PCZSphereSceneQuery(SceneManager *creator)
uint32 mNumThreadGroups[3]
The number of thread groups to dispatch.
Definition: OgreHlmsPso.h:315
void copyFromFramebuffer(uint32 zoffset)
map< String, bool >::type UnaryOptionList
Definition: OgreCommon.h:724
Any & operator=(const ValueType &rhs)
Definition: OgreAny.h:93
Implementation of CompositorPass This implementation will clear the RenderTarget using the parameters...
Definition: OgreCompositorPassClear.h:57
RenderTexture * getRenderTarget(size_t slice)
Get a render target for this PixelBuffer, or a slice of it.
Real getDepth(void) const
Gets the depth (local y size) of the emitter.
void _setCreator(const HardwareSkinningFactory *pCreator)
Set the factory which created this sub render state.
Definition: OgreShaderExHardwareSkinning.h:143
@ ST_EXTERIOR_REAL_FAR
Definition: OgreSceneManager.h:3319
virtual void _setTextureCoordCalculation(size_t unit, TexCoordCalcMethod m, const Frustum *frustum=0)
Sets a method for automatically calculating texture coordinates for a stage.
void bind(void)
Bind the shader in OpenGL.
IdStringVec mExposedTextures
Definition: OgreCompositorPassDef.h:139
bool shareTransformWith(InstancedEntity *slave)
Shares the entire transformation with another InstancedEntity.
@ SPC_LIGHTPOSITION_OBJECT_SPACE1
Definition: OgreShaderParameter.h:208
Definition: OgreScriptCompiler.h:539
@ SPC_LIGHTPOSITIONVIEW_SPACE5
Definition: OgreShaderParameter.h:232
Centralized class for dealing with declarations of textures in Node & Workspace definitions.
Definition: OgreTextureDefinition.h:56
const FunctionAtomInstanceList & getAtomInstances() const
Return list of atom instances composing this function.
Definition: OgreShaderFunction.h:159
GpuSharedParametersUsage(GpuSharedParametersPtr sharedParams, GpuProgramParameters *params)
Construct usage.
GLES2NullTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, GLES2Support &support)
static CmdPlaneNormal msPlaneNormalCmd
Definition: OgreDeflectorPlaneAffector.h:99
GpuProgramParametersSharedPtr createParameters(void)
Overridden from GpuProgram.
static void useSameVaos(VaoManager *vaoManager, const VertexArrayObjectArray &inVao, VertexArrayObjectArray &outVao)
Copies all the pointers in inVao to outVao so they are identical without cloning any memory.
void _update(const Camera *lodCamera, SceneManager *sceneManager)
Calling this function every frame will cause us to execute all our passes (ie.
int major
Definition: OgreRenderSystemCapabilities.h:248
void operator=(const RawSimdUniquePtr ©)
Definition: OgreRawPtr.h:95
ImageDownsampler2D downscale2x_sRGB_XX88
Definition: OgreImageDownsampler.h:182
virtual uint8 waitForTailFrameToFinish(void)
See VaoManager::waitForTailFrameToFinish.
virtual void writeSourceCode(std::ostream &os, Program *program)
void setSubroutine(GpuProgramType gptype, const String &slotName, const String &subroutineName)
uint32 supportedLightTypes
Bitmask OR of e.g.
Definition: OgreCompositorShadowNode.h:359
size_t _getInternalTotalSizeBytes(void) const
Definition: OgreBufferPacked.h:291
static const uint16 TERRAINLAYERDECLARATION_CHUNK_VERSION
Definition: OgreTerrain.h:283
void nodeMoved(BoneTransform &inOutTransform, size_t oldDepth, size_t newDepth)
Requests memory for the given Node to be moved to a different depth level, transferring existing valu...
bool closeTo(const PortalBase *otherPortal)
Check if portal touches another portal.
virtual void write(const Plane *plane, size_t count=1)
static AbsolutePixelCountLodStrategy & getSingleton(void)
Override standard Singleton retrieval.
bool hasOwnDimensions(void) const
Returns true if this particle deviates from the ParticleSystem's default dimensions (i....
Definition: OgreParticle.h:124
SceneBlendFactor mSourceBlendFactor
Definition: OgreHlmsDatablock.h:172
@ SPC_POSTOLIGHT_OBJECT_SPACE0
Light vector in object space index 0-7.
Definition: OgreShaderParameter.h:127
RenderQueue * renderQueue
Definition: OgreSceneManager.h:867
virtual void _refreshAnimationState(AnimationStateSet *animSet)
Refresh an animation set suitable for use with this skeleton.
void setCustomParameter(uint16 index, const Vector4 &value)
Sets a custom parameter for this Light, which may be used to drive calculations for this specific Ren...
AnyNumeric operator*(const AnyNumeric &rhs) const
Definition: OgreAny.h:335
ETCCodec(const String &type)
virtual void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
Specialisation of VertexDeclaration for OpenGL ES 2 Vertex Array Object usage.
Definition: OgreGLES2VertexArrayObject.h:38
void updateGeometryWithoutNotifyNeighbours()
Performs an update on the terrain geometry based on the dirty region.
static bool intersects(const Sphere &sphere, const Plane &plane)
Sphere / plane intersection test.
void setStencilCheckEnabled(bool enabled)
void addShaderProfile(const String &profile)
Adds the profile to the list of supported profiles.
Definition: OgreRenderSystemCapabilities.h:597
@ OR_DEGREE_90
Definition: OgreFrustum.h:51
RenderToVertexBufferSharedPtr createRenderToVertexBuffer()
Create a hardware vertex buffer.
ConstVectorIterator< InstanceBatchVec > InstanceBatchIterator
Definition: OgreInstanceManager.h:322
GLenum getGLShaderType(GpuProgramType programType)
Get OpenGL GLSL shader type from OGRE GPU program type.
@ CULL_CLOCKWISE
Hardware culls triangles whose vertices are listed clockwise in the view (default).
Definition: OgreCommon.h:287
@ SPC_TEXTURE_COORDINATE5
Definition: OgreShaderParameter.h:293
virtual ResourceManager * getCreator(void)
Gets the manager which created this resource.
Definition: OgreResource.h:431
static const IdString DetailWeights
Definition: OgreHlmsPbs.h:357
void setStartZone(PCZone *startZone)
set the zone to start the scene query
Definition: OgrePCZSceneQuery.h:103
virtual ~MeshSerializerImpl()
Implements texture atlas sampling.
Definition: OgreShaderExTextureAtlasSampler.h:131
static TextureType _getTexType(D3D11_SRV_DIMENSION type)
static unsigned int intRead(const void *src, int n)
Read a n*8 bits integer value to memory in native endian.
Definition: OgreBitwise.h:276
const SmallVectorImpl & operator=(const SmallVectorImpl &RHS)
A factory that enables creation of FFPColour instances.
Definition: OgreShaderFFPColour.h:152
vector< DynLib * >::type PluginLibList
Definition: OgreRoot.h:126
static ColourValue parseColourValue(const String &val, const ColourValue &defaultValue=ColourValue::Black)
Parses a ColourValue out of a String.
bool movePass(const unsigned short sourceIndex, const unsigned short destinationIndex)
Move a pass from source index to destination index.
virtual void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
@ ID_COLOUR_OP_EX
Definition: OgreScriptCompiler.h:754
const ColourValue & getSelfIllumination(void) const
Gets the self illumination colour of the pass.
Real getHeight(void) const
Gets the height of this element in relation to the screen (where 1.0 = screen height)
Definition: OgreAndroidEGLWindow.h:46
virtual bool _prepareProceduralPage(Page *page, PagedWorldSection *section)
Give a world the opportunity to prepare page content procedurally.
size_t indexSize
Definition: OgreLodBuffer.h:40
virtual ~LogListener()
Definition: OgreLog.h:77
APKFileSystemArchiveFactory(AAssetManager *assetMgr)
Definition: OgreAPKFileSystemArchive.h:86
Definition: OgreScriptTranslator.h:190
virtual String validateConfigOptions(void)=0
Validates the options set for the rendering system, returning a message if there are problems.
void updateDerivedValues() const
Update the derived values.
static String Type
Definition: OgreShaderExPerPixelLighting.h:95
vector< Pass >::type PassList
Definition: OgreQuake3Shader.h:102
ImageDownsampler2D downscale2x_sRGB_XXXA8888
Definition: OgreImageDownsampler.h:179
void resizePOD(size_t newSize, const T &value=T())
Definition: OgreFastArray.h:316
StreamType
Requested stream type.
Definition: OgreDeflate.h:64
virtual TexturePtr prepare(const String &name, const String &group, TextureType texType=TEX_TYPE_2D, int numMipmaps=MIP_DEFAULT, Real gamma=1.0f, bool isAlpha=false, PixelFormat desiredFormat=PF_UNKNOWN, bool hwGammaCorrection=false)
Prepares to loads a texture from a file.
void adjustNodeToMatch(SceneNode *node)
Adjust the portal so that it is centered and oriented on the given node.
void dirtyHash()
Definition: OgreCommon.h:488
void _getChildIndexes(const AxisAlignedBox &, int *x, int *y, int *z) const
Returns the appropriate indexes for the child of this octree into which the box will fit.
void attachToProgramObject(const GLuint programObject)
virtual void bindBufferPS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
A key frame in an animation sequence defined by an AnimationTrack.
Definition: OgreKeyFrame.h:59
GL3PlusHardwareShaderStorageBuffer(HardwareBufferManagerBase *mgr, size_t bufferSize, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name)
void setShadingMode(ShadeOptions mode)
Sets the type of light shading required.
static const IdString PssmBlend
Definition: OgreHlms.h:818
void blit(const PixelBox &src, const Box &dstBox)
Blits a set of values into a region on the blend map.
void setValue(Real value)
void setSubdivisionFactor(Real factor)
Alters the level of subdivision for this surface.
virtual ~MeshSerializerListener()
Definition: OgreMesh2Serializer.h:204
InterpolationMode
The types of animation interpolation available.
Definition: OgreAnimation.h:97
void setVSyncEnabled(bool vsync)
RenderWindow::setVSyncEnabled
void _generateManualLodLevels(LodConfig &lodConfig)
If you only use manual Lod levels, then you don't need to build LodData mesh representation.
const float * ptr() const
Pointer accessor for direct copying.
Definition: OgreColourValue.h:165
void getVectorAlign(const Vector3 &inVec, Alignment align, Vector3 *outVec) const
Translate a vector into world space based on a specified alignment.
HlmsCompute * getComputeHlms(void)
Definition: OgreHlmsManager.h:144
Real getVerticalTexelOffset(void)
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
virtual void clearResults(void)
Clears the results of the last query execution.
list< ResourceLocation * >::type LocationList
List of possible file locations.
Definition: OgreResourceGroupManager.h:294
PortalFactory()
Definition: OgrePortal.h:84
Overlay * create(const String &name)
Create a new Overlay.
void setType(LightTypes type)
Sets the type of light - see LightTypes for more info.
OldNode()
Constructor, should only be called by parent, not directly.
static void toStr(const Vector3 &value, String &outString)
uint32 zoffset
Definition: OgreGLES2RenderTexture.h:45
virtual_l2 void _setDerivedOrientation(const Quaternion &q)
Sets the final world orientation of the node directly.
void markUsedIndices(IDX *indices, size_t indexCount)
Definition: OgreLod0Stripifier.h:72
~D3D9HardwareIndexBuffer()
@ ERR_RT_ASSERTION_FAILED
Definition: OgreException.h:116
void applyToAnimable(const AnimableValuePtr &anim, Real timePos, Real weight=1.0, Real scale=1.0f)
Applies all numeric tracks given a specific time point and weight to the specified animable value.
PatchSurfaceType
Definition: OgrePatchSurface.h:60
Definition: OgreVertexBufferPacked.h:38
@ ID_ZERO
Definition: OgreScriptCompiler.h:653
bool getDoubleSided(void) const
Definition: OgreLight.h:292
void _setVertexTexture(size_t unit, const TexturePtr &tex)
Binds a texture to a vertex, geometry, compute, tessellation hull or tessellation domain sampler.
void apply(Real timePos, Real weight=1.0, Real scale=1.0f)
Applies an animation given a specific time point and weight.
A factory that enables creation of TriplanarMapping instances.
Definition: OgreShaderExTriplanarTexturing.h:189
void setExtents(Real mx, Real my, Real mz, Real Mx, Real My, Real Mz)
Definition: OgreAxisAlignedBox.h:258
static Quaternion parseQuaternion(const String &val, const Quaternion &defaultValue=Quaternion::IDENTITY)
Parses a Quaternion out of a String.
Factory object for creating Portal instances.
Definition: OgrePortalBase.h:294
GLSLESProgramWriter()
Class constructor.
bool getEmitting() const
Returns true if the particle system emitting flag is turned on.
virtual const Quaternion & getOrientationForViewUpdate(void) const
Get the derived orientation of this frustum.
Specialisation of HardwareIndexBuffer for emulation.
Definition: OgreGLES2DefaultHardwareBufferManager.h:71
@ ID_3D
Definition: OgreScriptCompiler.h:725
void removeAllWorkspaces(void)
Removes all workspaces. Make sure you don't hold any reference to a CompositorWorkpace!
bool _collectForwardPlusObjects(const Camera *camera)
Returns true if collection code was run.
void _notifyRenderableFlushedHlmsDatablock(Renderable *renderable)
void removeEdge(const Edge &edge)
D3D9VideoMode * item(size_t index)
void doSet(void *target, const String &val)
virtual void bindBufferDS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Vector3 getMaximum() const
Gets the maximum corner of the box.
bool isVSync() const
Definition: OgreD3D9RenderWindow.h:53
Item *const * getProxyItems(void) const
Definition: OgreParallaxCorrectedCubemap.h:233
static ArrayMaskI And(ArrayInt a, ArrayMaskI b)
Definition: OgreMathlibC.h:157
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
GpuProgramParametersSharedPtr getGeometryProgramParameters(void) const
Gets the geometry program parameters used by this pass.
void doSet(void *target, const String &val)
Predefined type.
Definition: OgreIteratorRange.h:143
virtual void setWorkersCanAccessRenderSystem(bool access)
Set whether worker threads will be allowed to access render system resources.
@ ID_EXP2
Definition: OgreScriptCompiler.h:702
virtual void setSkyPlaneEnabled(bool enable)
Enables / disables a 'sky plane'.
Definition: OgreSceneManager.h:2169
vector< Plane >::type PlaneList
Definition: OgrePlaneBoundedVolume.h:52
virtual void _notifyStaticDirty(void) const
Called by SceneManager when it is telling we're a static MovableObject being dirty Don't call this di...
void bind(void)
Bind the shader in OpenGL.
Vector3 getDirection(void) const
Returns the light's direction.
Ogre assumes that there are separate vertex and fragment programs to deal with but GLSL ES has one pr...
Definition: OgreGLSLESLinkProgramManager.h:57
4-dimensional homogeneous vector.
Definition: OgreVector4.h:46
Rectangle2D(bool bQuad, IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
uint32 baseInstance
Definition: OgreCbDrawCall.h:57
void _unprepare(void)
Internal method for undoing the preparation this object as part of Material::unprepare.
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, const TextureUnitState *srcTextureUnit, const TextureUnitState *dstTextureUnit)
void setAttenuationBasedOnRadius(Real radius, Real lumThreshold)
Sets the attenuation parameters (range, constant, linear & quadratic,.
void destroyAllDatablocks(void)
Destroys all datablocks created with @createDatablock.
virtual void stop()=0
Stop anything special.
PSSMShadowCameraSetup()
Constructor, defaults to 3 splits.
virtual bool hasAnisotropicMipMapFilter() const
Determines if the system has anisotropic mip map filter support.
Definition: OgreD3D11RenderSystem.h:394
Real getMaximumDepthInputValue(void)
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
Alignment
The alignment of the terrain.
Definition: OgreTerrain.h:315
uint8 bInheritOrientation
Definition: OgreSkeletonDef.h:53
v1::MeshManager * getMeshManagerV1(void)
Retrieves a reference to the current MeshManager.
@ LightGatherForwardPlus
Definition: OgreHlms.h:88
static CommandBufferExecuteFunc execute_invalidCommand
Definition: OgreCommandBuffer.h:98
This class translates script AST (abstract syntax tree) into Ogre resources.
Definition: OgreScriptTranslator.h:54
Vector3 getUp(void) const
Gets the camera's up vector.
OpSemantic
Definition: OgreShaderFunctionAtom.h:84
virtual void setDynamic(bool dyn)
Use before defining geometry to indicate that you intend to update the geometry regularly and want th...
Definition: OgreManualObject.h:176
const Vector3 getCenterLeftBottom(void) const
Gets the center of the corners 0, 3.
Definition: OgreVolumeOctreeNode.h:391
virtual const Matrix4 & getProjectionMatrix(void) const
Gets the normal projection matrix for this frustum, ie the projection matrix which conforms to standa...
unsigned int _getNumRenderedFaces(void) const
Internal method to retrieve the number of visible faces in the last render.
Command object for common direction (see ParamCommand).
Definition: OgreBillboardParticleRenderer.h:85
Response(const Request *rq, bool success, const Any &data, const String &msg=BLANKSTRING)
Radian getYaw(bool reprojectAxis=true) const
Calculate the local yaw element of this quaternion.
SkeletonTrack(uint32 boneBlockIdx, KfTransformArrayMemoryManager *kfTransformMemoryManager)
AbstractNode(AbstractNode *ptr)
static void queueNeedUpdate(OldNode *n)
Queue a 'needUpdate' call to a OldNode safely.
BspNode * getBack(void) const
Returns a pointer to a BspNode containing the subspace on the negative side of the splitting plane.
const Vector3 & getNormal(void) const
Factory for BspSceneManager.
Definition: OgreBspSceneManager.h:267
void _compileShaderFromPreprocessedSource(const RenderableCache &mergedCache, const String source[NumShaderTypes])
static ExternalTextureSourceManager * getSingletonPtr(void)
Override standard Singleton retrieval.
@ SPC_POSTOLIGHT_WORLD_SPACE1
Definition: OgreShaderParameter.h:138
virtual void _setHlmsBlendblock(const HlmsBlendblock *blendblock)
Definition: OgreCubemapProbe.h:49
Definition: OgreScriptTranslator.h:197
void createVertexBuffers(VertexBufferPackedVec &outVertexBuffers, size_t numVertices, void *const *initialData, bool keepAsShadow)
Creates a vertex buffer based on the given parameters.
void setDebugFrustum(bool bEnableDebugFrustumWireAabb)
OctreeZoneData(PCZSceneNode *, PCZone *)
Standard Constructor.
Ogre::Any val
Definition: OgreProperty.h:266
void getRenderOperation(v1::RenderOperation &op, bool casterPass)
Overridden from Renderable.
Angle(Real angle)
Definition: OgreMath.h:156
void detachAllObjectsFromBone(void)
Detach all MovableObjects previously attached using attachObjectToBone.
virtual void _releaseManualHardwareResources()
static uint32 optionalPO2(uint32 value)
Returns next power-of-two size if required by render system, in case RSC_NON_POWER_OF_2_TEXTURES is s...
virtual void unmap(UnmapOptions unmapOption, size_t flushStartElem=0, size_t flushSizeElem=0)
MovableObject * detachObject(const String &name)
Detaches the named object from this node and returns a pointer to it.
void setWeight(Real weight)
Sets the weight (influence) of this animation.
virtual size_t estimateWorldGeometry(DataStreamPtr &stream, const String &typeName=BLANKSTRING)
Estimate the number of loading stages required to load the named world geometry.
Definition: OgreSceneManager.h:1813
@ PBSM_DETAIL2
Definition: OgreHlmsPbsPrerequisites.h:65
Implementation of Clustered Forward Shading.
Definition: OgreForwardClustered.h:48
static void shutdown(void)
Static method to shutdown and unregister the PVRTC codec.
void removeTextureUnitState(unsigned short index)
Removes the indexed texture unit state from this pass.
DefaultTextureParameters * getDefaultTextureParameters(void)
Definition: OgreHlmsTextureManager.h:400
static OGRE_NORETURN void throwException(Exception::ExceptionCodes code, int number, const String &desc, const String &src, const char *file, long line)
Definition: OgreException.h:266
void setScale(Real x, Real y)
Sets the scaling factor of this overlay.
GpuProgramPtr computeShader
Definition: OgreHlmsPso.h:298
RenderToVertexBufferSharedPtr createRenderToVertexBuffer()
Create a render to vertex buffer.
static const Real fRad2Deg
Definition: OgreMath.h:743
virtual bool hasNonZeroKeyFrames(void) const
Method to determine if this track has any KeyFrames which are doing anything useful - can be used to ...
static ParameterPtr createInTexcoord1(int index, Parameter::Content content)
ImageDownsampler2D downscale2x_Signed_XXXA8888
Definition: OgreImageDownsampler.h:111
bool setDrawBuffer(const ColourBufferType colourBuffer) const
AsyncTicketPtr readRequest(size_t elementStart, size_t elementCount)
Async data read request.
bool getPassTransformStates(void) const
Overridden.
static void useSameGeoms(const GeometryVec &inGeom, GeometryVec &outGeom)
Real rgbGenParams[4]
Definition: OgreQuake3Shader.h:83
void _setLodInfo(unsigned short numLevels)
Internal methods for loading LOD, do not use.
virtual void registerVertexBufferSourceAndCopy(const HardwareVertexBufferSharedPtr &sourceBuffer, const HardwareVertexBufferSharedPtr ©)
Registers a vertex buffer as a copy of another.
Definition: OgreHardwareBufferManager.h:498
uint32 getThreadsPerGroupX(void) const
Definition: OgreHlmsComputeJob.h:185
virtual void resourceStreamOpened(const String &name, const String &group, Resource *resource, DataStreamPtr &dataStream)=0
This event is called when a resource stream has been opened, but not processed yet.
virtual ConstChildOldNodeIterator getChildIterator(void) const
Retrieves an iterator for efficiently looping through all children of this OldNode.
virtual ~ScriptTranslatorManager()
Definition: OgreScriptTranslator.h:122
Specialisation of HardwareUniformBuffer for the OpenGL Shader Storage Buffer.
Definition: OgreGL3PlusHardwareShaderStorageBuffer.h:40
void buildPresentParameters(D3DPRESENT_PARAMETERS *presentParams)
Build the presentation parameters used with this window.
ParticleSystemRenderer * getRenderer(void) const
Gets the ParticleRenderer to be used to render this particle system.
virtual void prepareImpl(void)
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, uint32 lastTextureHash)
Fills the constant buffers.
uint32 getThreadsPerGroupZ(void) const
Definition: OgreHlmsComputeJob.h:187
virtual int32 getCellRangeMinZ() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:167
virtual_l2 bool getInheritScale(void) const
Returns true if this node is affected by scaling factors applied to the parent node.
void destroyLog(const String &name)
Closes and removes a named log.
float mMinLod
Definition: OgreHlmsSamplerblock.h:84
void setOptimisationLevel(OptimisationLevel opt)
Sets the optimisation level to use.
Definition: OgreD3D9HLSLProgram.h:198
void resize(unsigned N, const T &NV)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:496
@ ApiDefault
Use the default based on the API selected. On DX12 that means using Compute.
Definition: OgreCompositorPassMipmapDef.h:53
virtual_l2 void setInheritOrientation(bool inherit)
Tells the node whether it should inherit orientation from it's parent node.
SharedPtr< RenderToVertexBuffer > RenderToVertexBufferSharedPtr
Definition: OgrePrerequisites.h:420
Light * light
Definition: OgreCommon.h:669
void ToAxes(Vector3 *akAxis) const
Gets the 3 orthonormal axes defining the quaternion.
void dearrangeToInefficient(void)
Reverts the effects from arrangeEfficient by converting all 16-bit half float back to 32-bit float; a...
ChannelRoute(uint32 _outChannel, IdString _outNode, uint32 _inChannel, IdString _inNode)
Name of the alias.
Definition: OgreCompositorWorkspaceDef.h:65
virtual void bindBufferHS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
bool operator()(FunctionInvocation const &lhs, FunctionInvocation const &rhs) const
Codec specialized in loading OITD (Ogre Internal Texture Dump) format.
Definition: OgreOITDCodec.h:57
Aabb(const Vector3 ¢er, const Vector3 &halfSize)
Definition: C/OgreAabb.h:93
virtual void _autogenerateMipmaps(void)
Tells the API to let the HW autogenerate mipmaps.
Camera * getCullCamera() const
Definition: OgreCompositorPassScene.h:97
virtual const Ray & getRay(void) const
Gets the ray which is to be used for this query.
@ VET_HALF4
Definition: OgreVertexElements.h:111
virtual ~SimpleRenderable()
static bool isLuminance(PixelFormat format)
Shortcut method to determine if the format is a luminance format.
AnimationStateIterator getAnimationStateIterator(void)
Get an iterator over all the animation states in this set.
void doSet(void *target, const String &val)
void _queueOverlaysForRendering(RenderQueue *pQueue, Viewport *vp)
Internal method for queueing the visible overlays for rendering.
T iterator
typedef to fulfill container interface
Definition: OgreIteratorRange.h:109
void _renderUsingReadBackAsTexture(unsigned int passNr, Ogre::String variableName, unsigned int StartSlot)
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:235
virtual void destroyAllLights(void)
Removes and destroys all lights in the scene.
virtual void _changeRenderSystem(RenderSystem *newRs)
void setVolumes(const PlaneBoundedVolumeList &volumes)
Sets the volume which is to be used for this query.
virtual_l2 Vector3 convertWorldToLocalDirection(const Vector3 &worldDir, bool useScale)
Gets the local direction, relative to this node, of the given world-space direction.
Edge(Vertex *destination)
Real width
Definition: OgreBillboardChain.h:99
Node * getChild(size_t index)
Gets a pointer to a child node.
Definition: OgreNode.h:554
static String toString(const Vector4 &val)
Converts a Vector4 to a String.
int bbox[6]
Definition: OgreQuake3Types.h:167
@ HLMS_PBS
Proxy that redirects to a regular Material.
Definition: OgreHlmsCommon.h:168
void addBufferDefinition(IdString name, size_t numElements, uint32 bytesPerElement, uint32 bindFlags, float widthFactor, float heightFactor)
Creates an UAV buffer.
@ PBSM_BLEND_GRAIN_EXTRACT
Definition: OgreHlmsPbsPrerequisites.h:91
static Matrix4 getScale(const Vector3 &v)
Gets a scale matrix.
Definition: OgreMatrix4.h:486
virtual void swapBuffers()
Override needed to deal with multisample buffers.
int x
Definition: OgreX11EGLSupport.h:89
void setNumOutputBufferChannels(size_t numOuts)
Reserves enough memory for all output channel mappings (efficient allocation, better than using linke...
Definition: OgreCompositorNodeDef.h:202
@ Uav
Waits until writes from shaders to resource are finished.
Definition: OgreResourceTransition.h:69
Specialized viewpoint from which an PCZone Scene can be rendered.
Definition: OgrePCZCamera.h:53
void optimise(bool discardIdentityNodeTracks=true)
Optimise an animation by removing unnecessary tracks and keyframes.
@ ANT_ATOM
Definition: OgreScriptCompiler.h:79
AnyNumeric()
Definition: OgreAny.h:227
bool _compile(AbstractNodeListPtr nodes, const String &group, bool doImports=true, bool doObjects=true, bool doVariables=true)
Compiles the given abstract syntax tree.
virtual OctreeNode * createInstance(const Vector3 &from, const Vector3 &to)
Factory method to create octree nodes.
bool updateMaterialUsingTextureAliases(void)
The current material used by the submesh is copied into a new material and the submesh's texture alia...
Real _getLeft(void) const
Gets the left of this element in relation to the screen (where 0 = far left, 1.0 = far right)
Definition: OgreOverlayElement.h:253
virtual OldBone * createBone(const String &name)
Creates a brand new OldBone owned by this Skeleton.
Page * getParentPage() const
Definition: OgrePageContentCollection.h:68
Vector3 mC1
Definition: OgreVolumeDualGridGenerator.h:46
void setIsInstanceData(const bool val)
Set if this vertex buffer is an "instance data" buffer (per instance)
virtual void start()=0
Start anything special.
PageContentCollection * createInstance()
Definition: OgreSimplePageContentCollection.h:121
uint32 getWidth()
Accessors.
virtual bool requiresZoneSpecificNodeData(void)
Indicates whether or not this zone requires zone-specific data for each scene node.
SM2Profile(TerrainMaterialGenerator *parent, const String &name, const String &desc)
HlmsJsonCompute(HlmsManager *hlmsManager)
void tiledAnimation(Ogre::uint16 numFramesHorizontal, Ogre::uint16 numFramesVertical)
tiledAnimation.
void clearEventTimes(void)
Clears the history of all event times.
virtual void _findNodes(const Ray &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)=0
static const IdString AlphaTest
Definition: OgreHlms.h:852
void setScope(Real force)
Sets the scope (percentage of particles which are randomised).
virtual void performCleanup(uint16 level, const MemoryPoolVec &basePtrs, size_t const *elementsMemSizes, size_t startInstance, size_t diffInstances)=0
Called when too many nodes were destroyed in a non-LIFO fashion.
@ WORLD_SPACE_CORNERS
Left-handed.
Definition: OgreCompositorPassQuadDef.h:79
InternalErrorException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:229
uint8 getNumMipmaps() const
Returns the number of mipmaps contained in the image.
size_t size(void) const
Returns the total size of the data to be read from the stream, or 0 if this is indeterminate for this...
Definition: OgreDataStream.h:299
void _setTexture(size_t unit, bool enabled, Texture *tex)
See RenderSystem.
Forward3D.
Definition: OgreForward3D.h:46
void reserve(size_t t)
Definition: OgreCommon.h:555
void setNumKeyFrame(size_t numKeyFrames)
void setLightMask(uint32 mask)
Sets the light mask which can be matched to specific light flags to be handled by this pass.
void setPlaneNormal(const Vector3 &normal)
Sets the plane normal of the deflector plane.
StringVectorPtr list(bool recursive=true, bool dirs=false)
List all file names in the archive.
void setDirty(void)
Call this whenever you've updated a parameter in mParams.
Definition: OgreShaderParams.h:152
void addUavSource(uint32 texUnitIdx, const String &textureName, uint32 mrtIndex, ResourceAccess::ResourceAccess access, int32 textureArrayIndex, int32 mipmapLevel, PixelFormat pixelFormat, bool allowWriteAfterWrite)
@ LBX_ADD
add source1 and source2 together
Definition: OgreBlendMode.h:87
static T & getSingleton(void)
Definition: OgreSingleton.h:90
static PropertyType getTypeForValue(const Real &val)
Definition: OgreProperty.h:162
static const int SubRqIdShift
Definition: OgreRenderQueue.h:267
const LightList & getLights(void) const
const HlmsMacroblock * getMacroblock(const HlmsMacroblock &baseParams)
Creates a macroblock that matches the same parameter as the input.
virtual void windowFocusChange(RenderWindow *rw)
Definition: OgreWindowEventUtilities.h:114
UavDependencyVec mUavDependencies
Definition: OgreCompositorPassDef.h:159
map< uint32, Region * >::type RegionMap
Indexed region map based on packed x/y/z region index, 10 bits for each axis.
Definition: OgreStaticGeometry.h:433
GLSLShader * getGeometryShader() const
Definition: OgreGLSLProgram.h:139
virtual ~Listener()
Definition: OgreResource.h:85
@ ID_BLEND_DIFFUSE_COLOUR
Definition: OgreScriptCompiler.h:762
ArrayVector3 center
Definition: OgrePlanarReflectionActor.h:70
static const IdString Glsl
Definition: OgreHlms.h:858
AnimationState * getAnimationState(const String &name) const
For entities based on animated meshes, gets the AnimationState object for a single animation.
@ FFP_TEXTURING
Definition: OgreShaderFFPRenderState.h:74
size_t getNumDepths() const
Retrieves the number of depth levels that have been created.
@ PROP_UNSIGNED_LONG
Definition: OgreProperty.h:112
virtual_l1 void index(uint32 idx)
Add a vertex index to construct faces / lines / points.
void setAsBGRA(const BGRA val)
Sets colour as BGRA.
Real w
Definition: OgreVector4.h:48
Vector3 normal
Definition: OgreLodData.h:102
bool requiresTextureFlipping() const
static const IdString Glsles
Definition: OgreHlms.h:859
RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
Definition: OgreCbDrawCall.h:43
bool buffersCheckedOut(bool positions=true, bool normals=true) const
Detect currently have buffer copies checked out and touch it.
virtual void setDefaultNumMipmaps(size_t num)
Sets the default number of mipmaps to be used for loaded textures, for when textures are loaded autom...
@ ID_ONCE
Definition: OgreScriptCompiler.h:707
virtual void destroyDecal(Decal *decal)
PixelFormat suggestPixelFormat() const
Suggests a pixel format to use for extracting the data in this target, when calling copyContentsToMem...
Log * getDefaultLog()
Returns a pointer to the default log.
bool hasNamedParameters() const
Does this parameter set include named parameters?
Definition: OgreGpuProgramParams.h:1543
unsigned int getSubroutineSlot(const String &subroutineSlotName) const
@ True
Definition: OgreX11EGLSupport.h:73
void setListener(ScriptCompilerListener *listener)
Sets the listener used by the compiler.
virtual void setDirPositionReference(const Vector3 &position, bool enable)
Sets the direction of the emitter.
@ IT_16BIT
Definition: OgreIndexBufferPacked.h:41
Command object for particle emitter - see ParamCommand.
Definition: OgreRotationAffector.h:57
@ PF_ATC_RGB
ATC (AMD_compressed_ATC_texture)
Definition: OgrePixelFormat.h:254
virtual_l1 void specular(Real r, Real g, Real b, Real a=1.0f)
Add a vertex specular colour to a vertex.
void _notifyConterBufferDestroyed(HardwareCounterBuffer *buf)
Definition: OgreHardwareBufferManager.h:564
virtual Real getAspectRatio(void) const
Retrieves the current aspect ratio.
void migrateTo(Transform &inOutTransform, size_t depth, NodeMemoryManager *dstNodeMemoryManager)
Releases memory belonging to us, not before copying it into another manager.
void _setRenderSystemData(const Any &data) const
Internal method that the RenderSystem might use to store optional data.
Definition: OgreGpuProgramParams.h:850
void _updateFromShadow(void)
See HardwareBuffer.
Definition: OgreQuake3Types.h:236
void setPixelShader(GpuProgramPtr &shader)
Calls to this function can be skipped if it's valid to not have a shader set at this stage,...
virtual bool requiresTextureFlipping() const
Definition: OgreMetalRenderTexture.h:54
size_t getNumSubItems(void) const
Retrieves the number of SubItem objects making up this Item.
void setBindingType(BindingType bt)
Sets the type of unit these texture settings should be bound to.
void _notifyParent(Pass *parent)
Notify this object that its parent has changed.
GridSource(bool trilinearValue, bool trilinearGradient, bool sobelGradient)
GLenum polygonMode
Definition: OgreGLES2HlmsPso.h:51
int mcEdges[256]
Marching Cubes tables from the public domain code found on http://local.wasp.uwa.edu....
Definition: OgreVolumeIsoSurfaceTablesMC.h:43
virtual void _renderEmulatedNoBaseInstance(const CbDrawCallStrip *cmd)
D3D11DepthPixelBuffer(D3D11DepthTexture *parentTexture, const String &baseName, uint32 width, uint32 height, uint32 depth, PixelFormat format)
void _keyFrameListChanged(void)
Internal method used to tell the animation that keyframe list has been changed, which may cause it to...
Definition: OgreAnimation.h:483
Real getBoundingSphereRadius(void) const
Gets the radius of the bounding sphere surrounding this mesh.
static Real ColapseMin(ArrayReal a)
Returns the minimum value of all elements in a.
Definition: OgreMathlibC.h:308
IdString bufferName
Definition: OgreCompositorPassUavDef.h:82
@ ID_VERTEXCOLOUR
Definition: OgreScriptCompiler.h:649
static HlmsTextureManager::TextureMapType suggestMapTypeBasedOnTextureType(PbsMobileTextureTypes type)
Suggests the TextureMapType (aka texture category) for each type of texture (i.e.
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Overridden from MovableObject.
size_t offset
Definition: OgreGL3PlusVaoManager.h:52
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
virtual unsigned short numChildren(void) const
Reports the number of child OldNodes under this one.
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
uint32 getSrcDepth(void) const
Returns the original depth of the input texture (only applicable for 3D textures).
Definition: OgreTexture.h:241
A class that represents function invocation code from shader based program function.
Definition: OgreShaderFunctionAtom.h:177
Entity * getOctreeGrid(SceneManager *sceneManager)
Getter for the octree debug visualization of the octree starting with this node.
char * name
Definition: OgreSearchOps.h:43
@ ID_TESSELLATION_DOMAIN_PROGRAM_REF
Definition: OgreScriptCompiler.h:976
virtual bool getFindVisibleObjects(void)
Gets whether the SceneManager should search for visible objects, or whether they are being manually h...
Definition: OgreSceneManager.h:3050
bool useBoneDualQuaternions() const
Definition: OgreInstanceBatchVTF.h:188
void unload(void)
Unloads the resource; this is not permanent, the resource can be reloaded later if required.
void setAlignment(Alignment a)
Definition: OgreTextAreaOverlayElement.h:116
void reserve(unsigned N)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:512
static const String & getPointLightExtruderVs_4_0Finite(void)
Get FINITE extruder program source for point lights, compatible with vs_4_0.
Definition: OgreShadowVolumeExtrudeProgram.h:285
@ WFT_NONE
Return no world geometry hits at all.
Definition: OgreSceneQuery.h:79
static OverlayManager & getSingleton(void)
Override standard Singleton retrieval.
bool hasColour(void) const
If this returns false, the values of mR, mG, mB & mA will be ignored.
Definition: OgreHlmsUnlitMobileDatablock.h:170
static const AutoConstantDefinition * getAutoConstantDefinition(const size_t idx)
gets the auto constant definition using an index into the auto constant definition array.
void start(void)
Start anything special.
BorderPanelOverlayElement(const String &name)
Constructor.
bool isVisible(const Sphere &bound) const
HlmsPbsDatablock(IdString name, HlmsPbs *creator, const HlmsMacroblock *macroblock, const HlmsBlendblock *blendblock, const HlmsParamVec ¶ms)
Valid parameters in params:
virtual void setFSAA(uint fsaa, const String &fsaaHint)
Set the level of multisample AA to be used if hardware support it.
Definition: OgreD3D11RenderWindow.h:120
virtual void bindBufferHS(uint16 slot)=0
Definition: OgreAndroidEGLContext.h:37
@ PF_SHORT_RGBA
64-bit pixel format, 16 bits for red, green, blue and alpha
Definition: OgrePixelFormat.h:140
virtual void bindBufferDS(uint16 slot)
A pose is a linked set of vertex offsets applying to one set of vertex data.
Definition: OgrePose.h:56
@ UAV_BUFFER
Definition: OgreScriptCompiler.h:516
void doSet(void *target, const String &val)
void writeComment(unsigned short level, const String &comment, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:351
LwString & a(int64 a0)
Definition: OgreLwString.h:250
vector< MetalDiscardBuffer * >::type MetalDiscardBufferVec
Definition: OgreMetalDiscardBufferManager.h:37
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, uint32 lastTextureHash)
Fills the constant buffers.
GLenum destBlendAlpha
Definition: OgreGL3PlusHlmsPso.h:58
void removeNodeAlias(IdString alias)
Removes a particular Node.
Implementation of CompositorPass This implementation will perform main rendering, selecting several p...
Definition: OgreCompositorPassScene.h:61
SubMesh * getSubMesh(void) const
Accessor method to read mesh data.
FreeImageCodec(const String &type, unsigned int fiType)
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
static const Vector2 UNIT_SCALE
Definition: OgreVector2.h:589
virtual void upload(const PixelBox &data, const Box &dest)
Upload a box of pixels to this buffer on the card.
@ MESH_VERSION_2_1
OGRE version v2.1+.
Definition: OgreMeshSerializer.h:48
T * release()
Definition: OgreThreadDefinesSTD.h:51
DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
Base class interface for shader program writers.
Definition: OgreShaderProgramWriter.h:61
int attrib
Definition: OgreSearchOps.h:44
Real getLoadingOrder(void) const
Gets the relative loading order of scripts of this type.
virtual ~APKFileSystemArchiveFactory()
Definition: OgreAPKFileSystemArchive.h:87
void ToAngleAxis(Radian &rfAngle, Vector3 &rkAxis) const
virtual void _update(void)
static const IdString FastShaderBuildHack
Definition: OgreHlms.h:867
SkeletonAnimation * getAnimation(IdString name)
Returns the requested animations. Throws if not found. O(N) Linear search.
void doSet(void *target, const String &val)
virtual void postInitializePassDef(CompositorPassDef *passDef)
Called right after we create a pass definition.
@ ID_USES_UAV
Definition: OgreScriptCompiler.h:859
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
const Vector3 & getRealPosition(void) const
Gets the real world position of the camera, including any translation inherited from a node attachmen...
unsigned short getNumWorldTransforms(void) const
Returns the number of world transform matrices this renderable requires.
const HlmsSamplerblock * getSamplerblock(PbsMobileTextureTypes texType) const
@ SPC_LIGHTPOSITION_OBJECT_SPACE2
Definition: OgreShaderParameter.h:209
Real calculate(Real source)
Overridden function.
IndexData * clone(bool copyData=true, HardwareBufferManagerBase *mgr=0) const
Clones this index data, potentially including replicating the index buffer.
@ ACT_INVERSE_VIEWPORT_WIDTH
This variable represents 1.0/ViewportWidth.
Definition: OgreGpuProgramParams.h:1230
map< GpuSharedParametersPtr, v1::HardwareUniformBufferSharedPtr >::type SharedParamsBufferMap
Definition: OgreGLSLProgram.h:77
GLint getMaxVertexAttribs(void) const
Definition: OgreGL3PlusVaoManager.h:257
void setMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the material to use for the whole of this Item.
bool getUseIrradianceVolume(void) const
Definition: OgreInstantRadiosity.h:341
static const IdString SignedIntTex
Definition: OgreHlmsPbs.h:317
MeshSerializerImpl_v1_4()
void updateTriangleLightFacing(const Vector4 &lightPos)
Calculate the light facing state of the triangles in this edge list.
void setElapsedTime(Real elapsedTime)
Set the elapsed time.
Cache-friendly array of Aabb represented as a SoA array.
Definition: C/OgreArrayAabb.h:70
static const IdString UvDiffuse9
Definition: OgreUnlitProperty.h:84
@ SPC_POSITION_LIGHT_SPACE5
Definition: OgreShaderParameter.h:98
@ ID_ENABLE_FORWARDPLUS
Definition: OgreScriptCompiler.h:880
virtual_l2 void rotate(const Vector3 &axis, const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around an arbitrary axis.
void setQueryFlags(uint32 flags)
Set the query flags for this terrain.
Definition: OgreTerrain.h:1366
bool mAlphaToCoverageEnabled
Definition: OgreHlmsDatablock.h:158
@ PF_R8G8B8A8_SINT
32-bit pixel format, 8 bits red (signed int), 8 bits blue (signed int), 8 bits green (signed int),...
Definition: OgrePixelFormat.h:190
Resource holding data about a dynamic library.
Definition: OgreDynLib.h:85
Default implementation of RaySceneQuery.
Definition: OgreSceneManager.h:3253
unsigned short getNumAnimations(void) const
Gets the number of animations on this skeleton.
SphereSceneQuery * createSphereQuery(const Sphere &sphere, uint32 mask)
Creates a SphereSceneQuery for this scene manager.
const HlmsSamplerblock * getIrradSamplerblock(void) const
Definition: OgreIrradianceVolume.h:125
void setNamedConstant(const String &name, const ColourValue &colour)
Sets a ColourValue parameter to the program.
Factory for GL ES 2 Frame Buffer Objects, and related things.
Definition: OgreGLES2FBORenderTexture.h:70
void saveMaterial(const HlmsDatablock *datablock, const String &filename, HlmsJsonListener *listener, const String &additionalTextureExtension)
Saves a specific Hlms material at the given file location.
static const String CustomAttributeString_FBO
Definition: OgreGL3PlusRenderTexture.h:62
virtual bool addRenderWindow(D3D9RenderWindow *renderWindow)
int getPassNumber(void) const
@ PF_SHORT_L
Definition: OgrePixelFormat.h:52
int addPortalCullingPlanes(PortalBase *portal)
Calculate culling planes from portal and Frustum origin and add to list of culling planes.
Specialisation of the Archive class to allow reading of files from a zip format source archive.
Definition: OgreZip.h:58
void loadFrom(DataStreamPtr &dataStream)
const GpuLogicalBufferStructPtr & getDoubleLogicalBufferStruct() const
Get the current list of mappings from low-level logical param indexes to physical buffer locations in...
Definition: OgreGpuProgramParams.h:1840
Direct3D implementation of low-level fragment programs.
Definition: OgreD3D9GpuProgram.h:142
bool getColumnMajorMatrices(void) const
Gets whether matrix packed in column-major order.
Definition: OgreD3D9GpuProgram.h:68
uint16 xIdx
Definition: OgreHlmsTextureManager.h:281
bool isBlendWeightsGpuRedundant() const
Returns whether blend weights information needs to be passed to the GPU see setBlendWeightsGpuRedunda...
Definition: OgreRoot.h:1078
Real getPowerScale(void) const
Set the scaling factor which indicates the relative power of a light.
Definition: OgreLight.h:367
TextureAddressingMode mV
Definition: OgreHlmsSamplerblock.h:71
virtual ~Archive()
Default destructor.
Definition: OgreArchive.h:105
SharedPtr< PatchMesh > PatchMeshPtr
Definition: OgrePrerequisites.h:419
size_t find(const String &value) const
Definition: OgreHlmsCommon.h:90
void cloneTo(HlmsComputeJob *dstJob)
virtual void removeElement(unsigned short elem_index)
Remove the element at the given index from this declaration.
const SceneManagerMetaData * getMetaData(const String &typeName) const
Get more information about a given type of SceneManager.
@ PF_R32_SINT
32-bit pixel format, 32 bits red (signed int).
Definition: OgrePixelFormat.h:200
static void toQuotedStr(SceneBlendOperation value, String &outString)
void _setLogicalIndexes(const GpuLogicalBufferStructPtr &floatIndexMap, const GpuLogicalBufferStructPtr &doubleIndexMap, const GpuLogicalBufferStructPtr &intIndexMap, const GpuLogicalBufferStructPtr &uintIndexMap, const GpuLogicalBufferStructPtr &boolIndexMap)
Internal method for providing a link to a logical index->physical index map for parameters.
void setBlendMaskEntry(size_t boneHandle, float weight)
Set the weight for the bone identified by the given handle.
Definition: OgreSharedPtr.h:66
size_t logicalIndex
Logical index - used to communicate this constant to the rendersystem.
Definition: OgreGpuProgramParams.h:153
String doGet(const void *target) const
bool isCaseSensitive(void) const
Returns whether this archive is case sensitive in the way it matches files.
virtual void setDepthBufferPool(uint16 poolId)
Sets the pool ID this RenderTarget should query from.
Class that encapsulates an GL context.
Definition: OgreGLES2Context.h:42
Quaternion convertWorldToLocalOrientationUpdated(const Quaternion &worldOrientation)
Definition: OgreNode.h:739
static const size_t MS_CORNERS_LEFT[4]
To call Marching Squares with a cube on its left.
Definition: OgreVolumeIsoSurface.h:66
virtual bool queryResult(SceneQuery::WorldFragment *fragment)=0
Called when a WorldFragment is returned by a query.
ResourcePool * getResourcePool(const String &name)
Create a resource pool, or reuse one that already exists.
virtual Real getLoadRadius() const
Get the loading radius.
Definition: OgreGrid3DPageStrategy.h:142
virtual void initGPUProfiling(void)
Used by JSON serialization, but can also be used outside of it.
Definition: OgreHlmsPbsDatablock.h:49
size_t getSize(void) const
Definition: OgreHlmsCommon.h:126
void *RESTRICT_ALIAS_RETURN map(size_t start, size_t count, size_t &outTicket)
Assumes mVboName is already bound to GL_COPY_WRITE_BUFFER!!!
void uninstallPlugin(Plugin *plugin)
Uninstall an existing plugin.
@ ACDT_INT
the auto constant requires data of type int
Definition: OgreGpuProgramParams.h:1372
void copy(const ObjectData &inCopy)
Copies all the scalar data from the parameter into this.
Definition: OgreObjectData.h:119
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
void resize(unsigned N)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:480
@ PF_A4R4G4B4
16-bit pixel format, 4 bits for alpha, red, green and blue.
Definition: OgrePixelFormat.h:67
static const ArrayReal fDeg2Rad
Definition: OgreMathlibC.h:55
TechniqueIterator getTechniqueIterator(void)
Get an iterator over the Techniques in this Material.
const int * getIntPointer(size_t pos) const
Get a pointer to the 'nth' item in the int buffer.
Definition: OgreGpuProgramParams.h:771
void load(const DataStreamPtr &stream)
Load world data from a stream.
TerrainMaterialGeneratorA()
HLSL target language writer implementation.
Definition: OgreShaderHLSLProgramWriter.h:53
@ RSC_TEXTURE_GATHER
Hardware/API supports texture gather operation.
Definition: OgreRenderSystemCapabilities.h:205
MapIterator< ResourceHandleMap > ResourceMapIterator
Definition: OgreResourceManager.h:588
void bindSurface(size_t attachment, const GL3PlusSurfaceDesc &target)
Bind a surface to a certain attachment point.
virtual void initialise(void)
Initialise gui element.
void setEnd(size_t newEnd)
Definition: OgreHlmsCommon.h:123
virtual GLES2FBORenderTexture * createRenderTexture(const String &name, const GLES2SurfaceDesc &target, bool writeGamma, uint fsaa)
Create a texture rendertarget object.
virtual MovableObjectIterator getMovableObjectIterator(const String &typeName)
Get an iterator over all MovableObect instances of a given type.
void _removeWireAabb(WireAabb *wireAabb)
virtual const String & getTypeName(void) const =0
Gets the type name of the element.
virtual bool hasAnimation(const String &name) const =0
Returns whether this object contains the named animation.
void _setHlmsBlendblock(const HlmsBlendblock *blendblock, const GLES2HlmsPso *pso)
#define ARRAY_REAL_ZERO
Definition: OgreArrayConfig.h:180
void setReferenceView(Real viewportWidth, Real viewportHeight, Radian fovY)
Sets the reference view upon which the distances were based.
virtual uint16 getTerrainSize() const
Retrieve the size of each terrain instance in number of vertices down one side.
Definition: OgreTerrainGroup.h:132
void convertFromV2(const VertexElement2VecVec &v2Decl)
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
static void intWrite(void *dest, const int n, const unsigned int value)
Write a n*8 bits integer value to memory in native endian.
Definition: OgreBitwise.h:248
A class that represents a shader based program.
Definition: OgreShaderProgram.h:49
String doGet(const void *target) const
size_t getNumDepths() const
Retrieves the number of depth levels that have been created.
@ FFP_FOG
Definition: OgreShaderFFPRenderState.h:75
void setPointSize(Real ps)
Sets the point size of this pass.
void _setPointParameters(Real size, bool attenuationEnabled, Real constant, Real linear, Real quadratic, Real minSize, Real maxSize)
Sets the size of points and how they are attenuated with distance.
@ RSC_TESSELLATION_HULL_PROGRAM
Supports hardware tessellation hull programs.
Definition: OgreRenderSystemCapabilities.h:184
virtual void releaseVertexBufferCopy(const HardwareVertexBufferSharedPtr &bufferCopy)
Manually release a vertex buffer copy for others to subsequently use.
void setHidden(bool hidden)
Hide (or show) the window.
void notifyRecreated(const CompositorChannel &oldChannel, const CompositorChannel &newChannel)
Call this function when you're replacing the textures from oldChannel with the ones in newChannel.
virtual void normal(Real x, Real y, Real z)
Add a vertex normal to the current vertex.
void start()
Start anything special.
vector< BufferSource >::type BufferSourceVec
Definition: OgreCompositorPassUavDef.h:94
SubRenderStateList::iterator SubRenderStateListIterator
Definition: OgreShaderSubRenderState.h:158
vector< ushort >::type BoneHandleMap
Map to translate bone handle from one skeleton to another skeleton.
Definition: OgreSkeleton.h:363
virtual void textureCoord(const Vector4 &xyzw)
Add a texture coordinate to the current vertex.
@ D3D_FUSAGE_MAG
mag filter
Definition: OgreD3D9Mappings.h:63
GpuProgramPtr getGpuVertexProgram()
Get the vertex shader GPU program.
virtual bool checkExtension(const String &ext) const
Checks for the presense of an API-specific extension (eg. Vulkan, GL)
Definition: OgreRenderSystem.h:1445
Vector3 mOrigin
Definition: OgreSegment.h:75
virtual void setCellRange(int32 minX, int32 minY, int32 minZ, int32 maxX, int32 maxY, int32 maxZ)
Set the index range of all cells (values outside this will be ignored)
void destroyTexBufferView(PixelFormat pixelFormat)
Frees memory from a view created by getAsTexBufferView Does nothing if a view of the given pixel form...
@ RSC_VBO
Supports hardware vertex and index buffers.
Definition: OgreRenderSystemCapabilities.h:90
vector< SubMesh * >::type SubMeshVec
Definition: OgreMesh2.h:93
~AllocatedObject()
Definition: OgreMemoryAllocatedObject.h:64
LodProfile profile
If the algorithm makes errors, you can fix it, by adding the edge to the profile.
Definition: OgreLodConfig.h:164
static Real Abs(Real fValue)
Absolute value function.
Definition: OgreMath.h:260
void fromQuaternion(const ArrayQuaternion &q)
Converts the given quaternion to a 3x3 matrix representation and fill our values.
void unloadingComplete(Resource *prog)
Called whenever the resource has been unloaded.
virtual GLint getAttributeIndex(VertexElementSemantic semantic, uint index)
Get the index of a non-standard attribute bound in the linked code.
vector< TextureSource >::type TextureSources
Definition: OgreCompositorPassUavDef.h:77
virtual void destroyEmitter(ParticleEmitter *e)
Destroys the emitter pointed to by the parameter (for early clean up if required).
@ MESH_VERSION_1_10
OGRE version v1.10+.
Definition: OgreMeshSerializer.h:51
uint16 mDiffuseIdx
Definition: OgreDecal.h:86
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
void copyDetailsTo(MaterialPtr &mat) const
Copies the details of this material into another, preserving the target's handle and name (unlike ope...
Static class containing source for vertex programs for extruding shadow volumes.
Definition: OgreShadowVolumeExtrudeProgram.h:137
static String Type
Definition: OgreShaderExNormalMapLighting.h:106
virtual ~RenderQueueListener()
Definition: OgreRenderQueueListener.h:59
virtual Real getLoadingOrder(void) const
Gets the relative loading order of scripts of this type.
bool hasFragmentProgram(void) const
Returns true if this pass uses a programmable fragment pipeline.
Definition: OgrePass.h:188
virtual KeyFrame * getKeyFrame(unsigned short index) const
Returns the KeyFrame at the specified index.
Factory object for creating AntiPortal instances.
Definition: OgreAntiPortal.h:52
TextureUnitState(Pass *parent)
Default constructor.
@ RSC_SHADER_SUBROUTINE
Supports dynamic linkage/shader subroutine.
Definition: OgreRenderSystemCapabilities.h:178
void setRenderTarget(RenderTarget *renderTarget)
You must call this function every frame, and every time the RenderTarget changes.
@ PF_R32G32_UINT
64-bit pixel format, 32 bits red (unsigned int), 32 bits blue (unsigned int).
Definition: OgrePixelFormat.h:178
static IDirect3DDevice9 * getActiveD3D9DeviceIfExists()
@ TU_STATIC
same as HardwareBuffer::HBU_STATIC
Definition: OgreTexture.h:51
HardwareSkinningFactory()
vector< VertexElement2 >::type VertexElement2Vec
Definition: OgreVertexBufferPacked.h:82
void _writeRawConstant(size_t physicalIndex, const Vector4 &vec, size_t count=4)
Write a 4-element floating-point parameter to the program directly to the underlying constants buffer...
void setLayerParallaxMappingEnabled(bool enabled)
Whether to support parallax mapping per layer in the shader (default true).
Octree implementation of SphereSceneQuery.
Definition: OgreOctreeSceneQuery.h:68
void setRenderQueueGroup(uint8 queueID)
static uint32 QUERY_FX_DEFAULT_MASK
Default query mask for effects like billboardsets / particle systems.
Definition: OgreSceneManager.h:287
FileInfoListPtr findFileInfo(const String &pattern, bool recursive=true, bool dirs=false)
Find all files or directories matching a given pattern in this archive and get some detailed informat...
_OgreExport const uint32 LAYER_VISIBILITY
Object casts shadows (is rendered to shadow camera)
SceneBlendOperation mBlendOperationAlpha
Definition: OgreHlmsDatablock.h:179
int * getIntPointer(size_t pos)
Get a pointer to the 'nth' item in the int buffer.
Definition: OgreGpuProgramParams.h:1907
virtual const String & getFSAAHint() const
Get the multisample AA hint if this texture is a rendertarget.
Definition: OgreTexture.h:217
@ UnusedIdx
Definition: OgreLod0Stripifier.h:95
float getTransparency(void) const
Definition: OgreHlmsPbsDatablock.h:658
virtual HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")=0
Create uniform buffer.
FItemy object for creating Item instances.
Definition: OgreItem.h:261
SceneManager * getSceneManager() const
Definition: OgreTerrain.h:513
virtual_l1 void begin(const String &datablockName, OperationType opType=OT_TRIANGLE_LIST)
Start defining a part of the object.
virtual Real getBaseValue() const =0
Get the value of the first (highest) level of detail.
LightListInfo()
Definition: OgreCommon.h:710
size_t size
Definition: OgreD3D11VaoManager.h:50
ForceApplication
Choice of how to apply the force vector to particles.
Definition: OgreLinearForceAffector.h:71
static void unbindAll(void)
virtual bool getOctreeVisible(void) const
Gets whether the debug visualization entity of the octree is visible.
virtual ~DefaultShadowCameraSetup()
Destructor.
void setConstant(size_t index, const Vector4 &vec)
Sets a 4-element floating-point parameter to the program.
D3D11Texture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, D3D11Device &device)
constructor
static String eventType
Definition: OgreScriptCompiler.h:521
virtual void calculateHashFor(Renderable *renderable, uint32 &outHash, uint32 &outCasterHash)
Called by the renderable when either it changes the material, or its properties change (e....
virtual ~HardwareBuffer()
Definition: OgreHardwareBuffer.h:178
virtual ~Viewport()
Default destructor.
virtual Real getFocalLength() const
Returns focal length of frustum.
Real mWeight
Definition: OgreSkeletonAnimation.h:62
void setLength(Real len)
Sets the total length of this animation (may be shorter than whole animation)
Image & loadTwoImagesAsRGBA(const String &rgbFilename, const String &alphaFilename, const String &groupName, PixelFormat format=PF_BYTE_RGBA)
Utility method to combine 2 separate images into this one, with the first image source supplying the ...
virtual void update(SceneManager *sceneMgr)
Update the contents of this vertex buffer by rendering.
static float snorm16ToFloat(int16 v)
Definition: OgreBitwise.h:416
vector< Element >::type ElementList
Definition: OgreBillboardChain.h:107
virtual void resourceCreated(const ResourcePtr &resource)
This event is fired when a resource was just created.
Definition: OgreResourceGroupManager.h:179
void initialisePointers(void)
Utility function read the header and set up pointers.
virtual void initCollapseCosts(LodData *data)
This is called after the LodInputProvider has initialized LodData.
BaseConstantType
Definition: OgreGpuProgramParams.h:50
void setInitialized()
Definition: OgreGL3PlusContext.h:59
void loadPlugin(const String &pluginName)
Manually load a Plugin contained in a DLL / DSO.
@ FB_FRONT
Definition: OgreRenderTarget.h:86
virtual void _setHlmsSamplerblockCS(uint8 texUnit, const HlmsSamplerblock *Samplerblock)=0
virtual void removeAllAnimations(void)
Removes all morph Animations from this mesh.
std::vector< T, A >::iterator iterator
Definition: OgrePrerequisites.h:616
bool isHidden() const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreD3D9RenderWindow.h:55
bool getUploadOnly(void) const
When true, this buffer can only be used for uploading to GPU.
Definition: OgreStagingBuffer.h:182
int getFPS() const
Gets currently set frames per second.
Definition: OgreExternalTextureSource.h:121
vector< Plane >::type PlaneList
Definition: OgrePlane.h:167
virtual bool isGpuProgramBound(GpuProgramType gptype)
Returns whether or not a Gpu program of the given type is currently bound.
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
bool getDebugFrustum(void) const
virtual T getValue(void) const =0
bool hasValidShadowMappingVaos(void) const
Returns true if the mesh is ready for rendering with valid shadow mapping Vaos Otherwise prepareForSh...
virtual void read(Vector2 *vec, size_t count=1)
read a Vector3
bool getEnabled(void) const
Definition: OgreSkeletonAnimation.h:170
void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Overloaded to be able to updated the vertex texture.
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
ConstMapRange(const MapRange< T > &rhs)
Constructor.
Definition: OgreIteratorRange.h:319
void _makeProjectionMatrix(Real left, Real right, Real bottom, Real top, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
See RenderSystem.
void setSpecular(const ColourValue &specular)
Sets the specular colour reflectance properties of this pass.
#define INVALID_IDX
Definition: OgreD3D11HLSLProgram.h:184
virtual void textureUnitStateEventRaised(MaterialSerializer *ser, SerializeEvent event, bool &skip, const TextureUnitState *textureUnit)
Called when texture unit state section event raised.
Definition: OgreMaterialSerializer.h:148
Pso(const Hlms::RenderableCache &srcRenderableCache, const Hlms::PassCache &srcPassCache, const HlmsCache *srcPsoCache)
D3D9HardwareBufferManagerBase as a Singleton.
Definition: OgreD3D9HardwareBufferManager.h:67
unsigned short getHandle(void) const
Get the handle associated with this track.
Definition: OgreAnimationTrack.h:149
void setPosition(const Vector3 &pos)
Set the position of the terrain centre in world coordinates.
@ RSC_FRAGMENT_PROGRAM
Supports fragment programs (pixel shaders)
Definition: OgreRenderSystemCapabilities.h:96
GLES2Context * getGLContext() const
Definition: OgreGLES2DepthBuffer.h:67
const String & getCompileArguments(void) const
Gets the entry point defined for this program.
Definition: OgreCgProgram.h:147
void setEnvironmentMap(bool enable, EnvMapType envMapType=ENV_CURVED)
Turns on/off texture coordinate effect that makes this layer an environment map.
IteratorWrapper(IteratorType start, IteratorType last)
Constructor.
Definition: OgreIteratorWrapper.h:90
void save(DataStreamPtr &dataStream, const IdString &hashedString)
GLES2Support * getGLES2Support()
Definition: OgreGLES2RenderSystem.h:473
const GpuConstantDefinition & getConstantDefinition(const String &name) const
Get a specific GpuConstantDefinition for a named parameter.
const Bone * getChild(size_t index) const
Definition: OgreBone.h:149
virtual ushort getPreferredIntegerBitDepth(void) const
Gets preferred bit depth for integer pixel format textures.
void savePrevPosition(void)
ImageBlur2D separableBlur_Signed_X8
Definition: OgreImageDownsampler.h:136
@ PBSM_BLEND_DARKEN
Definition: OgreHlmsPbsPrerequisites.h:90
@ ID_CONNECT_BUFFER
Definition: OgreScriptCompiler.h:815
@ ID_SRC_SPECULAR
Definition: OgreScriptCompiler.h:771
TextureLocation createOrRetrieveTexture(const String &texName, TextureMapType mapType)
Create a texture based on its name.
void extractLightmaps(void) const
void setDiffuse(const ColourValue &diffuse)
Sets the diffuse colour reflectance properties of this pass.
uint8 clipDistances
Definition: OgreHlmsPso.h:171
uint32 getConstBufferAlignment(void) const
Definition: OgreVaoManager.h:359
uint32 line
This holds the line number of the input stream where the token was found.
Definition: OgreScriptLexer.h:69
Vector3 getViewDirection() const
virtual void setDirection(Real x, Real y, Real z, TransformSpace relativeTo=TS_LOCAL, const Vector3 &localDirectionVector=Vector3::NEGATIVE_UNIT_Z)
Sets the node's direction vector ie it's local -z.
String validateConfigOptions(void)
Validates the options set for the rendering system, returning a message if there are problems.
@ PF_R32G32_SINT
64-bit pixel format, 32 bits red (signed int), 32 bits blue (signed int).
Definition: OgrePixelFormat.h:202
String doGet(const void *target) const
static void convertForNormalMapping(const PixelBox &src, const PixelBox &dst)
Converts the input source to either PF_R8G8_SNORM or PF_BYTE_LA.
virtual void resetStatistics(void)
Resets saved frame-rate statistices.
@ CAPS_CATEGORY_COMMON_2
Definition: OgreRenderSystemCapabilities.h:63
@ UNLIT_BLEND_MULTIPLY
Definition: OgreHlmsUnlitPrerequisites.h:68
void setFullscreen(bool fullScreen, unsigned int width, unsigned int height)
Alter fullscreen mode options.
Real weight
Definition: OgreVertexBoneAssignment.h:57
@ ID_FILTERING
Definition: OgreScriptCompiler.h:742
virtual void textureCoord(Real u, Real v)
Add a texture coordinate to the current vertex.
virtual bool prepare(StreamSerialiser &ser)=0
Prepare data - may be called in the background.
Factory for creating BorderPanelOverlayElement instances.
Definition: OgreOverlayElementFactory.h:87
virtual uint8 waitForTailFrameToFinish(void)
DeflateStream(const String &name, const DataStreamPtr &compressedStream, StreamType streamType, const String &tmpFileName="", size_t avail_in=0)
Constructor for creating named stream wrapping another stream.
virtual void shutdown()=0
Shut down the queue.
XVisualInfo * getVisualFromFBConfig(GLXFBConfig fbConfig)
Portable replacement for glXGetVisualFromFBConfig.
Real getMaximumDepthInputValue()
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
iterator erase(iterator S, iterator E)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:595
id< MTLTexture > getTextureForSampling(MetalRenderSystem *renderSystem)
D3D9StereoDriverBridge(StereoModeType stereoMode)
void transform(const Matrix4 &matrix)
Transforms the box according to the matrix supplied.
Definition: OgreAxisAlignedBox.h:439
virtual void _keyFrameDataChanged(void) const
Internal method used to tell the track that keyframe data has been changed, which may cause it to reb...
Definition: OgreAnimationTrack.h:219
Vector3 convertPosition(Space inSpace, const Vector3 &inPos, Space outSpace) const
Convert a position from one space to another with respect to this terrain.
void _setHlmsBlendblock(const HlmsBlendblock *blendblock, const GL3PlusHlmsPso *pso)
virtual void setFullscreen(bool fullscreen, uint width, uint height)
Alter fullscreen mode options.
String getErrorDescription(long errorNumber) const
See RenderSystem.
virtual T * createInstance(const String &name)=0
Creates a new object.
BillboardType getBillboardType(void) const
Returns the billboard type in use.
virtual void updateParamsForCompositeMap(const MaterialPtr &mat, const Terrain *terrain)=0
Update params for a terrain.
void cullLights(Camera *camera, Light::LightTypes startType, Light::LightTypes endType, LightArray &outLights)
Node * removeChild(unsigned short index)
Overridden from Node to remove any reference to octants.
bool useOneWeight() const
Definition: OgreInstanceBatchVTF.h:198
static const IdString AmbientHemisphere
Definition: OgreHlmsPbs.h:395
ImageDownsampler2D downscale2x_Signed_A8
Definition: OgreImageDownsampler.h:115
Factory class for particle emitter of type "Box".
Definition: OgreBoxEmitterFactory.h:43
bool isVisible(void) const
Returns whether or not the element is visible.
bool OrderCacheByHash(const HlmsCache *_left, const HlmsCache *_right)
Definition: OgreHlmsCommon.h:199
Definition: OgreException.h:233
@ SPC_LIGHTPOSITION_OBJECT_SPACE7
Definition: OgreShaderParameter.h:214
HardwareIndexBufferSharedPtr indexBuffer
Pointer to the HardwareIndexBuffer to use, must be specified if useIndexes = true.
Definition: OgreVertexIndexData.h:299
virtual const VertexElement & addElement(unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
Adds a new VertexElement to this declaration.
double * getDoublePointer(size_t pos)
Get a pointer to the 'nth' item in the double buffer.
Definition: OgreGpuProgramParams.h:765
void removeElement(unsigned short elem_index)
See VertexDeclaration.
A channel in the compositor transports textures between nodes.
Definition: OgreCompositorChannel.h:57
void nodeDestroyed(BoneTransform &outTransform, size_t depth)
Releases current memory.
@ VES_NORMAL
Normal, 3 reals per vertex.
Definition: OgreVertexElements.h:47
static const String & getDirectionalLightExtruderArbvp1(void)
Get extruder program source for directional lights, compatible with arbvp1.
Definition: OgreShadowVolumeExtrudeProgram.h:243
bool isClosed(void) const
Overridden - see RenderWindow.
virtual bool hasNonZeroKeyFrames(void) const
Method to determine if this track has any KeyFrames which are doing anything useful - can be used to ...
BatchSettings()
Definition: OgreInstanceManager.h:94
static const IdString UvSpecular
Definition: OgreHlmsPbs.h:365
NumericAnimationTrack(Animation *parent, unsigned short handle)
Constructor.
TagPoint(unsigned short handle, Skeleton *creator)
const TexturePtr & getIrradianceVolumeTexture(void) const
Definition: OgreIrradianceVolume.h:124
void doSet(void *target, const String &val)
void * getProcAddress(const char *procname) const
Get the address of a function.
NumericAnimationTrack * createNumericTrack(unsigned short handle)
Creates a NumericAnimationTrack for animating any numeric value.
uint16 getLodCount() const
Get the number of LOD levels this node can represent itself (only > 1 for leaf nodes)
vector< Bone >::type BoneVec
Definition: OgreSkeletonInstance.h:74
void _setTextureMatrix(size_t stage, const Matrix4 &xform)
See RenderSystem.
Definition: OgreGL3PlusRenderSystem.h:376
Definition: OgreGL3PlusMultiSourceVertexBufferPool.h:40
DataStreamPtr code(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
virtual void _notifyBillboardResized(void)
Internal callback used by Billboards to notify their parent that they have been resized.
String writeString(const RenderSystemCapabilities *caps, const String &name)
Writes a RenderSystemCapabilities object to a string.
ConstMapIterator< NormalsMap > ConstNormalsIterator
An iterator over the vertex offsets.
Definition: OgrePose.h:80
#define _OgreOctreePluginExport
Definition: OgreOctreePrerequisites.h:55
void resetDimensions(void)
Utility method to reset this particle.
Abstract factory interface for creating SubRenderState implementation instances.
Definition: OgreShaderSubRenderState.h:228
GpuLogicalBufferStruct()
Definition: OgreGpuProgramParams.h:580
Subclasses of this class are responsible for performing a function on an input value for a Controller...
Definition: OgreController.h:56
virtual Real getKeyFramesAtTime(const TimeIndex &timeIndex, KeyFrame **keyFrame1, KeyFrame **keyFrame2, unsigned short *firstKeyIndex=0) const
Gets the 2 KeyFrame objects which are active at the time given, and the blend value between them.
Class representing a general-purpose node an articulated scene graph.
Definition: OgreNode.h:60
void reorganiseBuffers(VertexDeclaration *newDeclaration, HardwareBufferManagerBase *mgr=0)
Reorganises the data in the vertex buffers according to the new vertex declaration passed in.
const FloatConstantList & getFloatConstantList() const
Get a reference to the list of float constants.
Definition: OgreGpuProgramParams.h:782
Specialized version of Ogre::Light which caches which zones the light affects.
Definition: OgrePCZLight.h:52
virtual void setVSyncEnabled(bool vsync)
Enable or disable vertical sync for the RenderWindow.
Definition: OgreRenderWindow.h:162
virtual bool getSortingEnabled(void) const
Returns true if sorting of billboards is enabled based on their distance from the camera.
static String DEFAULT_SCHEME_NAME
Default material scheme.
Definition: OgreMaterialManager.h:147
bool checkFormat(PixelFormat format)
Check if a certain format is usable as FBO rendertarget format.
Definition: OgreGLES2FBORenderTexture.h:111
void setPlayMode(eTexturePlayMode eMode)
Sets a play mode.
Definition: OgreExternalTextureSource.h:123
set< const MovableObject * >::type IntersectingObjectSet
Definition: OgreBspNode.h:145
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, TextureUnitState *texState, SGScriptTranslator *translator)
Create an instance of the SubRenderState based on script properties.
Definition: OgreShaderSubRenderState.h:263
@ SHADER_TCMOD
Definition: OgreQuake3Types.h:101
void addRequest(const ChunkRequest &req)
Adds a new ChunkRequest to be loaded to the WorkQueue.
static const String & getDirectionalLightExtruderVs_glsl(void)
Get extruder program source for directional lights, compatible with glsl.
Definition: OgreShadowVolumeExtrudeProgram.h:249
virtual void processSkeletonName(Mesh *mesh, String *name)=0
Called to override the reference to a skeleton.
static const IdString BlendModeIdx5
Definition: OgreHlmsUnlitMobile.h:130
bool allowWriteAfterWrite
Definition: OgreCompositorPassComputeDef.h:67
@ ID_BOTH
Definition: OgreScriptCompiler.h:912
static Real Ceil(Real fValue)
Ceiling function Returns the smallest following integer.
Definition: OgreMath.h:306
Common subclass of DataStream for handling data from C-style file handles.
Definition: OgreDataStream.h:614
void _setSkeletonDef(const SkeletonDef *skeletonDef)
Definition: OgreSkeletonAnimationDef.h:93
void QDUDecomposition(Matrix3 &rkQ, Vector3 &rkD, Vector3 &rkU) const
Orthogonal Q, diagonal D, upper triangular U stored as (u01,u02,u12)
virtual long getLine() const
Gets line number.
Definition: OgreException.h:166
Definition: OgreOctreeZone.h:54
virtual void savingChangeTextureNameOitd(const String &aliasName, String &inOutFilename)
Definition: OgreHlmsDatablock.h:222
static const IdString DetailMapsDiffuse
Definition: OgreHlmsPbsMobile.h:153
In Ogre 2.0 data structures, reading data from GPU back to CPU is asynchronous.
Definition: OgreAsyncTicket.h:51
virtual void getWorldTransforms(Matrix4 *xform) const OGRE_OVERRIDE
static CodecIterator getCodecIterator(void)
Gets the iterator for the registered codecs.
Definition: OgreCodec.h:106
void releasePrograms(Pass *pass, TargetRenderState *renderState)
Release CPU/GPU programs set associated with the given render state and pass.
GpuProgramParametersSharedPtr getFragmentProgramParameters(void) const
Gets the fragment program parameters used by this pass.
void getTerrainPosition(const Vector3 &WSpos, Vector3 *outTSpos) const
Convert a position from world space to terrain basis space.
void setMaximum(const Vector3 &vec)
Sets the maximum corner of the box.
Definition: OgreAxisAlignedBox.h:214
Real d
Definition: OgrePlane.h:65
AnimationStateSet()
Create a blank animation state set.
static GLenum getGLType(unsigned int type)
Utility function to get the correct GL type based on VET's.
Definition: OgreGLES2HardwareBufferManager.h:89
EmbeddedZipArchiveFactory()
static const IdString BlendModeIndex0
Definition: OgreUnlitProperty.h:109
Real calculate(Real source)
Overridden function.
void setNamedAutoConstant(const String &name, AutoConstantType acType, uint16 extraInfo1, uint16 extraInfo2)
Sets up a constant which will automatically be updated by the system.
String doGet(const void *target) const
map< String, MaterialBucket * >::type MaterialBucketMap
Lookup of Material Buckets in this region.
Definition: OgreStaticGeometry.h:313
virtual RenderContext * _pauseRendering()
Pause rendering of the frame.
UavBufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 bindFlags, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface)
void unpackIndex(uint32 key, long *x, long *y)
Convert a packed integer index to coordinates.
void sphereIntersects(const Sphere &sphere, TerrainList *resultList) const
Test intersection of a sphere with the terrain.
virtual DataStreamPtr resourceLoading(const String &name, const String &group, Resource *resource)=0
This event is called when a resource beings loading.
@ IM_VTFBESTFIT
The num.
Definition: OgreCommon.h:382
Billboard()
Default constructor.
Image & flipAroundX()
Flips (mirrors) the image around the X-axis.
Represents a Direct3D rendering resource.
Definition: OgreD3D9Resource.h:41
VectorIterator< CameraList > CameraIterator
Definition: OgreSceneManager.h:2685
@ FLAG_FULL_LEGACY
Definition: OgreHlmsPbsDatablock.h:78
GLES2DefaultHardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage)
virtual void textureCoord(const Vector3 &uvw)
Add a texture coordinate to the current vertex.
virtual bool requiresTextureFlipping(void) const
Definition: OgreGLES2DepthTexture.h:105
void setAsABGR(const ABGR val)
Sets colour as ABGR.
ArrayMaskR intersects(const ArraySphere &s) const
Returns whether or not this sphere intersects another sphere.
HlmsPbsMobile(Archive *dataFolder, ArchiveVec *libraryFolders)
@ NUM_SCENE_MEMORY_MANAGER_TYPES
Definition: OgreCommon.h:448
Vector4(Real *const r)
Definition: OgreVector4.h:80
int * mLeafFaces
Definition: OgreQuake3Level.h:132
Data representing the output of the Mesh reduction. Used by LodOutputProviderBuffer.
Definition: OgreLodBuffer.h:72
size_t getVertexSize(void) const
Gets the size in bytes of a single vertex in this buffer.
Definition: OgreHardwareVertexBuffer.h:71
MapIterator< ElementMap > TemplateIterator
Definition: OgreOverlayManager.h:209
map< SubMesh *, SubMeshLodGeometryLinkList * >::type SubMeshGeometryLookup
Definition: OgreStaticGeometry.h:159
std::reverse_iterator< iterator > reverse_iterator
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:237
CompositorPassQuad(const CompositorPassQuadDef *definition, Camera *defaultCamera, CompositorNode *parentNode, const CompositorChannel &target, Real horizonalTexelOffset, Real verticalTexelOffset)
uint8 mFirstRq
Definition: OgreSceneQuery.h:123
uint32 _getCombinedVisibilityMask(void) const
Internal method for getting the combination between the global visibility mask and the per-viewport v...
static const IdString DetailOffsetsD3
Definition: OgreHlmsPbsMobile.h:130
UserObjectBindings()
Class constructor.
virtual Real getMinDuration(void) const
Gets the minimum duration of this emitter in seconds (see setDuration for more details)
SubStringRef(const String *original, String::const_iterator _start)
Definition: OgreHlmsCommon.h:72
void _updateRenderQueue(RenderQueue *, Camera *camera, const Camera *lodCamera)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
bool operator==(const AnimationState &rhs) const
Equality operator.
vector< String >::type StringVector
Definition: OgreStringVector.h:45
static int intersect_call
Definition: OgreOctreeSceneManager.h:70
size_t getFirstNode(Transform &outTransform, size_t depth)
Retrieves a Transform pointing to the first Node in the given depth.
virtual_l1 void beginUpdate(size_t sectionIndex)
Start the definition of an update to a part of the object.
@ HBL_DISCARD
Discards the entire buffer while locking; this allows optimisation to be performed because synchronis...
Definition: OgreHardwareBuffer.h:130
IntersectionSceneQuery(SceneManager *mgr)
Real getBoundingSphereRadius(void) const
Gets the radius of the bounding sphere surrounding this mesh.
size_t numAttachedObjects(void) const
Reports the number of objects attached to this node.
Definition: OgreSceneNode.h:111
void setDiffuse(const Vector3 &diffuseColour)
Sets the diffuse colour (final multiplier). The colour will be divided by PI for energy conservation.
Particle * createParticle(void)
Manually add a particle to the system.
virtual bool removeRenderWindow(const String &renderWindowName)=0
CSGDifferenceSource(void)
Constructor, sets the sources to null.
FastArray< SkeletonInstance * > skeletons
MUST be sorted by location in its BoneMemoryManager's slot (in order to update in parallel without ca...
Definition: OgreSkeletonAnimManager.h:57
A blend block contains settings that rarely change, and thus are common to many materials.
Definition: OgreHlmsDatablock.h:147
SceneManager * getSceneManager() const
CbDrawCallIndexed(bool supportsBaseInstance)
boost::function< void(T) > setter_func
Definition: OgreProperty.h:221
void registerPCZoneFactory(PCZoneFactory *factory)
void deallocateScratch(void *ptr)
StencilOperation stencilPassOp
Definition: OgreCommon.h:132
type::const_iterator const_iterator
Definition: OgrePrerequisites.h:702
bool intersects(const Capsule &) const
virtual ~GLES2DepthTextureTarget()
@ SBT_TRANSPARENT_ALPHA
Make the object transparent based on the final alpha values in the texture.
Definition: OgreBlendMode.h:218
void _load(void)
Internal load method, derived from call to Material::load.
void addFrameTextureName(const String &name)
Add a Texture name to the end of the frame container.
bool operator!=(const ColourValue &rhs) const
@ ThreadGroupsBasedOnNothing
Disabled. (obey setNumThreadGroups)
Definition: OgreHlmsComputeJob.h:54
uint * getUnsignedIntPointer(size_t pos)
Get a pointer to the 'nth' item in the uint buffer.
Definition: OgreGpuProgramParams.h:1913
virtual void copyFrom(const SubRenderState &rhs)
Definition: OgreNULLTexBufferPacked.h:40
@ ACT_TRANSPOSE_WORLDVIEW_MATRIX
Provides transpose of concatenated world and view matrices.
Definition: OgreGpuProgramParams.h:968
Real getTime(void) const
Gets the time of this keyframe in the animation sequence.
Definition: OgreKeyFrame.h:68
@ MATERIAL
Definition: OgreScriptCompiler.h:513
const String & getType(void) const
Get the type of the object to be created.
virtual void setDefaultWidth(Real width)
See setDefaultDimensions - this sets 1 component individually.
unsigned short getLodIndex(void) const
Gets the level-of-detail index assigned to this Technique.
Definition: OgreTechnique.h:392
Definition: OgreScriptTranslator.h:241
static const uint8 DERIVED_DATA_NORMALS
Definition: OgreTerrain.h:1193
HlmsPso * getPso(void)
Returns an HlmsPso you can set via renderSystem->_setPipelineStateObject based on all past calls to s...
Definition: OgreOctreeZone.h:214
int getScissorActualLeft(void) const
Definition: OgreViewport.h:181
virtual void destroyRenderTarget(const String &name)
Destroys a render target of any sort.
Usage
Enums describing buffer usage; not mutually exclusive.
Definition: OgreHardwareBuffer.h:81
bool getStartEnabled(void) const
Definition: OgreCompositorNodeDef.h:113
size_t size() const
Definition: OgreFastArray.h:179
static String toString(const Matrix4 &val)
Converts a Matrix4 to a String.
virtual void setShadowFarDistance(Real distance)
Sets the default maximum distance away from the camera that shadows will be visible.
void updateAllBounds(const ObjectMemoryManagerVec &objectMemManager)
Updates the world aabbs from all entities in the scene.
void prepareForShadowMapping(bool forceSameBuffers)
static Real gaussianDistribution(Real x, Real offset=0.0f, Real scale=1.0f)
Generates a value based on the Gaussian (normal) distribution function with the given offset and scal...
ImportData & operator=(const ImportData &rhs)
Definition: OgreTerrain.h:437
@ ACT_WORLD_DUALQUATERNION_ARRAY_2x4
The current array of world matrices transformed to an array of dual quaternions, represented as a 2x4...
Definition: OgreGpuProgramParams.h:911
Image & loadDynamicImage(uchar *data, uint32 width, uint32 height, PixelFormat format)
Stores a pointer to raw data in memory.
Definition: OgreImage.h:204
DepthBuffer * _createDepthBufferFor(RenderTarget *renderTarget, bool exactMatchFormat)
Creates a DepthBuffer that can be attached to the specified RenderTarget.
static const uint16 TERRAINDERIVEDDATA_CHUNK_VERSION
Definition: OgreTerrain.h:291
BorderRenderable(BorderPanelOverlayElement *parent)
Constructed with pointers to parent.
Definition: OgreBorderPanelOverlayElement.h:329
@ ACT_LIGHT_DIFFUSE_COLOUR_ARRAY
Array of light diffuse colours (count set by extra param)
Definition: OgreGpuProgramParams.h:1063
GLES2TextureManager(GLES2Support &support)
void _setPointParameters(Real size, bool attenuationEnabled, Real constant, Real linear, Real quadratic, Real minSize, Real maxSize)
See RenderSystem.
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
AtomicScalar()
Definition: OgreAtomicScalar.h:416
int override_redirect
Definition: OgreX11EGLSupport.h:90
void setSphere(const Sphere &sphere)
Sets the sphere which is to be used for this query.
OGRE_HASH_NAMESPACE::OGRE_HASHMULTIMAP_NAME< K, V, H, E, A > type
Definition: OgrePrerequisites.h:697
const ColourValue & getSpecularColour(void) const
Returns the colour of specular light given off by this light source.
Definition: OgreLight.h:173
Real calculate(Real source)
Overridden method.
MeshPtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Get a resource by name.
OctreeNode(SceneManager *creator)
Standard constructor.
Ogre::SharedPtr< unsigned char > indexBuffer
size of the index buffer in bytes
Definition: OgreLodBuffer.h:44
@ GPU_APPLE
Definition: OgreRenderSystemCapabilities.h:298
ObjectData & _getObjectData()
Returns a direct access to the ObjectData state.
Definition: OgreMovableObject.h:409
bool isSupported(void) const
Overridden from GpuProgram.
void saveMaterial(const HlmsDatablock *datablock, String &outString)
virtual void _createInternalResources(EGLDisplay eglDisplay, ::EGLConfig glconfig, ::EGLSurface drawable, ::EGLContext shareContext)
multimap< String, String >::type SettingsMultiMap
Definition: OgreConfigFile.h:87
T operator+=(const T &add)
Definition: OgreAtomicScalar.h:469
Specialisation of HighLevelGpuProgram which just delegates its implementation to one other high level...
Definition: OgreUnifiedHighLevelGpuProgram.h:61
virtual void _setTextureCoordSet(size_t unit, size_t index)=0
Sets the texture coordinate set to use for a texture unit.
ComPtr(const ComPtr &other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:134
PageManager * getManager() const
virtual ushort getMaxResults(void) const
Gets the maximum number of results returned from the query (only relevant if results are being sorted...
GPUVendor
Enumeration of GPU vendors.
Definition: OgreRenderSystemCapabilities.h:288
virtual void loadMicrocodeCache(DataStreamPtr stream)
Loads the microcode cache from disk.
LodValueIterator getUserLodValueIterator(void) const
Gets an iterator over the user-defined list of values which are internally transfomed by the LodStrat...
static const IdString UvAtlas15
Definition: OgreHlmsUnlitMobile.h:158
IDXGIAdapterN * getDeviceAdapter() const
TexturePtr getTexture(size_t texType) const
void reposition(int leftPt, int topPt)
Overridden - see RenderWindow.
RenderOperation()
Definition: OgreRenderOperation.h:89
void enableClipPlane(ushort index, bool enable)
RGBA getAsRGBA(void) const
Retrieves colour as RGBA.
void doSet(void *target, const String &val)
void close(void)
Close the stream; this makes further operations invalid.
GLint convertStencilOp(StencilOperation op) const
virtual ProgramWriter * create(void)
Definition: OgreShaderCGProgramWriter.h:137
AbstractNode * clone() const
Returns a new AbstractNode which is a replica of this one.
GeneralAllocatedObject ControllerAlloc
Definition: OgreMemoryAllocatorConfig.h:305
VertexDeclaration(HardwareBufferManagerBase *creator)
Standard constructor, not you should use HardwareBufferManager::createVertexDeclaration.
static LodWorkQueueWorker * getSingletonPtr()
String validateConfigOptions(void)
See RenderSystem.
Animation * createAnimation(const String &name, Real length)
Creates a new Animation object for animating this skeleton.
static const IdString HasPlanarReflections
Definition: OgreHlmsPbs.h:321
const IntConstantList & getIntConstantList() const
Get a reference to the list of int constants.
Definition: OgreGpuProgramParams.h:786
Controller< Real > * createTextureUVScroller(TextureUnitState *layer, Real speed)
Creates a basic time-based texture uv coordinate modifier designed for creating scrolling textures.
Real totalTimePercent
The total percentage of frame time this profile has taken.
Definition: OgreProfiler.h:283
void setCenterValue(Vector4 value)
Raw setter for the center value.
Definition: OgreVolumeOctreeNode.h:508
String doGet(const void *target) const
CompositorPassMipmap(const CompositorPassMipmapDef *definition, const CompositorChannel &target, CompositorNode *parentNode)
@ ID_CAMERA_FAR_CORNERS_VIEW_SPACE_NORMALIZED
Definition: OgreScriptCompiler.h:888
@ ID_SAWTOOTH
Definition: OgreScriptCompiler.h:793
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
Definition: OgreNULLTexture.h:82
ImageBlur2D separableBlur_sRGB_XXX888
Definition: OgreImageDownsampler.h:207
EdgeData * build(void)
Builds the edge information based on the information built up so far.
void streamToAoS(Matrix4 *RESTRICT_ALIAS dst) const
Converts these matrices contained in this ArrayMatrix to AoS form and stores them in dst.
bool ArrayMaskI
Definition: OgreArrayConfig.h:166
void setTextureName(const String &name, TextureType ttype=TEX_TYPE_2D)
Sets this texture layer to use a single texture, given the name of the texture to use on this layer.
RayResult rayIntersects(const Ray &ray, Real distanceLimit=0) const
Test for intersection of a given ray with any terrain in the group.
void getKeyFrameRigAt(KeyFrameRigVec::const_iterator &inOutPrevFrame, KeyFrameRigVec::const_iterator &outNextFrame, Real frame) const
@ PF_A4L4
8-bit pixel format, 4 bits alpha, 4 bits luminance.
Definition: OgrePixelFormat.h:57
virtual const Radian & getAngle(void) const
Returns the maximum angle which the initial particle direction can deviate from the emitters base dir...
VertexAnimationTrack * createVertexTrack(unsigned short handle, VertexAnimationType animType)
Creates a VertexAnimationTrack for animating vertex position data.
void destroyComputeJob(IdString name)
Destroys a specific Compute Job.
virtual void _forceReleaseBufferCopies(HardwareVertexBuffer *sourceBuffer)
Internal method that forces the release of copies of a given buffer.
Definition: OgrePrerequisites.h:641
virtual void position(const Vector3 &pos)
Add a vertex position, starting a new vertex at the same time.
D3D9RenderWindow * getRenderWindow(uint index)
@ IM_FORCEONEWEIGHT
All techniques are forced to one weight per vertex.
Definition: OgreCommon.h:394
vector< TerrainLayerBlendMap * >::type TerrainLayerBlendMapList
Definition: OgreTerrainLayerBlendMap.h:188
virtual SceneNode * createChildSceneNode(const String &name, const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates a new named SceneNode as a child of this node.
SubMesh * createSubMesh(void)
Creates a new SubMesh.
static const int PassShift
Definition: OgreHlms.h:897
unsigned int getVertexID(const Vertex *v) const
Implementation of GL ES 2.x as a rendering system.
Definition: OgreGLES2RenderSystem.h:59
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
Definition: OgreD3D9Resource.h:50
void _update(SceneManagerEnumerator &sceneManagers, HlmsManager *hlmsManager)
Will call the renderSystem which in turns calls _updateImplementation.
String doGet(const void *target) const
set< Entity * >::type EntitySet
Definition: OgreEntity.h:89
void _createSurfaceList(void)
internal method, create D3D11HardwarePixelBuffers for every face and mipmap level.
virtual void setUniformBlockBinding(const char *blockName, uint32 bindingSlot)
For GL only. Program must be bound when calling.
Definition: OgreGpuProgram.h:468
virtual void upload(const PixelBox &data, const Box &dest)
Upload a box of pixels to this buffer on the card.
virtual void destroyInstanceManager(v1::InstanceManager *instanceManager)
Definition: OgreRenderToVertexBuffer.h:52
Definition: OgreSharedPtr.h:55
static const uint16 CHUNK_VERSION
Definition: OgrePageContentCollection.h:62
Definition: OgreLwString.h:273
void setAdapterOrdinalIndex(D3D9RenderWindow *renderWindow, uint adapterOrdinalInGroupIndex)
void addSubRenderStateInstance(SubRenderState *subRenderState) const
Add SubRenderState instance to this accessor.
Definition: OgreShaderSubRenderState.h:177
AutoConstantType acType
Definition: OgreGpuProgramParams.h:1396
@ TAM_MIRROR
Texture mirrors (flips) at joins over 1.0.
Definition: OgreHlmsSamplerblock.h:50
Definition: OgreHlmsDiskCache.h:161
SharedPtr< BspLevel > BspLevelPtr
Definition: OgreBspLevel.h:221
bool _createRenderWindows(const RenderWindowDescriptionList &renderWindowDescriptions, RenderWindowList &createdWindows)
Creates multiple rendering windows.
void makeFloor(const Vector2 &cmp)
Sets this vector's components to the minimum of its own and the ones of the passed in vector.
Definition: OgreVector2.h:460
SharedPtr< Resource > ResourcePtr
Definition: OgrePrerequisites.h:358
@ FET_PROJ_PLANE_POS
Represent extents as positions on the near clip plane.
Definition: OgreFrustum.h:85
Definition: OgreQuake3Types.h:170
virtual void addClipPlane(const Plane &p)
Add a user clipping plane.
ConstMapRange(typename T::iterator b, typename T::iterator e)
Constructor.
Definition: OgreIteratorRange.h:303
@ ACT_DERIVED_AMBIENT_LIGHT_COLOUR
The derived ambient light colour, with 'r', 'g', 'b' components filled with product of surface ambien...
Definition: OgreGpuProgramParams.h:1105
virtual BackgroundProcessTicket unloadResourceGroup(const String &name, Listener *listener=0)
Unloads a resource group in the background.
uint32 mNumInitialPasses
Number of times to perform the pass before stopping. -1 to never stop.
Definition: OgreCompositorPassDef.h:107
Definition: OgreSkeletonAnimationDef.h:43
void flushGpuProgramsCache()
Flush the local GPU programs cache.
virtual BackgroundProcessTicket load(const String &resType, const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *loadParams=0, Listener *listener=0)
Load a single resource in the background.
TerrainLayerSampler()
Definition: OgreTerrainMaterialGenerator.h:115
ObjectMemoryManager & _getLightMemoryManager(void)
Definition: OgreSceneManager.h:1401
CocoaContext(NSOpenGLContext *context, NSOpenGLPixelFormat *pixelFormat)
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
virtual void _hlmsMacroblockCreated(HlmsMacroblock *newBlock)
#define CAPS_CATEGORY_MASK
Definition: OgreRenderSystemCapabilities.h:47
bool isBuildEdgesEnabled(void) const
Returns true(by default) if the submesh should be included in the mesh EdgeList, otherwise returns fa...
Definition: OgreSubMesh.h:260
Element(const Vector3 &position, Real width, Real texCoord, const ColourValue &colour, const Quaternion &orientation)
Real getFogEnd(void) const
Returns the fog end distance for this pass.
void setNamedConstant(const String &name, const int *val, size_t count)
IDirect3DCubeTexture9 * getCubeTexture()
retrieves a pointer to the cube texture
Concrete IteratorWrapper for nonconst access to the underlying key-value container.
Definition: OgreIteratorWrapper.h:319
virtual void write(const Sphere *sphere, size_t count=1)
PageManager * getManager() const
const AxisAlignedBox & getBoundingBox(void) const
static const uint8 R_MASK
Definition: OgreHlmsUnlitDatablock.h:70
static const char * DetailMapN
Definition: OgreHlmsPbs.h:331
static const ArrayQuaternion ZERO
Definition: C/OgreArrayQuaternion.h:248
virtual void handleResponse(const Response *res, const WorkQueue *srcQ)=0
The handler method every subclass must implement.
void setPagingOperationsEnabled(bool enabled)
Pause or unpause all paging operations.
Definition: OgrePageManager.h:430
void _resized(ID3D11DepthStencilView *depthBufferView, uint32 width, uint32 height)
internal method, gets called when the renderwindow was resized
A bone in a skeleton.
Definition: OgreOldBone.h:55
void moveRelative(const Vector3 &vec)
Moves the camera's position by the vector offset provided along it's own axes (relative to orientatio...
Vector2 xy() const
Definition: OgreVector4.h:104
void updateGeometry()
Performs an update on the terrain geometry based on the dirty region.
@ CAPS_CATEGORY_METAL
Definition: OgreRenderSystemCapabilities.h:67
String getDisplayName(void)
virtual void setPageProvider(PageProvider *provider)
Set the PageProvider which can provide streams Pages in this section.
Definition: OgrePagedWorldSection.h:268
virtual void applyRebase(uint16 level, const MemoryPoolVec &newBasePtrs, const ArrayMemoryManager::PtrdiffVec &diffsList)
Called when the manager already grew it's memory pool to honour more node requests.
@ CB_DRAW_CALL_INDEXED_EMULATED
Definition: OgreCbCommon.h:41
static const String & getDirectionalLightExtruderVs_glsles(void)
Get extruder program source for directional lights, compatible with glsles.
Definition: OgreShadowVolumeExtrudeProgram.h:251
virtual bool checkFormat(PixelFormat format)=0
Check if a certain format is usable as rendertexture format.
void convertPosition(Space inSpace, const Vector3 &inPos, Space outSpace, Vector3 &outPos) const
Convert a position from one space to another with respect to this terrain.
Command object for setting the maximum output vertices (geometry shader only)
Definition: OgreGLSLShader.h:95
uint32 PageID
Identifier for a page.
Definition: OgrePagingPrerequisites.h:58
void freeTemporaryResources()
Free as many resources as possible for optimal run-time memory use.
PCPlane(const Vector3 &rkPoint0, const Vector3 &rkPoint1, const Vector3 &rkPoint2)
Alternative constructor.
static ArrayReal ACos4(ArrayReal x)
Returns the arccos of x.
@ OT_PATCH_32_CONTROL_POINT
Definition: OgreHlmsPso.h:91
Factory class for DirectionRandomiserAffector.
Definition: OgreDirectionRandomiserAffectorFactory.h:39
bool requiresTextureFlipping() const
Definition: OgreOSXCocoaWindow.h:119
void copyFrom(Hlms *hlms)
Contains information needed by the UI (2D) for OpenGL ES 2.0.
Definition: OgreHlmsLowLevelDatablock.h:46
GpuProgramParameters::AutoConstantType acType
Definition: OgreShaderParams.h:66
virtual DepthBuffer * _createDepthBufferFor(RenderTarget *renderTarget, bool exactMatchFormat)
Creates a DepthBuffer that can be attached to the specified RenderTarget.
void setDimensions(Real width, Real height)
Sets the dimensions of this element in relation to the screen (1.0 = screen width/height).
void removeAllLinkedSkeletonAnimationSources(void)
Remove all links to other skeletons for the purposes of sharing animation.
@ BLOCK_SAMPLER
Definition: OgreHlmsDatablock.h:48
@ GHA_RIGHT
Definition: OgreOverlayElement.h:74
unsigned usedCount
Definition: OgreLod0Stripifier.h:97
RenderWindow * createWindow(bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle)
bool getUseIdentityView(void) const
Returns whether or not to use an 'identity' view.
Definition: OgreManualObject.h:377
void unregisterHlms(HlmsTypes type)
Unregisters an HLMS provider of the given type.
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
SettingsIterator getSettingsIterator(const String §ion=BLANKSTRING)
Get an iterator over all the available settings in a section.
@ M_ANIMATION
Definition: OgreMeshFileFormat.h:158
String doGet(const void *target) const
static const String MOVABLE_TYPE_NAME
The type name.
Definition: OgreVolumeChunk.h:314
void clear()
Clear the pool.
void set(size_t position)
Definition: OgreBitset.h:64
list< SceneQueryMovableObjectWorldFragmentPair >::type SceneQueryMovableWorldFragmentIntersectionList
Definition: OgreSceneQuery.h:482
virtual OldNode * getChild(const String &name) const
Gets a pointer to a named child OldNode.
virtual void rotate(const Vector3 &axis, const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the OldNode around an arbitrary axis.
void createShaderParams(IdString key)
Creates a set of shader paramters with a given key, e.g.
@ ACT_LIGHT_SPECULAR_COLOUR_POWER_SCALED
Light specular colour pre-scaled by Light::setPowerScale (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1061
const EffectMap & getEffects(void) const
Get texture effects in a multimap paired array.
virtual void setCellRangeMaxX(int32 maxX)
Set the index range of all cells (values outside this will be ignored)
void getTextureSource(size_t outputChannel, size_t &index, TextureSource &textureSource) const
Retrieves in which container to look for when wanting to know the output texture using the mappings f...
virtual bool canHandleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
Return whether this handler can process a given response.
void parseVendorFromString(const String &vendorString)
Parse and set vendor.
Definition: OgreRenderSystemCapabilities.h:450
virtual void setEmittedEmitter(const String &emittedEmitter)
Sets the name of the emitter to be emitted.
void setPosition(const Vector3 &vec)
Sets the camera's position.
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
static size_t calculateNumTargets(const AbstractNodePtr &node)
void _setTessellationHullTexture(size_t unit, const TexturePtr &tex)
See RenderSystem.
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
LodStrategy * getDefaultStrategy()
Get the current default strategy.
static const IdString LightsAreaTexMask
Definition: OgreHlms.h:806
void _setTextureAddressingMode(size_t stage, const TextureUnitState::UVWAddressingMode &uvw)
int skyDomeYSegments_keep
Definition: OgreSceneManager.h:311
virtual void _initParticle(Particle *pParticle)
Initialises a particle based on the emitter's approach and parameters.
Definition: OgreParticleEmitter.h:419
unordered_map< unsigned int, String >::type SubroutineMap
Definition: OgreGpuProgramParams.h:1451
virtual ~D3D11DepthTextureTarget()
SubMesh * clone(Mesh *parentMesh=0, int vertexBufferType=-1, int indexBufferType=-1)
Makes a copy of this submesh object and gives it a new name.
Define the interface to a factory class that will create subclasses of PageContent.
Definition: OgrePageContentFactory.h:51
Real getOverlayWidth() const
virtual void _destroyInternalResources()
virtual void execute(const Camera *lodCamera)
static CgFxScriptLoader * getSingletonPtr(void)
Override standard Singleton retrieval.
@ M_ANIMATION_MORPH_KEYFRAME
Definition: OgreMeshFileFormat.h:170
FontType
Enumerates the types of Font usable in the engine.
Definition: OgreFont.h:45
void remove(const String &filename)
Delete a named file.
Real getSquaredViewDepth(const Camera *cam) const
void bind(RenderTarget *target)
Bind a certain render target if it is a FBO.
TerrainMaterialGeneratorPtr getDefaultMaterialGenerator()
Get the default material generator.
IdString operator+(IdString idString) const
Definition: OgreIdString.h:218
NamePair(const String &_aliasName, const String &_resourceName)
Definition: OgreHlmsTextureManager.h:161
virtual HardwareVertexBufferSharedPtr allocateVertexBufferCopy(const HardwareVertexBufferSharedPtr &sourceBuffer, BufferLicenseType licenseType, HardwareBufferLicensee *licensee, bool copyData=false)
Allocates a copy of a given vertex buffer.
Definition: OgreHardwareBufferManager.h:505
map< String, ConfigOption >::type ConfigOptionMap
Definition: OgreConfigOptionMap.h:57
static GLenum getGLOriginFormat(PixelFormat format)
Takes the OGRE pixel format and returns the appropriate GL one.
void _unload(void)
Unload this usage.
void destroyInstance(Archive *ptr)
Destroys an object which was created by this factory.
Definition: OgreZip.h:127
static void destroyBuffers(const BufferDefinitionVec &bufferDefs, CompositorNamedBufferVec &inOutBufContainer, RenderSystem *renderSys)
virtual void start()=0
Start anything special.
virtual StagingBuffer * createStagingBuffer(size_t sizeBytes, bool forUpload)
Creates a new staging buffer and adds it to the pool.
virtual String getErrorDescription(long errorNumber) const
Returns a description of an error code.
Structure recording the use of an automatic parameter.
Definition: OgreGpuProgramParams.h:1416
@ SPC_LIGHTDIRECTION_TANGENT_SPACE4
Definition: OgreShaderParameter.h:201
@ TEXTURE_TYPE_ENV_MAP
Definition: OgreHlmsTextureManager.h:137
@ SPC_LIGHTDIRECTION_WORLD_SPACE4
Definition: OgreShaderParameter.h:181
void addBoneAssignment(const VertexBoneAssignment &vertBoneAssign)
Assigns a vertex to a bone with a given weight, for skeletal animation.
A MaterialBucket is a collection of smaller buckets with the same Material (and implicitly the same L...
Definition: OgreStaticGeometry.h:258
void setAmbient(const ColourValue &ambient)
Sets the ambient colour reflectance properties for every Pass in every Technique.
void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
PCPlane(const Vector3 &rkNormal, const Vector3 &rkPoint)
Alternative constructor.
bool isDepthCheckEnabled(void) const
Is depth checking going to occur on this technique?
Definition: OgreX11EGLSupport.h:89
virtual uint8 getRenderQueueGroup(void) const
Gets the queue group for this entity, see setRenderQueueGroup for full details.
void setSamplerblock(const HlmsSamplerblock &samplerblock)
Set samplerblock for every texture unit in every Technique and Pass.
unsigned short getNumPoses(void) const
void addTagPoint(TagPoint *tagPoint)
Makes the TagPoint child of this Bone.
BillboardParticleRendererFactory()
virtual_l1 size_t getCurrentIndexCount() const
Get the number of indices in the section currently being defined (returns 0 if no section is in progr...
GLES2StagingBuffer(size_t internalBufferStart, size_t sizeBytes, VaoManager *vaoManager, bool uploadOnly, GLuint vboName)
void doSet(void *target, const String &val)
::GLXDrawable mDrawable
Definition: OgreGLXContext.h:52
Command object for setting matrix packing in column-major order.
Definition: OgreGLSLShader.h:102
virtual void setFsaaResolved()
Definition: OgreD3D11NullTexture.h:118
void XStringListToTextProperty(char **prop, int num, XTextProperty *textProp)
@ GPU_VENDOR_COUNT
placeholder
Definition: OgreRenderSystemCapabilities.h:307
@ WFT_SINE
Standard sine wave which smoothly changes from low to high and back again.
Definition: OgreCommon.h:296
virtual void _notifyStaticDirty(void) const
Called by SceneManager when it is telling we're a static MovableObject being dirty Don't call this di...
Definition: OgreMovableObject.h:236
virtual ~OctreeNode(void)
Destructor.
Viewport * source
The source of the event being raised.
Definition: OgreRenderTargetListener.h:55
virtual uint32 fillBuffersForV2(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
Interface to abstract all types of pass definitions (.
Definition: OgreCompositorPassDef.h:87
const NameToChannelMap & getNameToChannelMap(void) const
Definition: OgreTextureDefinition.h:301
bool operator>(const Radian &r) const
Definition: OgreMath.h:85
const String & getBorderMaterialName(void) const
Gets the name of the material to use for the borders.
void Cmov4(ArrayMaskR mask, const ArrayQuaternion &replacement)
Conditional move update.
Description of a sampler that will be used with each layer.
Definition: OgreTerrainMaterialGenerator.h:104
@ PROP_MATRIX3
Definition: OgreProperty.h:121
Real cost
Definition: OgreLodConfig.h:42
bool hasStrongMacroblock(void) const
Definition: OgreHlmsPso.h:136
bool isSkeletalAnimationIncluded(void) const
Returns whether the linked program includes the required instructions to perform skeletal animation.
Definition: OgreGLSLESProgramCommon.h:99
ComputeTextureSource(size_t _texUnitIdx, IdString _textureName, size_t _mrtIndex, ResourceAccess::ResourceAccess _access, int32 _mipmapLevel, int32 _textureArrayIndex, PixelFormat _pixelFormat, bool _allowWriteAfterWrite)
Definition: OgreCompositorPassComputeDef.h:74
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
@ PF_DEPTH_DEPRECATED
Depth texture format.
Definition: OgrePixelFormat.h:138
void saveTo(DataStreamPtr &dataStream)
@ ID_CULL_CAMERA
Definition: OgreScriptCompiler.h:871
virtual void _setPointParameters(Real size, bool attenuationEnabled, Real constant, Real linear, Real quadratic, Real minSize, Real maxSize)=0
Sets the size of points and how they are attenuated with distance.
Command object for local space (see ParamCommand).
Definition: OgreParticleSystem.h:127
static const IdString PoseHalfPrecision
Definition: OgreHlms.h:775
void load(int lodLevel=0, bool synchronous=true)
Load the terrain based on the data already populated via prepare methods.
static ScreenRatioPixelCountLodStrategy * getSingletonPtr(void)
Override standard Singleton retrieval.
OldNodeAnimationTrack(Animation *parent, unsigned short handle, OldNode *targetNode)
Constructor, associates with a OldNode.
virtual uint32 fillBuffersForV1(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
void _setFinalTargetAsRenderTarget(ResourceLayoutMap::iterator finalTargetCurrentLayout)
Places a resource transition in our last pass to the given RenderTarget.
unsigned int getTexCoordIndex() const
Return the index of the input vertex shader texture coordinate set.
Definition: OgreShaderExNormalMapLighting.h:103
AnimationStateSet * getParent(void) const
Get the parent animation state set.
Definition: OgreAnimationState.h:130
RealStorageFormat
The storage format of Real values.
Definition: OgreStreamSerialiser.h:83
Matrix3()
Default constructor.
Definition: OgreMatrix3.h:75
@ ACT_INVERSE_WORLD_MATRIX
The current world matrix, inverted.
Definition: OgreGpuProgramParams.h:898
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create uniform buffer.
Definition: OgreGLES2DefaultHardwareBufferManager.h:173
LwString & a(const M &a0, const N &a1, const O &a2, const P &a3, const Q &a4, const R &a5, const S &a6)
Definition: OgreLwString.h:396
bool getUseAlphaFromTextures(void) const
Definition: OgreHlmsPbsDatablock.h:660
static bool vertexElementLess(const VertexElement &e1, const VertexElement &e2)
Sort routine for vertex elements.
ConstVectorIterator< PoseRefList > ConstPoseRefIterator
Definition: OgreKeyFrame.h:236
Ogre::vector< ProfileInstance * >::type ProfileChildrenVec
Definition: OgreProfiler.h:305
void insertVertex(const Vector3 &vdata)
Inserts a vertex at the end of the polygon.
const IdString getName() const
Definition: OgreInstanceManager.h:163
virtual void rotate(const Quaternion &q, TransformSpace relativeTo=TS_LOCAL)
Rotate the OldNode around an aritrary axis using a Quarternion.
void addScriptPattern(const String &pattern)
Adds a script extension that can be handled (e.g. *.material, *.pu, etc.)
@ IF_3D_TEXTURE
Definition: OgreImage.h:47
Shared pointer implementation used to share counter buffers.
Definition: OgreHardwareCounterBuffer.h:68
static bool parseBool(const String &val, bool defaultValue=0, bool *error=NULL)
Converts a String to a boolean.
virtual ~ShaderProgramWriterCGFactory()
Definition: OgreShaderCGProgramWriter.h:124
virtual void bindGpuProgramParameters(GpuProgramType gptype, GpuProgramParametersSharedPtr params, uint16 variabilityMask)
Bind Gpu program parameters.
void reposition(int left, int top)
Reposition the window.
void getMinMaxDepthRange(const Frustum *shadowMapCamera, Real &outMin, Real &outMax) const
Outputs the min & max depth range for the given camera.
virtual void destroySceneNode(SceneNode *sn)
Deletes a scene node & corresponding PCZSceneNode.
Mesh * mParent
Reference to parent Mesh (not a smart pointer so child does not keep parent alive).
Definition: OgreSubMesh2.h:100
SkeletonChunkID
Definition of the OGRE .skeleton file format.
Definition: OgreSkeletonFileFormat.h:55
virtual void upload(const void *data, size_t elementStart, size_t elementCount)
Sends the provided data to the GPU.
@ Position
Definition: OgreBoneArrayMemoryManager.h:58
MeshBuilderCallback * lodCallback
Callback for a specific LOD level.
Definition: OgreVolumeChunk.h:74
@ SHADER_SKY
Definition: OgreQuake3Types.h:89
virtual bool isFrameFinished(uint32 frameCount)
If this returns true, then waitForSpecificFrameToFinish is guaranteed to return immediately.
bool removeRenderWindow(const String &renderWindowName) const
TexBufferPacked * getAsTexBufferView(PixelFormat pixelFormat)
Returns a TexBufferPacked for binding to the GPU as a texture w/ read-only access.
void getWorldTransforms(Matrix4 *xform) const
Timer * getTimer(void)
Definition: OgreVaoManager.h:373
bool _getSwitchingFullscreen() const
Are we in the middle of switching between fullscreen and windowed.
static const IdString NumTextures
Definition: OgreHlmsPbs.h:323
Specialisation of HardwareVertexBuffer for emulation.
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:43
vector< PixelFormat >::type PixelFormatList
Definition: OgreCompositorCommon.h:59
void getWorldTransforms(Matrix4 *) const
Gets the world transform matrix / matrices for this renderable object.
virtual void addSceneNode(const SceneNode *node)
Adds all the Entity objects attached to a SceneNode and all it's children to the static geometry.
void baseVertexPointerToElement(void *pBase, unsigned char **pElem) const
Adjusts a pointer to the base of a vertex to point at this element.
Definition: OgreHardwareVertexBuffer.h:241
virtual void setCurrentStateAsBaseValue(void)=0
Sets the current state as the 'base' value; used for delta animation.
@ LML_CRITICAL
Definition: OgreLog.h:70
Vector3 primaryAxis() const
Extract the primary (dominant) axis from this direction vector.
Definition: OgreVector3.h:794
static String resolveCgIncludes(const String &source, Resource *resourceBeingLoaded, const String &fileName)
Scan the file for #include and replace with source from the OGRE resources.
ParticleEmitter * createEmitter(ParticleSystem *psys)
See ParticleEmitterFactory.
Definition: OgreBoxEmitterFactory.h:54
bool isVisible() const
Indicates whether the window is visible (not minimized or obscured)
@ LML_TRIVIAL
Definition: OgreLog.h:68
Real getInverseViewportWidth() const
bool getReadOnlStencil(void) const
size_t mNumRays
Number of rays to trace.
Definition: OgreInstantRadiosity.h:139
@ CE_NUMBEREXPECTED
Definition: OgreScriptCompiler.h:207
void waitForDerivedProcesses()
virtual void triangle(uint32 i1, uint32 i2, uint32 i3)
Add a set of 3 vertex indices to construct a triangle; this is a shortcut to calling index() 3 times.
void doSet(void *target, const String &val)
static const uint16 TERRAINLAYERSAMPLERELEMENT_CHUNK_VERSION
Definition: OgreTerrain.h:287
virtual Real getMaxDuration(void) const
Gets the maximum duration of this emitter in seconds (see setDuration for more details)
virtual void initialise(void)=0
Initialise gui element.
virtual void addListener(Listener *l, const Ogre::String &schemeName=BLANKSTRING)
Add a listener to handle material events.
virtual const SharedParametersMap & getAvailableSharedParameters() const
Get (const) access to the available shared parameter sets.
virtual ~Texture()
Definition: OgreTexture.h:129
virtual void _renderEmulated(const CbDrawCallIndexed *cmd)=0
void _endFrame(void)
See RenderSystem.
static bool getIgnoreHidden()
Get whether hidden files are ignored during filesystem enumeration.
Definition: OgreFileSystem.h:118
virtual void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Overridden - see RenderTarget.
@ ID_FLAT
Definition: OgreScriptCompiler.h:690
ushort positionOffset
Definition: OgreShaderExTextureAtlasSampler.h:229
static String FACTORY_TYPE_NAME
Definition: OgreRibbonTrail.h:237
void setGeometryProgramConstantBoolCount(ushort c)
The number of boolean constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:710
void doSet(void *target, const String &val)
uint depth
Definition: OgreTextureDefinition.h:81
static void updateAllTransformsTagOnTag(const size_t numNodes, Transform t)
@See Node::updateAllTransforms.
RenderState * getRenderState(const String &schemeName)
Return a global render state associated with the given scheme name.
FrameStats(void)
Definition: OgreFrameStats.h:56
@ ACT_WORLD_SCALE_SHEAR_MATRIX_ARRAY_3x4
The scale and shear components of the current array of world matrices.
Definition: OgreGpuProgramParams.h:913
Real w
Definition: OgreQuaternion.h:320
@ ID_TARGET_HEIGHT_SCALED
Definition: OgreScriptCompiler.h:830
virtual RenderToVertexBufferSharedPtr createRenderToVertexBuffer()=0
Create a render to vertex buffer.
virtual void _applySceneAnimations(void)
Internal method for applying animations to scene nodes.
ResourcePtr getResourceByName(const String &name, bool preferHighLevelPrograms=true)
Overrides the standard ResourceManager getResourceByName method.
void setTimeFactor(Real tf)
Set the relative speed to update frame time based controllers.
ArrayReal distance(const ArrayVector3 &rhs) const
Returns the distance to another vector.
Definition: OgreScriptTranslator.h:277
SourceCodeVec sourceCode
See HlmsTypes.
Definition: OgreHlmsDiskCache.h:164
virtual ~EmscriptenEGLContext()
void setShadowCasterFragmentProgram(const String &name)
Sets the details of the fragment program to use when rendering as a shadow caster.
BoxEmitter(ParticleSystem *psys)
@ IT_32BIT
Definition: OgreHardwareIndexBuffer.h:53
virtual void bindToFramebuffer(uint32 attachment, size_t zoffset)
float getLightCount() const
PixelComponentType
Pixel component format.
Definition: OgrePixelFormat.h:393
bool isStillOutstanding(void)
Lets you know when query is done, or still be processed by the Hardware.
ID3D11Texture1D * GetTex1D()
Definition: OgreD3D11Texture.h:80
bool createDualGridVisualization
Whether to create the dualgrid debug visualization entity with false as default.
Definition: OgreVolumeChunk.h:68
void start()
Start anything special.
static const IdString NumThreadGroupsY
Definition: OgreHlmsCompute.h:199
virtual void buildDiffList(uint16 level, const MemoryPoolVec &basePtrs, ArrayMemoryManager::PtrdiffVec &outDiffsList)
Called when the manager needs to grow it's memory pool to honour more node requests.
size_t getSliceSkip() const
Get the number of elements between one past the right bottom pixel of one slice and the left top pixe...
Definition: OgrePixelBox.h:121
size_t getNumCompositorTextures(void) const
Gets the number of currently active compositor textures.
Definition: OgreSceneManager.h:1558
bool hasMinGLVersion(int major, int minor) const
@ CMPF_ALWAYS_PASS
Definition: OgreCommon.h:98
void setStoreParityInW(bool enabled)
Sets whether to store tangent space parity in the W of a 4-component tangent or not.
Definition: OgreTangentSpaceCalc.h:113
@ ANIMBLEND_AVERAGE
Animations are applied by calculating a weighted average of all animations.
Definition: OgreSkeleton.h:51
virtual size_t getMemoryUsage(void) const
Gets the current memory usage, in bytes.
Definition: OgreResourceManager.h:183
@ RSC_TEXTURE_COMPRESSION_BC4_BC5
Supports compressed textures in BC4 and BC5 format (DirectX feature level 10_0)
Definition: OgreRenderSystemCapabilities.h:150
StrideChanger()
Definition: OgreD3D11VaoManager.h:59
@ BLOCK_BLEND
Definition: OgreHlmsDatablock.h:47
void _clearShaderCache(void)
void clearAutoConstant(size_t index)
Unbind an auto constant so that the constant is manually controlled again.
void setShadowSettings(bool useExponentialShadowMaps)
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
virtual void unbind(RenderTarget *target)=0
Unbind a certain render target.
String filename
The file's fully qualified name.
Definition: OgreArchive.h:56
virtual void addBufferInput(size_t inputChannel, IdString name)
Buffers.
void removeAllElements(void)
See VertexDeclaration.
Vector3 scale
Definition: OgreStaticGeometry.h:169
const PoseList & getPoseList(void) const
Get pose list.
SceneQueryResultWorldFragmentList worldFragments
List of world fragments.
Definition: OgreSceneQuery.h:205
Real lodValue
LOD value as determined by LOD strategy.
Definition: OgreLodListener.h:82
@ DerivedPosition
Definition: OgreArrayMemoryManager.h:296
MovableObjectFactoryIterator getMovableObjectFactoryIterator(void) const
Return an iterator over all the MovableObjectFactory instances currently registered.
Real reductionValue
The value, which depends on reductionMethod.
Definition: OgreLodConfig.h:100
ImageDownsamplerCube downscale2x_sRGB_X8_cube
Definition: OgreImageDownsampler.h:196
void doSet(void *target, const String &val)
bool isHidden() const
Indicates whether the window was set to hidden (not displayed)
Definition: OgreWin32Window.h:48
Real scale
The scale of the volume with 1.0 as default.
Definition: OgreVolumeChunk.h:77
@ ForceDisableDepthWrites
Definition: OgreHlmsPso.h:140
virtual bool hasCustomShadowMacroblock(void) const
virtual String getType() const
Returns the type of the codec as a String.
virtual OGRE_DEPRECATED const Any & getUserAny(void) const
Definition: OgreNode.h:769
MeshSerializerImpl_v1_41()
virtual ~OverlayContainer()
Real y
Y coordinate of the position.
Definition: OgreVolumeMeshBuilder.h:48
static MeshManager * getSingletonPtr(void)
Override standard Singleton retrieval.
virtual void bakeManualLodLevel(LodData *data, String &manualMeshName, int lodIndex)
This class responsible for translating core features of the RT Shader System for Ogre material script...
Definition: OgreShaderMaterialSerializerListener.h:48
list< OctreeNode * >::type NodeList
Definition: OgreOctree.h:125
static ArrayQuaternion Cmov4(const ArrayQuaternion &arg1, const ArrayQuaternion &arg2, ArrayMaskR mask)
Conditional move.
static const IdString ThreadsPerGroupZ
Definition: OgreHlmsCompute.h:197
static PixelFormat _getPF(D3DFORMAT d3dPF)
utility method, convert D3D9 pixel format to Ogre pixel format
void dump(std::ofstream &of) const
Dump contents for diagnostics.
uint8 getViewportRenderTargetFlags(void) const
Definition: OgreViewport.h:315
Real frequency
Definition: OgreTextureUnitState.h:140
void preFindVisibleObjects(SceneManager *source, SceneManager::IlluminationRenderStage irs, Viewport *v)
Overridden from SceneManager::Listener.
void _notifyViewport(Viewport *viewport)
Notifies this camera that a viewport is using it.
Definition: OgreCamera.h:575
~DefaultIntersectionSceneQuery()
@ RSC_SEPARATE_SHADER_OBJECTS
Support for Separate Shader Objects.
Definition: OgreRenderSystemCapabilities.h:237
virtual void setDefaultWidth(Real width)
See setDefaultDimensions - this sets 1 component individually.
@ BlinnPhong
Implements Normalized Blinn Phong using a normalization factor of (n + 8) / (8 * pi) The main reason ...
Definition: OgreHlmsPbsDatablock.h:105
static DWORD get(StencilOperation op, bool invert=false)
return a D3D9 equivalent for a Ogre StencilOperation value
void save(StreamSerialiser &stream)
Save this data to a stream.
Definition: OgreGLES2DepthTexture.h:37
PCZone * findZoneForPoint(Vector3 &point)
Find the smallest zone which contains the point.
@ TEXTURE_TYPE_DETAIL
Definition: OgreHlmsTextureManager.h:138
void setCurrentPass(const Pass *pass)
Sets the current pass.
size_t light
Definition: OgreCompositorShadowNodeDef.h:64
const TexturePtr & _getTexturePtr(size_t frame) const
Get the texture pointer for a given frame.
NodeAnimationTrack(Animation *parent, unsigned short handle)
Constructor.
PixelFormat suggestPixelFormat() const
Irrelevant implementation since cannot copy.
Definition: OgreRenderTexture.h:118
virtual const Quaternion & _getDerivedOrientation(void) const
Gets the orientation of the OldNode as derived from all parents.
GL3PlusHardwareBufferManagerBase()
AllocatedObject< GeneralAllocPolicy > GeneralAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:278
void destroyResourceGroup(const String &name)
Destroys a resource group, clearing it first, destroying the resources which are part of it,...
ushort getFragmentProgramConstantBoolCount(void) const
The number of boolean constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:667
virtual void _notifyParticleExpired(Particle *particle)
Optional callback notified when particle expired.
Definition: OgreParticleSystemRenderer.h:90
uint16 mTextureLightMaskIdx
Definition: OgreLight.h:578
HardwareBufferManagerBase * getManager() const
Return the manager of this buffer, if any.
Definition: OgreHardwareVertexBuffer.h:69
GL3PlusFBOMultiRenderTarget(GL3PlusFBOManager *manager, const String &name)
MovablePlane(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const Vector3 &rkNormal, Real fConstant)
Construct a plane through a normal, and a distance to move the plane along the normal.
bool isLeafVisible(const BspNode *from, const BspNode *to) const
Determines if one leaf node is visible from another.
static NeighbourIndex getNeighbourIndex(long offsetx, long offsety)
Get the neighbour enum for a given offset in a grid (signed).
virtual void _setRenderOperation(const v1::CbRenderOp *cmd)
static CmdEnableIncludeHeader msEnableIncludeHeaderCmd
Definition: OgreHighLevelGpuProgram.h:74
CompositorShadowNodeDef(const String &name, CompositorManager2 *compositorManager)
Definition: OgreCompositorShadowNodeDef.h:133
size_t _getInternalBufferStart(void) const
Definition: OgreBufferPacked.h:289
Specialisation of the SceneManager class to deal with indoor scenes based on a BSP tree.
Definition: OgreBspSceneManager.h:65
NumericTrackIterator getNumericTrackIterator(void) const
Get non-updateable iterator over node tracks.
Definition: OgreAnimation.h:426
HighLevelGpuProgramPtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Get a resource by name.
uint32 mThreadsPerGroup[3]
XYZ.
Definition: OgreHlmsPso.h:308
bool hasTextureAliases(void) const
returns true if the sub mesh has texture aliases
Definition: OgreSubMesh.h:227
@ ID_TESSELLATION_HULL
Definition: OgreScriptCompiler.h:980
ImageBlur2D separableBlur_sRGB_XA88
Definition: OgreImageDownsampler.h:211
virtual void lodUpdateImpl(const size_t numNodes, ObjectData t, const Camera *camera, Real bias) const
virtual const Vector3 & getPositionForViewUpdate(void) const
Get the derived position of this frustum.
vector< HardwareBuffer::Usage >::type BufferUsageList
Define a list of usage flags.
Definition: OgreVertexIndexData.h:46
@ VET_COLOUR_ARGB
D3D style compact colour.
Definition: OgreVertexElements.h:84
Vector3 normal
Definition: OgreLodData.h:117
@ PASS_RESOLVE
Definition: OgreCompositorPassDef.h:55
virtual void setBillboardRotationType(BillboardRotationType rotationType)
Sets billboard rotation type.
Terrain automatic LOD loading.
Definition: OgreTerrainAutoUpdateLod.h:54
void setTextureAtlasTable(const String &textureName, const TextureAtlasTablePtr &atlasData, bool autoBorderAdjust=true)
Set the texture atlas information for a given texture.
void findNodesIn(const Sphere &sphere, list< SceneNode * >::type &list, SceneNode *exclude=0)
Recurses the octree, adding any nodes intersecting with the sphere into the given list.
void _initParticle(Particle *pParticle)
See ParticleEmitter.
void unlock(void)
Releases the lock on this buffer.
@ TEX_TYPE_3D
3D volume texture, used in combination with 3D texture coordinates
Definition: OgreTexture.h:95
bool isPaused(void) const
Returns true if sampling is paused.
FileStreamDataStream(std::fstream *s, bool freeOnClose=true)
Construct a read-write stream from an STL stream.
Definition: OgreX11EGLContext.h:39
void setFresnel(const Vector3 &fresnel, bool separateFresnel)
Sets the fresnel (F0) directly, instead of using the IOR.
CodePoint codePoint
Definition: OgreFont.h:143
void load(bool backgroundThread=false)
Loads the resource, if it is not already.
unsigned char uint8
Definition: OgrePlatform.h:452
uint32 getUnfencedTimeThreshold(void) const
Returns the time in milliseconds in which a StagingBuffer should hazards unfenced while with a refere...
Definition: OgreStagingBuffer.h:296
void yaw(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around the Y-axis.
virtual void _hlmsSamplerblockCreated(HlmsSamplerblock *newBlock)
ConstBufferPacked * getConstBufferForManualProbes(void)
Definition: OgreCubemapProbe.h:195
NODE_LIST_TYPE
Definition: OgrePCZone.h:86
Real getSquaredDepth(const MovableObject *movableObject, const Ogre::Camera *camera) const
static const uint16 SUBCLASS_CHUNK_VERSION
Definition: OgreSimplePageContentCollection.h:71
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, uint32 lastTextureHash)
Fills the constant buffers.
void _setProjectionMatrix(const Matrix4 &m)
See RenderSystem.
float getAvgTime(void) const
Definition: OgreFrameStats.h:72
virtual void _updateSceneGraph(Camera *cam)
Does nothing more.
const AxisAlignedBox & getBoundingBox(void) const
Overridden from MovableObject.
Definition: OgreMovablePlane.h:77
ushort getFragmentProgramConstantIntCount(void) const
The number of integer constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:662
LodOutputProviderMesh(v1::MeshPtr mesh)
Definition: OgreLodOutputProviderMesh.h:44
const MicroCode & getMicroCode(void) const
Controller< Real > * createTextureVScroller(TextureUnitState *layer, Real vSpeed)
Creates a basic time-based texture v coordinate modifier designed for creating scrolling textures.
CSGNegateSource(const Source *src)
Constructor.
String doGet(const void *target) const
virtual const Vector3 & getCommonUpVector(void) const
Gets the common up-vector for all billboards (BBT_PERPENDICULAR_SELF and BBT_PERPENDICULAR_COMMON)
bool isSubdivided(void) const
Gets whether this cell has any children.
Definition: OgreVolumeOctreeNode.h:175
StringVectorPtr listResourceNames(const String &groupName, bool dirs=false)
List all file or directory names in a resource group.
bool isInUse() const
Tells if the entity is in use.
Definition: OgreInstancedEntity.h:276
unsigned int vertexID[3]
ID of the submesh. Usable with mMesh.getSubMesh() function.
Definition: OgreLodData.h:120
bool operator!=(const Degree &d) const
Definition: OgreMath.h:134
virtual void setAdjacencyInfoRequired(bool r)
Sets whether this geometry program requires adjacency information from the input primitives.
Definition: OgreGpuProgram.h:364
static void _populateIndexBuffer(uint16 *pIndexes, uint16 batchSize, uint16 vdatasize, size_t vertexIncrement, uint16 xoffset, uint16 yoffset, uint16 numSkirtRowsCols, uint16 skirtRowColSkip)
Utility method to populate a (locked) index buffer.
static String eventType
Definition: OgreScriptCompiler.h:501
void doSet(void *target, const String &val)
@ BBT_POINT
Standard point billboard (default), always faces the camera completely and is always upright.
Definition: OgreBillboardSet.h:80
bool getUseIdentityView(void) const
Returns whether or not to use an 'identity' view.
Definition: OgreRenderable.h:228
virtual void _restoreManualHardwareResources()
Notifies that hardware resources should be restored.
Definition: OgreOverlayElement.h:206
virtual ~ScriptLexer()
Definition: OgreScriptLexer.h:79
Real lastCFactor
The cFactor value used to calculate transitionDist.
Definition: OgreTerrainQuadTreeNode.h:146
void _renderScene(Camera *cam, Viewport *vp, bool includeOverlays)
Overridden from basic scene manager.
bool isBool() const
Definition: OgreGpuProgramParams.h:262
@ MEMCATEGORY_SCENE_CONTROL
Nodes, control data.
Definition: OgreMemoryAllocatorConfig.h:168
uint16 mNumIterations
Number of iterations.
Definition: OgreCubemapProbe.h:91
virtual void setUseShortestRotationPath(bool useShortestPath)
Sets the method of rotation calculation.
static const IdString OutUvCount
Definition: OgreUnlitProperty.h:126
@ PF_R16_SINT
16-bit pixel format, 16 bits red (signed int).
Definition: OgrePixelFormat.h:192
unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
void _initParticle(Particle *pParticle)
static const IdString UvDetail3
Definition: OgreHlmsPbs.h:372
D3D11Driver * item(const String &name)
bool cas(const T &old, const T &nu)
Definition: OgreAtomicObject.h:75
void doSet(void *target, const String &val)
virtual void processMeshCompleted(Mesh *mesh)=0
Allows to do changes on mesh after it's completely loaded. For example you can generate LOD levels he...
Singleton Class which handles the registering and control of texture plugins.
Definition: OgreExternalTextureSourceManager.h:56
Real deformParams[5]
Definition: OgreQuake3Shader.h:109
@ ID_SET_TEXTURE_ALIAS
Definition: OgreScriptCompiler.h:628
Vector3 getPoint(Real t) const
Gets the position of a point t units along the ray.
Definition: OgreRay.h:66
@ PF_PVRTC_RGBA4
PVRTC (PowerVR) RGBA 4 bpp.
Definition: OgrePixelFormat.h:152
virtual void setProjectionType(ProjectionType pt)
Sets the type of projection to use (orthographic or perspective).
SceneQuery::WorldFragment * worldFragment
The world fragment, or NULL if this is not a fragment result.
Definition: OgreSceneQuery.h:356
@ M_GEOMETRY_COLOURS
Definition: OgreMeshFileFormat.h:367
@ NumVertexPass
Definition: OgreCommon.h:79
virtual void bindBufferVS(uint16 slot)
Binds the constant buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
Definition: OgreNULLConstBufferPacked.h:47
IndexBufferPointer buf
Definition: OgreLodData.h:138
void _deinitialize(bool debugCheckLifoOrder=true)
~MeshSerializerImpl_v1_3()
map< unsigned short, VertexAnimationTrack * >::type VertexTrackList
Definition: OgreAnimation.h:406
const TexturePtr & getCompositeMap() const
Get access to the composite map, if enabled (as requested by the material generator)
Definition: OgreTerrain.h:1098
void execute(SceneQueryListener *listener)
See SceneQuery.
void _checkLightAgainstPortals(PCZLight *, unsigned long, PCZFrustum *, Portal *)
(recursive) check the given light against all portals in the zone
@ SHADOW_NODE_RECALCULATE
Forces recalculation of the shadow node for this pass.
Definition: OgreCompositorPassSceneDef.h:54
void _createInternalResources(NativeWindowType window, AConfiguration *config)
float getWorldRadius() const
Gets the bounding Radius scaled by max( scale.x, scale.y, scale.z ).
size_t offsetAfterPadding
Definition: OgreGLES2VaoManager.h:59
virtual void preExtraThreadsStarted()
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
virtual RenderTexture * getRenderTarget(size_t zoffset)
Get rendertarget for z slice.
const AutoConstantEntry * findAutoConstantEntry(const String ¶mName)
Finds an auto constant that's affecting a given named parameter index.
static UniformParameterPtr createSampler1D(int index)
static ParameterPtr createInTangent(int index)
bool equals(const Quaternion &rhs, const Radian &tolerance) const
Equality with tolerance (tolerance is max angle difference)
void setPreprocessorDefines(const String &defines)
Sets the preprocessor defines use to compile the program.
Definition: OgreD3D11HLSLProgram.h:340
const GpuLogicalBufferStructPtr & getUnsignedIntLogicalBufferStruct() const
Get the current list of mappings from low-level logical param indexes to physical buffer locations in...
Definition: OgreGpuProgramParams.h:1852
uint32 multisampleQuality
Definition: OgreHlmsPso.h:114
GpuLogicalIndexUse()
Definition: OgreGpuProgramParams.h:565
unsigned int getHits()
Definition: OgreVertexIndexData.h:348
Definition: OgreMesh2Serializer.h:202
static Real DegreesToRadians(Real degrees)
Definition: OgreMath.h:493
bool operator==(STLAllocator< T, P > const &, STLAllocator< T2, P > const &)
determine equality, can memory from another allocator be released by this allocator,...
Definition: OgreMemorySTLAllocator.h:184
static const String & getDirectionalLightExtruderVs_glslFiniteDebug(void)
Get FINITE extruder program source for debug directional lights, compatible with glsl.
Definition: OgreShadowVolumeExtrudeProgram.h:318
void installPlugin(Plugin *plugin)
Install a new plugin.
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
void addRenderSystem(RenderSystem *newRend)
Adds a new rendering subsystem to the list of available renderers.
const GpuProgramPtr & getFragmentProgram(void) const
Gets the fragment program used by this pass, only available after _load().
static LodStrategyManager & getSingleton(void)
Override standard Singleton retrieval.
TexturePtr reservePoolId(uint32 uniqueSpecialId, TextureMapType mapType, uint32 width, uint32 height, uint16 numSlices, uint8 numMipmaps, PixelFormat pixelFormat, bool isNormalMap, bool hwGammaCorrection)
Reserves a specific pool ID with the given parameters and immediately creates that texture.
virtual ResourcePtr create(const String &name, const String &group, GpuProgramType gptype, const String &syntaxCode, bool isManual=false, ManualResourceLoader *loader=0)
General create method, using specific create parameters instead of name / value pairs.
Real nY
Y component of the normal.
Definition: OgreVolumeMeshBuilder.h:57
const KeyFrameRigVec & getKeyFrames(void) const
Definition: OgreSkeletonTrack.h:96
vector< ParameterPtr >::type ShaderParameterList
Definition: OgreShaderPrerequisites.h:76
@ GPT_FRAGMENT_PROGRAM
Definition: OgreGpuProgram.h:51
Definition: OgreCompositorPassUavDef.h:54
void exportMesh(const Mesh *pMesh, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the file specified.
#define OGRE_EXCEPT(code, desc, src)
Definition: OgreException.h:293
SmallVector - This is a 'vector' (really, a variable-sized array), optimized for the case when the ar...
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:887
static ParameterPtr GetSamplerWrapperParam(UniformParameterPtr sampler, Function *function)
virtual SceneNode * createSceneNodeImpl(void)
override this to ensure specialised PCZSceneNode is used.
@ ID_POLYGON_MODE
Definition: OgreScriptCompiler.h:693
Real fData
Definition: OgreGpuProgramParams.h:1429
static const Vector3 UNIT_X
Definition: OgreVector3.h:815
void addLayer(Real worldSize=0, const StringVector *textureNames=0)
Add a new layer to this terrain.
virtual void addEntity(Entity *ent, const Vector3 &position, const Quaternion &orientation=Quaternion::IDENTITY, const Vector3 &scale=Vector3::UNIT_SCALE)
Adds an Entity to the static geometry.
void destroyInstance(SceneManager *instance)
Destroy an instance of a SceneManager.
void unlockMultipleElements(ReadRequestsArray &requests)
void unload(uint16 depthStart, uint16 depthEnd)
Unload node and children in a depth range (perform GPU tasks, will be render thread)
Real volume(void) const
Calculate the volume of this box.
uint32 height
Definition: OgreImageCodec.h:61
virtual void createInternalResourcesImpl(void)
void setFogProperties(FogMode fogMode, const ColourValue &fogColour, float fogStart, float fogEnd, float fogDensity)
Set the fog properties this fog sub render state should emulate.
static const IdString HwGammaWrite
Definition: OgreHlmsPbsMobile.h:103
PixelFormat getNativeFormat(TextureType ttype, PixelFormat format, int usage)
Gets the format which will be natively used for a requested format given the constraints of the curre...
virtual void read(AxisAlignedBox *aabb, size_t count=1)
virtual MovableObject * createMovableObject(const String &typeName, ObjectMemoryManager *objectMemMgr, const NameValuePairList *params=0)
Create a movable object of the type specified without a name.
virtual void initConfigOptions()
void _applyObliqueDepthProjection(Matrix4 &matrix, const Plane &plane, bool forGpuProgram)
Update a perspective projection matrix to use 'oblique depth projection'.
const String & getName() const
Get the name of the work queue.
Command object for plane point (see ParamCommand).
Definition: OgreDeflectorPlaneAffector.h:51
ArrayMatrix4(const ArrayMatrix4 ©)
Definition: C/OgreArrayMatrix4.h:75
void setEnabled(bool enabled)
Sets whether this profiler is enabled.
ArrayReal intersects(const ArraySphere &s) const
Returns whether or not this sphere intersects another sphere.
Real getMaxClampedAbsoluteDensity(void) const
Gets the maximum absolute density value to be written into the data when combining,...
virtual void resetClipPlanes()
Clears the user clipping region.
virtual_l1 void setOrientation(Quaternion q)
Sets the orientation of this node via a quaternion.
@ WFT_PWM
Pulse Width Modulation.
Definition: OgreCommon.h:307
ResourceBackgroundQueue()
virtual RenderWindow * _initialise(bool autoCreateWindow, const String &windowTitle="OGRE Render Window")
Start up the renderer using the settings selected (Or the defaults if none have been selected).
virtual void _update(bool updateChildren, bool parentHasChanged)
Internal method to update the OldNode.
Resource holding data about 3D mesh.
Definition: OgreMesh2.h:87
HardwareCounterBufferSharedPtr()
Definition: OgreHardwareCounterBuffer.h:70
Real getSplitPadding() const
Get the padding factor to apply to the near & far distances when matching up splits to one another,...
Definition: OgreShadowCameraSetupPSSM.h:108
void setTessellationHullProgramParameters(GpuProgramParametersSharedPtr params)
Sets the Tessellation Hull program parameters.
Struct containing information about a RenderTarget event.
Definition: OgreRenderTargetListener.h:45
unsigned short getLightCountPerIteration(void) const
If light iteration is enabled, determine the number of lights per iteration.
virtual void concatenateAffineMatrices(const Matrix4 &baseMatrix, const Matrix4 *srcMatrices, Matrix4 *dstMatrices, size_t numMatrices)=0
Concatenate an affine matrix to an array of affine matrices.
Specialisation of DataStream to handle streaming data from zip archives.
Definition: OgreZip.h:167
RadixSort()
Definition: OgreRadixSort.h:237
static uint32 getDefaultVisibilityFlags()
Get the default visibility flags for all future MovableObject instances.
Definition: OgreMovableObject.h:525
const String & getMovableType(void) const
Returns the type name of this object.
@ PBSM_DETAIL3
Definition: OgreHlmsPbsPrerequisites.h:66
@ ACT_PROJECTION_MATRIX
The current projection matrix.
Definition: OgreGpuProgramParams.h:930
DualQuaternion(Real *valptr)
Construct a dual quaternion from 8 manual w/x/y/z/dw/dx/dy/dz values.
Definition: OgreDualQuaternion.h:76
vector< CompositorPassDef * >::type CompositorPassDefVec
Definition: OgreCompositorPassDef.h:187
bool has_value() const
Definition: OgreAny.h:107
AnimableValue(ValueType t)
Definition: OgreAnimable.h:138
void setWorldGeometry(DataStreamPtr &stream, const String &typeName=BLANKSTRING)
Specialised from SceneManager to support Quake3 bsp files.
virtual void enableReflection(const Plane &p)
Modifies this frustum so it always renders from the reflection of itself through the plane specified.
When thrown, provides information about an error that has occurred inside the engine.
Definition: OgreException.h:92
@ SOP_INVERT
Invert the bits of the stencil buffer.
Definition: OgreCommon.h:126
virtual ~SharedPtrInfoDeleteT()
Definition: OgreSharedPtr.h:89
void scale(const Vector3 &s)
Scales the AABB by the vector given.
Definition: OgreAxisAlignedBox.h:649
bool mDeleteDclBinding
Whether this class should delete the declaration and binding.
Definition: OgreVertexIndexData.h:87
Vector4 getTextureSize(size_t index) const
void _setCompositorTarget(const CompositorTexture &compoTarget)
The compositor we are currently writing to.
void setZoneData(PCZone *zone, ZoneData *zoneData)
virtual void preCommandBufferExecution(CommandBuffer *commandBuffer)
This gets called right before executing the command buffer.
FileInfoListPtr listFileInfo(bool recursive=true, bool dirs=false)
List all files in the archive with accompanying information.
String skeletonName
Definition: OgreSkeleton.h:468
float dist
Definition: OgreQuake3Types.h:150
NameValuePairList miscParams
Definition: OgreCommon.h:935
virtual void prepareResource(Resource *resource)
Called when a resource wishes to load.
Definition: OgreResource.h:526
virtual ~OITDCodec()
Definition: OgreOITDCodec.h:70
CameraIterator getCameraIterator(void)
Returns a specialised MapIterator over all cameras in the scene.
Definition: OgreSceneManager.h:2690
virtual void _positionsOutOfDate(void)
Tell the object to recalculate.
static const IdString BlendModeIndex0
Definition: OgreHlmsPbsMobile.h:156
virtual const String & getType()
Get the type name of this section.
std::ptrdiff_t difference_type
Definition: OgreMemorySTLAllocator.h:92
virtual unsigned short _getActiveSchemeIndex(void) const
Internal method - returns the active scheme index.
static UINT getResourceCreationDeviceCount()
EGLBoolean getGLConfigAttrib(EGLConfig fbConfig, EGLint attribute, EGLint *value)
static const uint32 CHUNK_CONTENTCOLLECTION_DECLARATION_ID
Definition: OgrePage.h:101
LightTypes getType(void) const
Returns the light type.
Definition: OgreLight.h:121
virtual size_t getMaxLookupTableInstances() const
Definition: OgreInstanceBatchVTF.h:201
FileStreamDataStream(const String &name, std::ifstream *s, size_t size, bool freeOnClose=true)
Construct named read-only stream from an STL stream, and tell it the size.
virtual bool removeRenderWindow(const String &renderWindowName)
const String & getName(void) const
Return the instance name of this SceneManager.
Definition: OgreSceneManager.h:1110
void ToAxes(Vector3 &xAxis, Vector3 &yAxis, Vector3 &zAxis) const
void removeTechnique(unsigned short index)
Removes the technique at the given index.
virtual ~D3D9StereoDriverBridge()
void fromQuaternion(const ArrayQuaternion &q)
Converts the given quaternion to a 3x3 matrix representation and fill our values.
void dirtyLightmapRect(const Rect &rect)
Mark a region of the lightmap as dirty.
ShadowMapTechniques
Definition: OgreCompositorShadowNodeDef.h:48
void migrateToAndAttach(Transform &inOutTransform, size_t depth, NodeMemoryManager *dstNodeMemoryManager)
It's the same as calling: this->nodeAttached( transform, depth ); this->migrateTo( transform,...
void destroyVertexBuffers(VertexBufferPackedVec &inOutVertexBuffers)
Destroys all the buffers returned from a call to createVertexBuffers.
@ ID_POINT_SPRITES
Definition: OgreScriptCompiler.h:716
virtual void detachDepthBuffer()
Terrain(SceneManager *sm)
Constructor.
virtual void saveTextures(const String &folderPath, set< String >::type &savedTextures, bool saveOitd, bool saveOriginal, HlmsTextureExportListener *listener)
Entity * clone(void) const
Clones this entity and returns a pointer to the clone.
ManualObject(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
@ ID_RESOLVE
Definition: OgreScriptCompiler.h:836
virtual ~GLES2DefaultHardwareVertexBuffer()
Real worldSize
The world size of the texture to be applied in this layer.
Definition: OgreTerrain.h:304
virtual ~HLSLProgramProcessor()
Class destructor.
virtual void getMetrics(unsigned int &width, unsigned int &height, unsigned int &colourDepth)
Retrieve information about the render target.
SceneNode * _getRootSceneNode() const
Get the root scene node for the terrain (internal use only)
void removePass(unsigned short index)
Removes the Pass with the given index.
@ PFF_HASALPHA
This format has an alpha channel.
Definition: OgrePixelFormat.h:371
void swapBuffers()
Swaps the frame buffers to display the next frame.
VertexElementType
Vertex element type, used to identify the base types of the vertex contents Note that all attributes ...
Definition: OgreVertexElements.h:71
virtual void enableCustomNearClipPlane(const Plane &plane)
Links the frustum to a custom near clip plane, which can be used to clip geometry in a custom manner ...
virtual bool frameEnded(const FrameEvent &evt)
Called just after a frame has been rendered.
Definition: OgreFrameListener.h:127
void setBlendblock(const HlmsBlendblock &blendblock)
Sets the blendblock every pass has with the existing contents of the scene.
Class for providing backwards-compatibility for loading version 1.8 of the .mesh format.
Definition: OgreMeshSerializerImpl.h:215
virtual void setFsaaResolveDirty(void)
Null buffers never resolve; only colour buffers do.
Definition: OgreMetalNullTexture.h:114
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
FrameBufferType
Defines the frame buffer types.
Definition: OgreCommon.h:341
void doSet(void *target, const String &val)
DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
uint32 sampleMask
Definition: OgreHlmsPso.h:186
virtual ~CompositorPassDef()
Definition: OgreCompositorPassDef.h:180
InstanceManagerFlags
Flags for the Instance Manager when calculating ideal number of instances per batch.
Definition: OgreCommon.h:374
@ CMPF_GREATER
Definition: OgreCommon.h:104
void split(const OctreeNodeSplitPolicy *splitPolicy, const Source *src, const Real geometricError)
Splits this cell if the split policy says so.
uint32 getNumBlocksZ(void) const
Definition: OgreIrradianceVolume.h:122
virtual void execute(RaySceneQueryListener *listener)
See RayScenQuery.
SharedPtr< ScriptToken > ScriptTokenPtr
Definition: OgreScriptLexer.h:71
virtual void useCustomRenderSystemCapabilities(RenderSystemCapabilities *capabilities)
Force the render system to use the special capabilities.
@ MEMCATEGORY_SCRIPTING
Scripting.
Definition: OgreMemoryAllocatorConfig.h:174
bool get32BitIndices() const
Get whether we need 32-bit indices.
Definition: OgreManualObject.h:441
@ ACT_SHADOW_SCENE_DEPTH_RANGE
Provides information about the depth range of the scene as viewed from a given shadow camera.
Definition: OgreGpuProgramParams.h:1301
uint32 getNumSlices(void) const
Definition: OgreForwardClustered.h:125
size_t mInstancesWritten
Definition: OgreInstanceBatchHW_VTF.h:128
Implementation of CompositorPass This implementation will Mipmap the texture used by this RenderTarge...
Definition: OgreCompositorPassMipmap.h:54
MapRange(T &c)
Constructor.
Definition: OgreIteratorRange.h:252
bool operator==(IdString idString) const
Definition: OgreIdString.h:236
static const IdString UvAtlas
Definition: OgreHlmsPbsMobile.h:115
ushort getGeometryProgramConstantBoolCount(void) const
The number of boolean constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:652
virtual void _setTextureCS(uint32 slot, bool enabled, Texture *texPtr)
Binds a regular texture to a Compute Shader.
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
virtual void savingChangeTextureName(String &inOutTexName)
Gives you a chance to completely change the name of the texture when saving a material.
Definition: OgreHlmsJson.h:66
SkeletonAnimation(const SkeletonAnimationDef *definition, const FastArray< size_t > *slotStarts, SkeletonInstance *owner)
void setColourOpMultipassFallback(const SceneBlendFactor sourceFactor, const SceneBlendFactor destFactor)
Sets the multipass fallback operation for this layer, if you used TextureUnitState::setColourOperatio...
virtual void getShadowCamera(const SceneManager *sm, const Camera *cam, const Light *light, Camera *texCam, size_t iteration, const Vector2 &viewportRealSize) const
Returns a uniform shadow camera with a focused view.
void removeCustomParameter(size_t index)
Removes a custom value which is associated with this Renderable at the given index.
Definition: OgreRenderable.h:268
WireBoundingBox * getWireBoundingBox()
Creates the wire frame bounding box for this octant.
@ M_GEOMETRY_VERTEX_BUFFER
Definition: OgreMeshFileFormat.h:221
void _setSubMeshLodFaceList(unsigned short subIdx, unsigned short level, IndexData *facedata, bool casterPass)
Internal methods for loading LOD, do not use.
void bind(void)
Bind a VAO.
virtual void bindBufferVS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a multi render target.
@ RSC_USER_CLIP_PLANES
Supports user clipping planes.
Definition: OgreRenderSystemCapabilities.h:109
virtual void _autogenerateMipmaps(void)
Tells the API to let the HW autogenerate mipmaps.
Definition: OgreD3D11DepthTexture.h:70
uint32 code
Definition: OgreScriptCompiler.h:199
virtual void destroyItem(Item *item)
Removes & destroys an Item from the SceneManager.
virtual void _setProjectionMatrix(const Matrix4 &m)
Sets the projection transform matrix.
void setMaximumResolutions(ushort res2d, ushort res3d, ushort resCube)
Maximum resolution (width or height)
Definition: OgreRenderSystemCapabilities.h:730
@ ID_BLEND_MANUAL
Definition: OgreScriptCompiler.h:766
size_t getFloatLogicalIndexForPhysicalIndex(size_t physicalIndex)
Retrieves the logical index relating to a physical index in the float buffer, for programs which supp...
bool isAutomatic
Definition: OgreShaderParams.h:80
~ChunkTreeSharedData(void)
Destructor.
Definition: OgreVolumeChunk.h:132
static Root * getSingletonPtr(void)
Override standard Singleton retrieval.
ResourceLoadingListener * getLoadingListener()
Returns the current loading listener.
Specialisation of HardwareCounterBuffer for emulation.
Definition: OgreDefaultHardwareBufferManager.h:127
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
virtual void setUseShortestRotationPath(bool useShortestPath)
Sets the method of rotation calculation.
void bind()
Bind FrameBufferObject.
T & operator[](size_t idx)
Definition: OgreFastArray.h:330
void swapBuffers()
Swaps the frame buffers to display the next frame.
void addKeyFrame(Real timestamp, Real frameRate)
int skyDomeXSegments
Definition: OgreSceneManager.h:309
virtual Real getBaseValue() const
Get the value of the first (highest) level of detail.
void endBillboards(void)
Finish defining billboards.
APKZipArchiveFactory(AAssetManager *assetMgr)
Definition: OgreAPKZipArchive.h:43
Vector2 reflect(const Vector2 &normal) const
Calculates a reflection vector to the plane with the given normal .
Definition: OgreVector2.h:540
Definition: OgreScriptTranslator.h:261
virtual void postRender(SceneManager *sm, RenderSystem *rsys)
Called immediately after the Renderable has been rendered.
Definition: OgreRenderable.h:119
virtual void scale(Real x, Real y, Real z)
Scales the OldNode, combining it's current scale with the passed in scaling factor.
unsigned short getHandle(void) const
Gets the numeric handle for this bone (unique within the skeleton).
void lock(HardwareBuffer *p, size_t offset, size_t length, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:392
~AnimationStateControllerValue()
Destructor (parent already virtual)
Definition: OgreAnimationState.h:284
Plugin instance for Octree Manager.
Definition: OgreOctreePlugin.h:39
virtual const PixelFormatToShaderType * getPixelFormatToShaderType(void) const
uint32 mrtIndex
Index in case of MRT. Ignored if textureSource isn't mrt.
Definition: OgreCompositorPassComputeDef.h:60
SceneNode * createSceneNodeImpl(const String &name)
Creates a specialized BspSceneNode.
const String & getTextureNameAlias(void) const
Gets the Texture Name Alias of the Texture Unit.
Definition: OgreTextureUnitState.h:1031
virtual void notifyRenderSingleObject(Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList, bool suppressRenderStateChanges)=0
Event raised when render single object started.
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera, list< Particle * >::type ¤tParticles, bool cullIndividually, RenderableArray &outRenderables)=0
Delegated to by ParticleSystem::_updateRenderQueue.
ArrayRay(const ArrayVector3 &origin, const ArrayVector3 &direction)
Definition: OgreArrayRay.h:43
bool canHandleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
virtual_l1 void _detachBone(SkeletonInstance *skeletonInstance, Bone *bone)
Detaches a bone from this SceneNode.
static const Vector2 ZERO
Definition: OgreVector2.h:584
virtual ~InstanceBatchHW_VTF()
uint8 mLastRq
Definition: OgreSceneQuery.h:124
IndexType getIndexType(void) const
Definition: OgreIndexBufferPacked.h:56
ImageDownsamplerCube downscale2x_sRGB_XX88_cube
Definition: OgreImageDownsampler.h:195
A class that represents a function operand (its the combination of a parameter the in/out semantic an...
Definition: OgreShaderFunctionAtom.h:79
@ RSC_PERSTAGECONSTANT
Is DirectX feature "per stage constants" supported.
Definition: OgreRenderSystemCapabilities.h:217
MapIterator< OverlayMap > OverlayMapIterator
Definition: OgreOverlayManager.h:135
void setBoundsPaddingFactor(Real paddingFactor)
Sets the factor by which the bounding box of an entity is padded.
virtual void _hlmsComputePipelineStateObjectDestroyed(HlmsComputePso *newPso)
virtual VertexElementType getColourVertexElementType(void) const =0
Get the native VertexElementType for a compact 32-bit colour value for this rendersystem.
Specialisation of VertexDeclaration for D3D9.
Definition: OgreD3D9VertexDeclaration.h:39
void createPasses(void)
Creates all passes based on our definition.
void _destroyOldNodeTracks(const TrackHandleList &tracks)
Internal method for destroy given node tracks.
bool requiresTextureFlipping() const
Definition: OgreD3D11RenderWindow.h:70
const ColourValue & getFogColour(void) const
virtual void _notifyAttached(PageContentCollection *parent)
Internal method to notify a page that it is attached.
Animation * clone(const String &newName) const
Clone this animation.
OctreeNodeSplitPolicy(const Source *src, const Real maxCellSize)
Constructur.
ImageDownsampler2D downscale2x_XA88
Definition: OgreImageDownsampler.h:62
size_t getNumOutputChannels(void) const
Returns the number of output channels.
Definition: OgreCompositorNodeDef.h:173
@ RADIAN
Definition: OgreAnimable.h:85
@ All
Full write barrier.
Definition: OgreResourceTransition.h:76
HardwareBufferManagerBase * getManager() const
Return the manager of this buffer, if any.
Definition: OgreHardwareCounterBuffer.h:60
FailBehavior(* Handler)(const char *condition, const char *msg, const char *file, int line)
Definition: OgreAssert.h:49
const String & getName()
Get the name of this shared parameter set.
Definition: OgreGpuProgramParams.h:662
Real phase
Definition: OgreTextureUnitState.h:141
const Vector3 * _getCachedWorldSpaceCorners(void) const
Definition: OgreFrustum.h:472
Particle emitter which emits particles from a single point.
Definition: OgrePointEmitter.h:45
Vector3 getSpecular(void) const
MapIterator< ZoneMap > ZoneIterator
ZoneMap iterator for read-only access to the zonemap.
Definition: OgrePCZSceneManager.h:317
GLXFBConfig getFBConfigFromVisualID(VisualID visualid)
Gets a GLXFBConfig compatible with a VisualID.
void connectBufferTo(size_t outChannelA, CompositorNode *nodeB, size_t inChannelB)
Connects this node (let's call it node 'A') to node 'B', mapping the output channel from A into the i...
bool getKeepDeclarationOrder() const
Gets whether or not the declaration order is to be kept or not.
Definition: OgreManualObject.h:401
void unbindSurface(size_t attachment)
Unbind attachment.
void _markBuffersUnusedForAnimation(void)
Mark all vertex data as so far unanimated.
TexCoordModifierControllerValue(TextureUnitState *t, bool translateU=false, bool translateV=false, bool scaleU=false, bool scaleV=false, bool rotate=false)
Constructor.
Injects the output of a request to the mesh in a thread safe way.
Definition: OgreLodWorkQueueInjector.h:45
const Real * ptr() const
Pointer accessor for direct copying.
Definition: OgreVector4.h:139
bool autoBorderAdjust
Definition: OgreShaderExTextureAtlasSampler.h:230
void define(const AxisAlignedBox &aab)
Build a new polygon representation from an AAB.
bool isRenderedRq(size_t rqId) const
Returns true if the asked render queue has been rendered. False otherwise.
Definition: OgreCamera.h:704
void * getProcAddress(const char *procname) const
Get the address of a function.
StencilStateOp stencilFront
Definition: OgreCommon.h:175
static void setDefaultStringLocale(const String &loc)
Definition: OgreStringConverter.h:288
LodOutputProviderPtr output
Definition: OgreLodWorkQueueRequest.h:47
XRRScreenConfiguration * XRRGetScreenInfo(Display *nativeDisplayType, Window window)
void advanceFrustumPack()
Advances all pointers needed by MovableObject::cullFrustum to the next pack, i.e.
Definition: OgreObjectData.h:194
virtual void _bindTextureUavCS(uint32 slot, Texture *texture, ResourceAccess::ResourceAccess access, int32 mipmapLevel, int32 textureArrayIndex, PixelFormat pixelFormat)
Binds an UAV texture to a Compute Shader.
static bool isUseLocale()
Definition: OgreStringConverter.h:298
static ArrayInt CmovRobust(ArrayInt arg1, ArrayInt arg2, ArrayMaskI mask)
Definition: OgreMathlibC.h:138
void bindGpuProgram(GpuProgram *prg)
See RenderSystem.
String doGet(const void *target) const
Radian(Real r=0)
Definition: OgreMath.h:54
bool getKeepVelocity(void) const
Gets flag which detemines whether particle speed is changed.
virtual Animation * getAnimation(const String &name) const
Returns the named Animation object.
void setInitialized()
Definition: OgreGLES2Context.h:59
@ CE_INVALIDPARAMETERS
Definition: OgreScriptCompiler.h:213
void addRenderable(const TrackedRenderable &trackedRenderable)
Once you add a Renderable, we will automatically update its PBS material to use reflection if it's cl...
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
String mProfilingId
Definition: OgreCompositorPassDef.h:161
uint32 getDefaultStagingBufferLifetime(void) const
Definition: OgreVaoManager.h:426
PagedWorldSection * createSection(SceneManager *sceneMgr, const String &typeName, const String §ionName=BLANKSTRING)
Create a new section of the world based on a specialised type.
Radian & operator/=(Real f)
Definition: OgreMath.h:78
@ PROP_LONG
Definition: OgreProperty.h:111
@ BB_FLAG_TEX
Definition: OgreBufferPacked.h:98
Specialised KeyFrame which stores any numeric value.
Definition: OgreKeyFrame.h:83
@ PCT_FLOAT16
Short per component (16 bit fixed 0.0..1.0))
Definition: OgrePixelFormat.h:396
Definition: OgreGL3PlusHardwareIndexBuffer.h:38
void mergeAdjacentTexcoords(unsigned short finalTexCoordSet, unsigned short texCoordSetToDestroy)
This method collapses two texcoords into one for all submeshes where this is possible.
void doSet(void *target, const String &val)
void SingularValueDecomposition(Matrix3 &rkL, Vector3 &rkS, Matrix3 &rkR) const
Singular value decomposition.
void setUseIdentityProjection(bool useIdentityProjection)
Sets whether or not to use an 'identity' projection.
unsigned long long int getNext() const
Get the internal counter.
Definition: OgreNameGenerator.h:92
void ToAngleAxis(Vector3 &rkAxis, Degree &rfAngle) const
Definition: OgreMatrix3.h:203
bool intersects(const AxisAlignedBox &aab)
Check if portal intersects an aab.
LODFaceList mLodFaceList[NumVertexPass]
Definition: OgreSubMesh.h:119
virtual bool addFunctionInvocations(ProgramSet *programSet)=0
static const IdString LightsAreaTexColour
Definition: OgreHlms.h:809
friend std::ostream & operator<<(std::ostream &o, BspNode &n)
~D3D9HardwarePixelBuffer()
const Real * ptr() const
Pointer accessor for direct copying.
Definition: OgreVector2.h:119
size_t calculateSize(void) const
Calculate the expected size of the shared parameter buffer based on constant definition data types.
NameGenerator(const NameGenerator &rhs)
Definition: OgreNameGenerator.h:63
virtual bool hasCompileError(void) const
Did this program encounter a compile error when loading?
Definition: OgreGpuProgram.h:427
void setSource(const String &source)
Sets the source of the font.
virtual void clear(void)
Completely clear the contents of the object.
void setAddressingMode(TextureAddressingMode addressingMode)
virtual ~RenderSystemCapabilitiesSerializer()
default destructor
Definition: OgreRenderSystemCapabilitiesSerializer.h:53
void _setSharesSetupWithIdx(size_t idx)
Definition: OgreCompositorShadowNodeDef.h:95
vector< ShadowParam >::type ShadowParamVec
Definition: OgreCompositorShadowNode.h:377
void _setCompositeMapRequired(bool compositeMap)
Request internal implementation options for the terrain material to use, in this case a terrain-wide ...
@ SHADER_TRANSPARENT
Definition: OgreQuake3Types.h:87
uint32 id
Definition: OgreScriptCompiler.h:113
void destroyAllActors(void)
void doSet(void *target, const String &val)
static const IdString BlendModeIdx0
Definition: OgreHlmsUnlitMobile.h:125
static const IdString HwGammaRead
Definition: OgreHlmsPbsMobile.h:102
bool isResourceGroupLoaded(const String &name)
Checks the status of a resource group.
size_t vertexCount
The number of vertices used in this operation.
Definition: OgreVertexIndexData.h:91
void setLinked(GLint flag)
Set the shader link status.
Definition: OgreGLSLShader.h:204
void set_size(unsigned N)
set_size - Set the array size to
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:765
@ SPC_NORMAL_WORLD_SPACE
Normal in world space.
Definition: OgreShaderParameter.h:106
const GpuProgramPtr & getProgram() const
Gets the program being used.
Definition: OgreGpuProgramUsage.h:122
#define _OgreD3D9Export
Definition: OgreD3D9Prerequisites.h:122
void notifyResourceCreated(D3D11DeviceResource *deviceResource)
static CommandBufferExecuteFunc execute_setTextureBufferGS
Definition: OgreCommandBuffer.h:83
GuiHorizontalAlignment
Enum describing where '0' is in relation to the parent in the horizontal dimension.
Definition: OgreOverlayElement.h:71
const GpuProgramPtr & getTessellationDomainProgram(void) const
Gets the Tessellation Domain program used by this pass, only available after _load().
void _destroyAffector(ParticleAffector *affector)
Internal method for destroying an affector.
static const String CustomAttributeString_TARGET
Definition: OgreGL3PlusRenderTexture.h:63
virtual void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
Emulates the execution of a UAV to understand memory dependencies, and adds a memory barrier / resour...
static void mergeContiguousBlocks(BlockVec::iterator blockToMerge, BlockVec &blocks)
vector< char >::type TriangleLightFacingList
Working vector used when calculating the silhouette.
Definition: OgreEdgeListBuilder.h:97
const float & min(const float &a, const float &b)
Definition: OgreCommon.h:1011
PixelCountLodStrategyBase(const String &name)
Default constructor.
@ CB_DRAW_V1_STRIP_NO_BASE_INSTANCE
Definition: OgreCbCommon.h:67
virtual Real getMinimumDepthInputValue(void)=0
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
unsigned int getVSyncInterval() const
Returns the vertical sync interval.
size_t getOffsetFromChunkStart() const
Get the current byte position relative to the start of the data section of the last chunk that was re...
@ ID_END_BUILTIN_IDS
Definition: OgreScriptCompiler.h:987
virtual bool isEmitted(void) const
Return true if the emitter is emitted by another emitter.
virtual const String & getFile() const
Gets source file name.
Definition: OgreException.h:162
Vector4 getTime_0_2Pi_packed(Real x) const
virtual ~MeshBuilderCallback()
Definition: OgreVolumeMeshBuilder.h:110
static TextureManager & getSingleton(void)
Override standard Singleton retrieval.
void setDiffuse(Real red, Real green, Real blue, Real alpha)
Sets the diffuse colour reflectance properties of every Pass in every Technique.
Image(const Image &img)
Copy-constructor - copies all the data from the target image.
Class implementing dispatch methods in order to construct by-value exceptions of a derived type based...
Definition: OgreException.h:261
void setDirection(const Vector3 &dir)
Sets the direction of the ray.
Definition: OgreRay.h:61
void enableSky(bool)
Enable/disable sky rendering.
GpuProgramType getType(void) const
Gets the type of program we're trying to link to.
Definition: OgreGpuProgramUsage.h:101
D3D9HLSLProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
@ PF_BC7_UNORM
DDS (DirectDraw Surface) BC7 format (unsigned normalised)
Definition: OgrePixelFormat.h:222
StrideChanger()
Definition: OgreNULLVaoManager.h:62
Matrix4 inverseAffine(void) const
Returns the inverse of the affine matrix.
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
@ ID_EXCLUDE
Definition: OgreScriptCompiler.h:643
void initialise(void)
Initialise gui element.
@ HLMS_UNLIT
Toon shading / Cel shading.
Definition: OgreHlmsCommon.h:170
bool eof(void) const
Returns true if the stream has reached the end.
virtual const String & getMovableType(void) const
Overridden from MovableObject.
void createProxyItems(void)
Creates the Proxy Items.
Bridge interface from the render system to the stereo driver.
Definition: OgreD3D9StereoDriverBridge.h:45
void fillConstBufferData(RenderTarget *renderTarget, Camera *camera, const Matrix4 &projectionMatrix, float *RESTRICT_ALIAS passBufferPtr) const
Fills 'passBufferPtr' with the necessary data for PlanarReflections.
@ ShadowUpperDistance
Definition: OgreArrayMemoryManager.h:373
static String toString(long val, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts a long to a String.
static TextureAtlasSamplerFactory & getSingleton(void)
RibbonTrailFactory()
Definition: OgreRibbonTrail.h:234
MultiheadUseType getMultiheadUse() const
Returns how multihead should be activated.
Definition: OgreD3D9RenderSystem.h:408
void unload()
Unload the library.
Definition: OgreSceneFormatImporter.h:38
GL3PlusDefaultHardwareBufferManagerBase()
void setPreprocessorDefines(const String &defines)
Sets the preprocessor defines use to compile the program.
Definition: OgreD3D9HLSLProgram.h:184
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
virtual void setFsaaResolved()
Definition: OgreRenderTarget.h:184
virtual void unprepareImpl(void)
@ FBT_STENCIL
Definition: OgreCommon.h:344
bool hasKeyIndex(void) const
Definition: OgreAnimationTrack.h:90
Source * src
The volume source.
Definition: OgreVolumeChunk.h:56
void setFreezeDebugFrustum(bool freezeDebugFrustum)
virtual void notifyDestroyed(const UavBufferPacked *buffer)
void assign(unsigned NumElts, const T &Elt)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:576
Program * getCpuFragmentProgram()
Get the fragment shader CPU program.
@ SPC_POSTOLIGHT_TANGENT_SPACE3
Definition: OgreShaderParameter.h:160
virtual void renderQueueEnded(uint8 queueGroupId, const String &invocation, bool &repeatThisInvocation)
Event raised after a queue group is rendered.
Definition: OgreRenderQueueListener.h:89
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
uint32 getFrameCount(void)
Definition: OgreVaoManager.h:375
virtual void write(const Vector4 *vec, size_t count=1)
@ GCT_DOUBLE4
Definition: OgreGpuProgramParams.h:97
void _setPoolId(uint16 poolId)
Sets the pool id in which this DepthBuffer lives.
@ AmbientHemisphere
Force hemisphere ambient light.
Definition: OgreHlmsPbs.h:96
void loadMaterials(const String &filename, const String &resourceGroup, const char *jsonString, const String &additionalTextureExtension)
Loads all Hlms datablocks from a JSON formatted string.
static const uint16 VOLUME_CHUNK_VERSION
The version of volume files.
Definition: OgreVolumeSource.h:71
static PropertyType getTypeForValue(const unsigned long &val)
Definition: OgreProperty.h:161
static String getFileExtFromMagic(DataStreamPtr stream)
Static function to get an image type string from a stream via magic numbers.
static Real DegreesToAngleUnits(Real degrees)
Convert from degrees to the current AngleUnit.
GpuConstantDefinitionIterator getConstantDefinitionIterator(void) const
Gets an iterator over the named GpuConstantDefinition instances as defined by the program for which t...
const DXGI_ADAPTER_DESC1 & getAdapterIdentifier() const
Parameter(GpuConstantType type, const String &name, const Semantic &semantic, int index, const Content &content, size_t size=0)
Class constructor.
vector< ThreadHandlePtr >::type ThreadHandleVec
Definition: OgreThreads.h:121
virtual void updateUniforms(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)=0
Updates program object uniforms using data from GpuProgramParameters.
ShadowMapTechniques shadowMapTechnique
Definition: OgreCompositorShadowNodeDef.h:67
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
const StringVector & getProfiles(void) const
Gets the Cg profiles which can be supported by the program.
Definition: OgreGLSLESCgProgram.h:76
int customNum
Definition: OgreShaderExLayeredBlending.h:102
virtual void close(void)=0
Close the stream; this makes further operations invalid.
Definition: OgreD3D11VaoManager.h:55
Factory class for ColourFaderAffector.
Definition: OgreColourFaderAffectorFactory.h:39
virtual const Ogre::String & getType() const
virtual void resetToInitialState(void)
Resets the position / orientation / scale of this OldNode to it's initial state, see setInitialState ...
virtual void getRenderOperation(RenderOperation &op)
Get the render operation for this buffer.
void grow(size_t MinSize=0)
grow - double the size of the allocated memory, guaranteeing space for at least one more element or M...
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:437
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Overridden from MovableObject.
float getRoughness(void) const
virtual bool getVolumeVisible(void) const
Gets whether the volume mesh is visible.
const String & getType(void) const
Returns the factory type.
void writeContentsToFile(const String &filename, PixelFormat format=PF_UNKNOWN)
Writes the current contents of the render target to the named file.
PixelBox()
Parameter constructor for setting the members manually.
Definition: OgrePixelBox.h:47
@ OT_PATCH_27_CONTROL_POINT
Definition: OgreHlmsPso.h:86
void doSet(void *target, const String &val)
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
void blitFromTexture(GLES2TextureBuffer *src, const Box &srcBox, const Box &dstBox)
bool mCameraCubemapReorient
When true, the camera will be rotated 90°, -90° or 180° depending on the value of mRtIndex and then r...
Definition: OgreCompositorPassQuadDef.h:101
@ OGREPROF_ALL
All in-built Ogre profiling will match this mask.
Definition: OgreProfiler.h:207
Abstract definition of a 2D element to be displayed in an Overlay.
Definition: OgreOverlayElement.h:108
void _update(void)
Called once per frame, regardless of how many active workspaces there are.
StageFlags
Definition: OgreShaderFFPColour.h:53
void unsetCapability(const Capabilities c)
Remove a capability flag.
Definition: OgreRenderSystemCapabilities.h:572
bool HasAutoMipMapGenerationEnabled() const
Definition: OgreD3D11Texture.h:87
uint16 getLODLevelWhenVertexEliminated(long x, long y) const
Utility method, get the first LOD Level at which this vertex is no longer included.
void _setSamplerblock(const HlmsSamplerblock *samplerblock)
Changes the current samplerblock for a new one.
void arrangeEfficient(bool halfPos, bool halfTexCoords, bool qTangents)
Converts this SubMesh to an efficient arrangement.
virtual ~GLES2TexBufferEmulatedPacked()
Vector3 getAsVector3(size_t index) const
Prefer using.
Definition: C/OgreArrayVector3.h:88
void adjustWindow(unsigned int clientWidth, unsigned int clientHeight, unsigned int *winWidth, unsigned int *winHeight)
const Vector3 getCenterRight(void) const
Gets the center of the corners 1, 2, 5, 6.
Definition: OgreVolumeOctreeNode.h:319
String basename
Base filename.
Definition: OgreArchive.h:60
@ ID_CONNECT
Definition: OgreScriptCompiler.h:814
@ FO_NONE
No filtering, used for FT_MIP to turn off mipmapping.
Definition: OgreCommon.h:238
Quaternion orientation
Definition: OgreStaticGeometry.h:179
ScreenRatioPixelCountLodStrategy()
Default constructor.
String magicNumberToFileExt(const char *magicNumberPtr, size_t maxbytes) const
Maps a magic number header to a file extension, if this codec recognises it.
bool hasSky(void)
Definition: OgrePCZone.h:110
bool supportsArbBufferStorage(void) const
Definition: OgreGLES2VaoManager.h:254
virtual size_t calculateSize(void) const
Calculate the size of a resource; this will only be called after 'load'.
void _updateDirtyBatches(void)
Called by SceneManager every frame.
String name
Definition: OgreSkeletonDef.h:52
size_t getSliceSkipAlwaysBytes() const
static const IdString BlendModeIndex15
Definition: OgreUnlitProperty.h:124
static CommandBufferExecuteFunc execute_setTextureBufferCS
Definition: OgreCommandBuffer.h:86
void setShadowRenderingDistance(Real dist)
Sets the distance at which the object is no longer casting shadows.
void setParentNode(Node *parentNode)
Sets our parent node so that our bones are in World space.
virtual void execute(RaySceneQueryListener *listener)=0
Executes the query and returns each match through a listener interface.
virtual const ColourValue & getInitialColour(size_t chainIndex) const
Get the starting ribbon colour.
static const IdString UvAtlas5
Definition: OgreHlmsUnlitMobile.h:148
StencilOperation
Enum describing the various actions which can be taken on the stencil buffer.
Definition: OgreCommon.h:110
const String & getName(void) const
Returns the name of the node.
Definition: OgreBone.h:139
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
@ MEMCATEGORY_SCENE_OBJECTS
Scene object instances.
Definition: OgreMemoryAllocatorConfig.h:170
bool hasShadowBuffer(void) const
Returns whether this buffer has a system memory shadow for quicker reading.
Definition: OgreHardwareBuffer.h:338
virtual bool unloadProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to unload page content procedurally.
Definition: OgrePageManager.h:84
size_t find(const char *val, size_t pos=0) const
Definition: OgreLwConstString.h:108
String doGet(const void *target) const
void resetDimensions(void)
Resets this Billboard to use the parent BillboardSet's dimensions instead of it's own.
Definition: OgreBillboard.h:144
unsigned short getNumVertexTracks(void) const
Gets the number of VertexAnimationTrack objects contained in this animation.
void dirtyRect(const Rect &rect)
Mark a region of the terrain as dirty.
Definition: OgrePrerequisites.h:707
Manager for LOD strategies.
Definition: OgreLodStrategyManager.h:47
#define OgreAssert(a, b)
Definition: OgreException.h:61
void getPointTransform(Matrix4 *outXform) const
Get a transform which converts Vector4(xindex, yindex, height, 1) into an object-space position inclu...
Predefined type.
Definition: OgreIteratorRange.h:247
const void * _getMemoryBlock(void) const
@ BlinnPhongSeparateDiffuseFresnel
Like DefaultSeparateDiffuseFresnel, but uses BlinnPhong as base.
Definition: OgreHlmsPbsDatablock.h:141
int getHighestLodPrepared()
Definition: OgreTerrainLodManager.h:116
@ SPC_TEXTURE_COORDINATE3
Definition: OgreShaderParameter.h:291
ParticleEmitter * createEmitter(ParticleSystem *psys)
See ParticleEmitterFactory.
Definition: OgreRingEmitterFactory.h:55
virtual ~PageContentFactory()
Definition: OgrePageContentFactory.h:54
Class that encapsulates an GL context.
Definition: OgreGL3PlusContext.h:42
bool projectSphere(const Sphere &sphere, Real *left, Real *top, Real *right, Real *bottom) const
Project a sphere onto the near plane and get the bounding rectangle.
virtual void setEnclosureNode(PCZSceneNode *)=0
Set the enclosure node for this PCZone.
GLuint getVboName(void) const
Definition: OgreGL3PlusDynamicBuffer.h:81
StringInterface()
Definition: OgreStringInterface.h:206
bool isMoved(void)
Definition: OgrePCZSceneNode.h:119
ushort getLodIndex(Real value) const
Retrieves the level of detail index for the given LOD value.
virtual void finalTargetResized(const RenderTarget *finalTarget)
Called by CompositorManager2 when (i.e.) the RenderWindow was resized, thus our RTs that depend on th...
Display * getGLDisplay(void)
Get the Display connection used for rendering.
bool _isIn(AxisAlignedBox &box)
Determines if the center of this node is within the given box.
bool isActive(void) const
Overridden from RenderTarget, flags invisible windows as inactive.
void addResourceGroupListener(ResourceGroupListener *l)
Adds a ResourceGroupListener which will be called back during resource loading events.
void setSkyZone(PCZone *zone)
Set the zone which contains the sky node.
virtual void setEnabled(bool b)
virtual void bindBufferGS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Definition: OgreNULLTexBufferPacked.h:51
@ NUM_UNLIT_TEXTURE_TYPES
Definition: OgreHlmsUnlitPrerequisites.h:57
@ GPV_PER_OBJECT
Varies per object (based on an auto param usually), but not per light setup.
Definition: OgreGpuProgramParams.h:131
@ GPU_WEBKIT
Definition: OgreRenderSystemCapabilities.h:305
~PCPlane()
Standard destructor.
IteratorType iterator
Typedef to fulfill container interface.
Definition: OgreIteratorWrapper.h:74
@ PROP_QUATERNION
Definition: OgreProperty.h:120
SubRenderStateFactory()
Definition: OgreShaderSubRenderState.h:231
Command object for setting the caption.
Definition: OgreTextAreaOverlayElement.h:137
Definition: OgreSkeletonDef.h:73
void copyFromFramebuffer(size_t zoffset)
void _setMetalTexture(id< MTLTexture > metalTexture)
virtual_l1 void normal(Real x, Real y, Real z)
Add a vertex normal to the current vertex.
@ CULL_NONE
Hardware never culls triangles and renders everything it receives.
Definition: OgreCommon.h:285
Vector3 position
Position at which the intersection occurred.
Definition: OgreTerrainGroup.h:385
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:46
virtual void flushUAVs(void)
Forces to take effect all the queued UAV binding requests.
int mNumNodes
Definition: OgreQuake3Level.h:127
Vector3 convertWorldToLocalPositionUpdated(const Vector3 &worldPos)
Definition: OgreNode.h:705
CategorisedAllocPolicy< Ogre::MEMCATEGORY_ANIMATION > AnimationAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:267
bool isSkeletalAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform skeletal animation.
void load()
Loads the archive.
DXGI_FORMAT getFormat() const
int brush_count
Definition: OgreQuake3Types.h:177
void reset(void)
Definition: OgreSharedPtr.h:313
WireBoundingBox * mWireBoundingBox
Definition: OgreOctree.h:86
void setInterpolationMode(InterpolationMode im)
Tells the animation how to interpolate between keyframes.
void setTextureCoordSet(unsigned int set)
Sets the index of the set of texture co-ords this layer uses.
void setTransformLookupNumber(uint16 num)
Sets the transformation look up number.
Definition: OgreInstancedEntity.h:273
const String & getType(void) const
Get the type of the object to be created.
void getFilenameAndResourceGroup(IdString name, String const **outFilename, String const **outResourceGroup) const
Returns the filaname & resource group a datablock was created from, and is associated with its hashed...
ACDataType
Defines the type of the extra data item used by the auto constant.
Definition: OgreGpuProgramParams.h:1368
void connect(IdString outNode, IdString inNode)
Connects all outputs channels from outNode to all input channels from inNode.
virtual void _renderEmulated(const CbDrawCallStrip *cmd)=0
std::set< T, P, A >::iterator iterator
Definition: OgrePrerequisites.h:644
~GLSLESShaderFactory(void)
A OldSkeletonInstance is a single instance of a Skeleton used by a world object.
Definition: OgreOldSkeletonInstance.h:55
virtual void setOptimizationStrategy(OptimizationStrategy optimizationStrategy)
Sets the optimization strategy.
Quaternion(const Matrix3 &rot)
Construct a quaternion from a rotation matrix.
Definition: OgreQuaternion.h:72
Definition: OgreInstanceManager.h:339
uint16 getXOffset() const
Get the horizontal offset into the main terrain data of this node.
Definition: OgreTerrainQuadTreeNode.h:99
static const size_t c_ForwardPlusNumFloat4PerLight
Definition: OgreForwardPlusBase.h:47
size_t skipLine(const String &delim="\n")
Skip a single line from the stream.
Definition: OgreComPtr.h:189
Command object for particle emitter - see ParamCommand.
Definition: OgreRotationAffector.h:49
static const IdString UvAtlas14
Definition: OgreHlmsUnlitMobile.h:157
void setSkeletalAnimationIncluded(bool included)
Sets whether the linked program includes the required instructions to perform skeletal animation.
Definition: OgreGLSLESProgramCommon.h:91
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
Definition: OgreD3D9Resource.h:54
#define OGRE_APPEND_DEBUG_STRING(_Expression)
Definition: OgreIdString.h:43
static void toQuotedStr(SceneBlendFactor value, String &outString)
void makeAbs()
Causes negative members to become positive.
Definition: OgreVector3.h:566
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
void setPortal(PortalBase *o)
Sets the Portal that was used to create this plane.
Definition: OgrePCPlane.h:79
static ArrayMaskI TestFlags4(ArrayInt a, ArrayMaskI b)
Definition: OgreMathlibC.h:181
bool supportsSkeletalAnimation
Definition: OgreMaterialSerializer.h:53
String getName() const
See ParticleEmitterFactory.
Definition: OgreHollowEllipsoidEmitterFactory.h:49
virtual void activate(void)=0
Makes a program object active by making sure it is linked and then putting it in use.
const D3D11_SIGNATURE_PARAMETER_DESC & getOutputParamDesc(unsigned int index) const
virtual void switchMode(uint &width, uint &height, short &frequency)
ScriptCompilerListener * getListener()
Returns the currently set listener.
virtual RenderTarget * detachRenderTarget(const String &name)
Detaches the render target with the passed name from the render system and returns a pointer to it.
void setConfigPaths(const Ogre::StringVector &paths)
Definition: OgreFileSystemLayer.h:115
virtual void updateParamsForCompositeMap(const MaterialPtr &mat, const Terrain *terrain)
Update parameters for the given terrain composite map using the active profile.
Definition: OgreTerrainMaterialGenerator.h:360
@ GPV_PASS_ITERATION_NUMBER
Varies with pass iteration number.
Definition: OgreGpuProgramParams.h:135
void getCustomAttribute(const String &name, void *pData)
PixelFormatList formatList
Definition: OgreTextureDefinition.h:87
virtual Grid2DPageStrategyData * getGridStrategyData() const
Convenience method - this section always uses a grid strategy.
static ParameterPtr createConstParamVector4(Vector4 val)
SphereSceneQuery * createSphereQuery(const Sphere &sphere, uint32 mask=0xFFFFFFFF)
Creates a SphereSceneQuery for this scene manager.
bool getTransparencyCastsShadows(void) const
Returns whether or not objects using this material be classified as opaque to the shadow caster syste...
Definition: OgreMaterial.h:193
static void _addRenderWindow(RenderWindow *window)
void _setPosition(Real left, Real top)
Sets the left and top of this element in relation to the screen (where 1.0 = screen width)
uint32 bindOffset
Definition: OgreCbShaderBuffer.h:41
Real distance
Distance to swap the Lod.
Definition: OgreLodConfig.h:88
float getMinDistance(void) const
Definition: OgreForwardClustered.h:128
String getValue() const
Returns a string value depending on the type of the AbstractNode.
static Quake3ShaderManager & getSingleton(void)
Override standard Singleton retrieval.
@ ET_ROTATE
Constant rotation.
Definition: OgreTextureUnitState.h:83
unsigned int use_count() const
Definition: OgreSharedPtr.h:288
const OctreeNode * getChild(const size_t i) const
Gets an octree child.
Definition: OgreVolumeOctreeNode.h:190
void updateThreadStarts(void)
virtual void _checkLightAgainstPortals(PCZLight *, unsigned long, PCZFrustum *, Portal *)
(recursive) Check the given light against all portals in the zone
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
virtual ~MetalNullTextureTarget()
@ GCT_SAMPLERRECT
Definition: OgreGpuProgramParams.h:76
virtual bool isCustomProjectionMatrixEnabled(void) const
Returns whether a custom projection matrix is in use.
Definition: OgreFrustum.h:461
virtual void endCurrent()
This is called before another context is made current.
virtual_l2 void scale(Real x, Real y, Real z)
Scales the node, combining it's current scale with the passed in scaling factor.
void setListener(MeshSerializerListener *listener)
Sets the listener for this serializer.
SharedPtr< Y > dynamicCast() const
Definition: OgreSharedPtr.h:255
@ VECTOR3
Definition: OgreAnimable.h:81
ManualObjectFactory()
Definition: OgreManualObject2.h:363
NormalMapSpace
Definition: OgreShaderExNormalMapLighting.h:110
bool getLightClipPlanesEnabled() const
Gets whether or not this pass will be clipped by user clips planes bounding the area covered by the l...
Definition: OgrePass.h:1090
Definition: OgreVertexBufferPacked.h:86
void setScale(const Vector3 &v)
Sets the scale part of the matrix.
Definition: OgreMatrix4.h:477
void disableProfile(const String &profileName)
Disables a profile.
std::ostream & operator<<(std::ostream &o, const TRect< T > &r)
Definition: OgreCommon.h:814
size_t capacity() const
Definition: OgreLwConstString.h:103
Command object for green adjust (see ParamCommand).
Definition: OgreColourFaderAffector.h:57
uint64 currTime
The time this profile was started.
Definition: OgreProfiler.h:340
@ HBU_DYNAMIC
Indicates the application would like to modify this buffer with the CPU fairly often.
Definition: OgreHardwareBuffer.h:91
VertexDataBindChoice chooseVertexDataForBinding(bool hasVertexAnim)
Choose which vertex data to bind to the renderer.
void addNameExclusion(const String &type)
Adds a name exclusion to the map.
Vector3 operator*(Real t) const
Gets the position of a point t units along the ray.
Definition: OgreRay.h:71
VectorIterator< PoseList > PoseIterator
Definition: OgreMesh.h:1027
void _setTexturePtr(const TexturePtr &texptr)
Set the texture pointer for the current frame (internal use only!).
void createAzdoBuffers(void)
void _removeManuallyActiveProbe(CubemapProbe *probe)
void _setParentBone(Bone *bone)
Don't call directly.
virtual size_t getTriangleCount(void) const
Gets the number of triangles rendered in the last update() call.
virtual ~LodCollapser()
Definition: OgreLodCollapser.h:42
virtual ~D3D11NullPixelBuffer()
T::value_type PairType
Unused, just to make it clear that map/set::value_type is not a ValueType.
Definition: OgreIteratorWrapper.h:263
SharedPtr< GpuProgram > GpuProgramPtr
Definition: OgrePrerequisites.h:349
static CommandBufferExecuteFunc execute_setV1RenderOp
Definition: OgreCommandBuffer.h:92
ID3D11Query * waitFor(ID3D11Query *fenceName)
@ FFT_VS_MAIN
Definition: OgreShaderFunction.h:55
bool getFadeAttenuationOverDistace(void) const
Definition: OgreIrradianceVolume.h:115
void _unregisterScriptLoader(ScriptLoader *su)
Internal method for unregistering a ScriptLoader.
virtual void setDeriveDepthBias(bool derive, float baseValue=0.0f, float multiplier=0.0f, float slopeScale=0.0f)
Tell the render system whether to derive a depth bias on its own based on the values passed to it in ...
Definition: OgreRenderSystem.h:1244
@ PORTAL_TYPE_QUAD
Definition: OgrePortalBase.h:51
virtual void setRenderQueueGroup(uint8 queueID)
Sets the render queue group this entity will be rendered through.
virtual ~BillboardChain()
Destructor.
static RotationInterpolationMode getDefaultRotationInterpolationMode(void)
Gets the default rotation interpolation mode for all animations.
virtual void _renderUsingReadBackAsTexture(unsigned int secondPass, Ogre::String variableName, unsigned int StartSlot)
virtual void _hlmsMacroblockDestroyed(HlmsMacroblock *block)
virtual uint32 getStrategyId()=0
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
@ SPC_LIGHTPOSITION_OBJECT_SPACE4
Definition: OgreShaderParameter.h:211
virtual void write(const Ray *ray, size_t count=1)
GLSL target language writer implementation.
Definition: OgreShaderGLSLProgramWriter.h:52
void setProjectionType(ProjectionType pt)
Sets the type of projection to use (orthographic or perspective).
SectionIterator getSectionIterator(void)
Get an iterator over all the available sections in the config file.
void setReceiveShadows(bool enabled)
Sets whether objects using this material will receive shadows.
Definition: OgreMaterial.h:179
@ VET_FLOAT1
Definition: OgreVertexElements.h:72
void setShadowSettings(ShadowFilter filter)
static const int HlmsTypeShift
Definition: OgreHlms.h:895
IDirect3DSurface9 * getSurface(IDirect3DDevice9 *d3d9Device)
Accessor for surface.
IncludeOrExclude includeOrExclude
Definition: OgreTechnique.h:107
void declareResource(const String &name, const String &resourceType, const String &groupName=DEFAULT_RESOURCE_GROUP_NAME, const NameValuePairList &loadParameters=NameValuePairList())
Declares a resource to be a part of a resource group, allowing you to load and unload it as part of t...
void serialize(const Vector3 &from, const Vector3 &to, float voxelWidth, Real maxClampedAbsoluteDensity, const String &file)
Same as the other serialize function but with a user definable maximum absolute density value.
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
Definition: OgreHardwareBufferManager.h:443
Plugin instance for D3D9 Manager.
Definition: OgreD3D9Plugin.h:39
@ SPC_POSITION_LIGHT_SPACE3
Definition: OgreShaderParameter.h:96
String mName
Definition: OgreScriptCompiler.h:520
PagedWorld * loadWorld(const DataStreamPtr &stream, const String &name=BLANKSTRING)
Load a new PagedWorld from a stream.
virtual void triangleChanged(LodData *data, LodData::Triangle *tri)
Definition: OgreLodOutputProvider.h:48
~GL3PlusOldVertexArrayObject()
virtual v1::InstancedEntity * createInstancedEntity(const String &materialName, const String &managerName)
Creates an InstancedEntity based on an existing InstanceManager (.
String doGet(const void *target) const
static const IdString ForwardClustered
Definition: OgreHlms.h:848
void _disableTextureUnit(size_t texUnit)
Turns off a texture unit.
void pop_back()
Definition: OgreFastArray.h:189
const_reference operator[](size_type n) const
Definition: OgreCommon.h:525
virtual const ColourValue & getColour(void) const
Gets the colour of particles to be emitted.
static CommandBufferExecuteFunc execute_drawCallIndexedEmulatedNoBaseInstance
Definition: OgreCommandBuffer.h:68
void exportMesh(const Mesh *pMesh, const String &filename, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the file specified, in the latest format.
virtual void destroyMovableObject(MovableObject *m, const String &typeName)
Destroys a MovableObject with the name specified, of the type specified.
void checkoutTempCopies(bool positions=true, bool normals=true)
Utility method, checks out temporary copies of src into dest.
void setWorldResourceGroupName(const String &groupName)
Sets the resource group that 'world' resources will use.
Definition: OgreResourceGroupManager.h:929
virtual void _hlmsSamplerblockDestroyed(HlmsSamplerblock *block)
@ SPC_POSTOLIGHT_WORLD_SPACE3
Definition: OgreShaderParameter.h:140
void updateAllTagPoints(void)
Updates all TagPoints, both TagPoints that are children of bones, and TagPoints that are children of ...
FunctionType
Definition: OgreShaderFunction.h:51
uint32 mVisibilityMask
Definition: OgreInstantRadiosity.h:133
const HlmsSamplerblock * getSamplerblock(uint8 texUnit) const
VectorImpl::const_iterator const_iterator
Definition: OgreCommon.h:484
bool getGlobalColourMapEnabled() const
Get whether a global colour map is enabled on this terrain.
Definition: OgreTerrain.h:1422
String doGet(const void *target) const
Definition: OgreParallaxCorrectedCubemap.h:50
virtual ~ProfileSessionListener()
Definition: OgreProfiler.h:367
static void unpackColour(ColourValue *colour, PixelFormat pf, const void *src)
Unpack a colour value from memory.
static D3D9ResourceManager * getResourceManager()
CompositorNamedBuffer()
Definition: OgreCompositorNamedBuffer.h:51
virtual void defineTerrain(long x, long y)
Define a 'slot' in the terrain grid - in this case to be loaded from a generated file name.
static uint32 makeIdentifier(const String &code)
Pack a 4-character code into a 32-bit identifier.
void clearAffectedZones(void)
Clear the affectedZonesList.
void unload()
Unloads the archive.
void removeAllAffectors(void)
Removes all the affectors from this system.
void setFresnel(const Vector3 &fresnel, bool separateFresnel)
Sets the fresnel (F0) directly, instead of using the IOR.
void applyToNode(OldNode *node, Real timePos, Real weight=1.0, Real scale=1.0f)
Applies all node tracks given a specific time point and weight to the specified node.
static MeshLodGenerator & getSingleton()
HardwareBufferManager(HardwareBufferManagerBase *imp)
String doGet(const void *target) const
@ SCENE_STATIC
Definition: OgreCommon.h:447
uint32 offset
Location of the chunk (header) in bytes from the start of a stream (derived)
Definition: OgreStreamSerialiser.h:101
Ogre::map< String, ProfileInstance * >::type ProfileChildrenMap
Definition: OgreProfiler.h:304
Real getSubdivisionFactor(void) const
Gets the current level of subdivision.
Definition: OgreInstancedEntity.h:82
void addReferenceCount(void)
Adds a reference count to the StagingBuffer. @See removeReferenceCount.
virtual bool isClosed(void) const =0
Indicates whether the window has been closed by the user.
@ PORTAL_TYPE_AABB
Definition: OgrePortalBase.h:52
bool operator<(const Radian &r) const
Definition: OgreMath.h:80
const ConstBufferPool::BufferPool * getAssignedPool(void) const
Definition: OgreConstBufferPool.h:168
virtual MaterialPtr generate(const Terrain *terrain)=0
Generate / reuse a material for the terrain.
void cleanupEmptyBatches(void)
This function can be useful to improve CPU speed after having too many instances created,...
bool _isAnimated(void) const
Tests if any animation applied to this entity.
@ PF_X32_X24_S8_UINT
Depth texture format. 8 bits for stencil.
Definition: OgrePixelFormat.h:354
virtual void _restoreManualHardwareResources()
static const IdString LightsDirNonCaster
Definition: OgreHlms.h:801
uint32 getThreadsPerGroupY(void) const
Definition: OgreHlmsComputeJob.h:186
Controller< Real > * createTextureWaveTransformer(TextureUnitState *layer, TextureUnitState::TextureTransformType ttype, WaveformType waveType, Real base=0, Real frequency=1, Real phase=0, Real amplitude=1)
Creates a very flexible time-based texture transformation which can alter the scale,...
ColourValue colour
Definition: OgreBillboardChain.h:102
UniqueVertexSet mUniqueVertexSet
Provides position based vertex lookup. Position is the real identifier of a vertex.
Definition: OgreLodData.h:150
@ Transparent
Realistic transparency that preserves lighting reflections (particularly specular on the edges).
Definition: OgreHlmsPbsDatablock.h:199
vector< LinkedSkeletonAnimationSource >::type LinkedSkeletonAnimSourceList
Definition: OgreSkeleton.h:345
void bindSharedParameters(GpuProgramParametersSharedPtr params, uint16 mask)
Execute the shared param binding functions for this shader.
ResourcePtr load(DataStreamPtr &stream, const String &group)
Loads a BSP-based level from a stream.
@ TT_TRANSLATE_V
Definition: OgreTextureUnitState.h:114
@ ID_TRILINEAR
Definition: OgreScriptCompiler.h:744
uint32 outChannel
Definition: OgreCompositorWorkspaceDef.h:61
bool getAmalgamatedProfiling(void) const
Definition: OgreCompositorWorkspace.h:182
Defines a generic resource handler.
Definition: OgreResourceManager.h:121
bool getUseAccurateFacing(void) const
Gets whether or not billboards use an 'accurate' facing model based on the vector from each billboard...
void setRenderSystem(RenderSystem *system)
Sets the rendering subsystem to be used.
@ RSC_TWO_SIDED_STENCIL
Supports separate stencil updates for both front and back faces.
Definition: OgreRenderSystemCapabilities.h:103
String doGet(const void *target) const
void doSet(void *target, const String &val)
void setSize(Real x, Real y, Real z)
Sets the size of the area from which particles are emitted.
GpuProgramParametersSharedPtr getTessellationHullProgramParameters(void) const
Gets the Tessellation Hull program parameters used by this pass.
virtual ~DecalFactory()
Definition: OgreDecal.h:157
Definition: OgreScriptCompiler.h:196
SceneBlendFactor mDestBlendFactor
Definition: OgreHlmsDatablock.h:173
void define(const Frustum &frustum)
Build a new polygon representation from a frustum.
ShadowMapTechniques technique
Technique to use.
Definition: OgreCompositorShadowNode.h:361
CompositorPassProvider * getCompositorPassProvider(void) const
Specialisation of PageStrategyData for Grid2DPageStrategy.
Definition: OgreGrid2DPageStrategy.h:120
ConstBoneIterator getBoneIteratorConst(void) const
int mNumBrushSides
Definition: OgreQuake3Level.h:156
ParticleSystem * getTemplate(const String &name)
Retrieves a particle system template for possible modification.
Technique * getTechnique(const String &name)
searches for the named technique.
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
PORTAL_TYPE
Definition: OgrePortalBase.h:50
SceneObjAllocatedObject SubEntityAlloc
Definition: OgreMemoryAllocatorConfig.h:336
void linkRenderWindow(D3D9RenderWindow *renderWindow)
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgrePass.h:1102
void addIndexData(const IndexData *indexData, size_t vertexSet=0, OperationType opType=OT_TRIANGLE_LIST)
Add a set of index geometry data to the edge builder.
Real getSquaredViewDepth(const Camera *cam) const
void setUpdateDisplayFrequency(uint freq)
Sets the Profiler so the display of results are updated every n frames.
void setManualValue(const Matrix3 &value)
virtual void setSkyDomeEnabled(bool enable)
Enables / disables a 'sky dome'.
Definition: OgreSceneManager.h:2391
bool isReserved
Definition: OgrePlanarReflections.h:49
const ColourValue & getDiffuseColour(void) const
Returns the colour of the diffuse light given off by this light source (see setDiffuseColour for more...
Definition: OgreLight.h:147
DualGridGenerator * dualGridGenerator
The DualGridGenerator to use.
Definition: OgreVolumeChunkHandler.h:66
virtual Real getEmissionRate(void) const
Returns the emission rate set for this emitter.
void remove3D(SceneNode *node)
Removes a 3D element from the overlay.
Radian & operator+=(const Radian &r)
Definition: OgreMath.h:67
Command object for setting macro defines.
Definition: OgreD3D11HLSLProgram.h:70
size_t getPassNumber(CompositorPass *pass) const
@ VisibilityFlags
Definition: OgreArrayMemoryManager.h:374
SkeletalAnimationMode
Definition: OgreInstanceBatch.h:99
Specialisation of HardwareCounterBuffer for OpenGL.
Definition: OgreGL3PlusHardwareCounterBuffer.h:39
virtual void execute(const Camera *lodCamera)
String getDisplayName(void)
Get the name of the display and screen used for rendering.
String doGet(const void *target) const
static const ArrayReal MAX_POS
Definition: OgreMathlibC.h:61
void convertUVToImageSpace(Real x, Real y, size_t *outX, size_t *outY)
Convert local space values (0,1) to image space (0, imageSize).
static void cullLights(const size_t numNodes, ObjectData t, LightListInfo &outGlobalLightList, const FrustumVec &frustums, const FrustumVec &cubemapFrustums)
@See SceneManager::cullLights &
size_t read(void *buf, size_t count)
Read the requisite number of bytes from the stream, stopping at the end of the file.
void _updateRenderQueueImpl(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Internal version that does not call _notifyCurrentCamera (i.e. you've already done it)
Definition: OgreSceneFormatImporter.h:40
Real mWidth
Personal width if mOwnDimensions == true.
Definition: OgreParticle.h:80
Colour sub render state implementation of the Fixed Function Pipeline.
Definition: OgreShaderFFPColour.h:48
void _handleLodEvents()
Handle LOD events.
map< String, ResourceManager * >::type ResourceManagerMap
Definition: OgreResourceGroupManager.h:283
virtual void bindBufferHS(uint16 slot)
virtual bool getRequestsAccepted() const
Returns whether requests are being accepted right now.
@ LB_BlendPinLight
Definition: OgreShaderExLayeredBlending.h:71
virtual void setParticleVelocity(Real min, Real max)
Sets the initial velocity range of particles emitted.
virtual void setRenderQueueGroup(uint8 queueID)
Overload to avoid it. Light::setType uses the RenderQueue ID to classify lights per type.
Definition: OgreEmscriptenEGLContext.h:39
virtual void _clearSliceRTT(size_t zoffset)
Notify TextureBuffer of destruction of render target.
Definition: OgreD3D11HardwarePixelBuffer.h:99
@ SPC_LIGHTPOSITIONVIEW_SPACE2
Definition: OgreShaderParameter.h:229
void save(StreamSerialiser &stream)
Save world data to a serialiser.
virtual void setOrigin(const Vector3 &origin)
Sets the origin of the geometry.
Definition: OgreStaticGeometry.h:685
OperationType getOperationType(void) const
Definition: OgreVertexArrayObject.h:111
virtual ~RenderObjectListener()
Definition: OgreRenderObjectListener.h:46
virtual size_t getMaxChainElements(void) const
Get the maximum number of chain elements per chain.
Definition: OgreBillboardChain.h:129
@ BIND_SOFTWARE_SKELETAL
Definition: OgreEntity.h:647
const PoseRefList & getPoseReferences(void) const
Get a const reference to the list of pose references.
void setAll(const Vector3 &v)
Sets all packed vectors to the same value as the scalar input vector.
Definition: C/OgreArrayVector3.h:106
static const IdString TexMatrixCount4
Definition: OgreUnlitProperty.h:56
GL3PlusContext * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
virtual void _setIndirectBuffer(IndirectBufferPacked *indirectBuffer)
String doGet(const void *target) const
IndexBufferPacked * getIndexBuffer(void) const
Definition: OgreVertexArrayObject.h:107
virtual void freeInternalResourcesImpl(void)
free internal resources
InstanceBatch forms part of the new Instancing system This is an abstract class that must be derived ...
Definition: OgreInstanceBatch.h:92
static bool loadIcon(Display *display, const std::string &name, Pixmap *pix, Pixmap *mask)
Loads an icon from an Ogre resource into the X Server.
SharedPtr< D3D9GpuProgram > D3D9GpuProgramPtr
Definition: OgreD3D9Prerequisites.h:97
virtual void setZoneGeometry(const String &zoneName, PCZSceneNode *parentNode, const String &filename)
Set the "main" geometry of the zone.
#define OGRE_AUTO_MUTEX
Definition: OgreThreadDefinesBoost.h:46
@ VES_BLEND_WEIGHTS2
Second pair of blending weights (i.e. more than 4, less or equal than 8)
Definition: OgreVertexElements.h:60
_OgreExport friend std::ostream & operator<<(std::ostream &o, const AxisAlignedBox &aab)
Definition: OgreAxisAlignedBox.h:353
Command object for inner size (see ParamCommand).
Definition: OgreRingEmitter.h:53
::EGLConfig getGLConfigFromContext(::EGLContext context)
Decals can have diffuse, normal map, and emissive on top of regular objects.
Definition: OgreDecal.h:79
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware vertex buffer.
virtual void sceneManagerDestroyed(SceneManager *source)
Event notifying the listener of the SceneManager's destruction.
Definition: OgreSceneManager.h:426
void uninstall()
Perform the final plugin uninstallation sequence.
Definition: OgrePixelCountLodStrategy.h:73
void nodeDettached(Transform &outTransform, size_t depth)
Releases current memory and requests memory from the root level.
D3D11HardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, D3D11Device &device, bool useSystemMem, bool useShadowBuffer, bool streamOut)
@ PF_R8G8B8_SINT
24-bit pixel format, 8 bits red (signed int), 8 bits blue (signed int), 8 bits green (signed int).
Definition: OgrePixelFormat.h:188
virtual Archive * createInstance(const String &name)
Creates a new object.
Definition: OgreArchiveFactory.h:71
RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, unsigned int colourDepth, bool fullScreen, int left, int top, bool depthBuffer, RenderWindow *parentWindowHandle, bool vsync)
virtual void bindBufferPS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Ogre::RenderWindow * window
Definition: OgreOSXCocoaView.h:37
StringVector getMultiSetting(const String &key, const String §ion=BLANKSTRING) const
Gets all settings from the file with the named key.
TextureType textureType
Definition: OgreHlmsTexturePack.h:60
void createFromTexturePack(const HlmsTexturePack &pack)
void setFragmentShaderProfiles(const String &fragmentShaderProfiles)
Set the output fragment shader target profiles.
void setActiveTessDomainShader(GLSLShader *domainShader)
v1::VertexDeclaration * getGlobalInstanceVertexBufferVertexDeclaration() const
Gets vertex declaration for the global vertex buffer for the global instancing.
size_t outUniqueVertexCount
This is set by ProgressiveMeshGenerator::build() function.
Definition: OgreLodConfig.h:117
ImageDownsamplerCube downscale2x_A8_cube
Definition: OgreImageDownsampler.h:80
static String Type
The type.
Definition: OgreShaderFFPAlphaTest.h:73
Real getBoundsPaddingFactor(void)
Gets the factor by which the bounding box of an entity is padded.
const SubMeshVec & getSubMeshes(void) const
Gets an iterator over the available submeshes.
Definition: OgreMesh2.h:192
virtual void setHoldRadius(Real sz)
Set the Holding radius.
virtual void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const =0
Codes the data in the input chunk and saves the result in the output filename provided.
const String & getName() const
Get the name of the plugin.
void setCompositeMapSize(uint16 sz)
Sets the default size of composite maps for a new terrain.
Definition: OgreTerrain.h:2090
D3D11TextureManager(D3D11Device &device)
GeneralAllocatedObject LogAlloc
Definition: OgreMemoryAllocatorConfig.h:313
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
Abstract class defining the interface all renderable objects must implement.
Definition: OgreRenderable.h:68
Wrapper class which indicates a given angle value is in Radians.
Definition: OgreMath.h:50
virtual void getRenderOperation(RenderOperation &op)=0
Get the render operation for this buffer.
bool loadIcon(const String &name, Pixmap *pix, Pixmap *mask)
Loads an icon from an Ogre resource into the X Server.
virtual void _renderNoBaseInstance(const v1::CbDrawCallStrip *cmd)
void addListener(LogListener *listener)
virtual void triangleChanged(LodData *data, LodData::Triangle *tri)
@ GCT_INT2
Definition: OgreGpuProgramParams.h:90
static GLXFBConfig getFBConfigFromContext(Display *display, ::GLXContext context)
Get the GLXFBConfig used to create a ::GLXContext.
Factory class for GLSL shaders.
Definition: OgreGLSLShaderFactory.h:40
virtual TagPoint * createTagPoint(void)
Creates a TagPoint that can be used like a SceneNode, or be used to be attached to a Bone.
virtual bool isVisible(const Sphere &bound, FrustumPlane *culledBy=0) const
Tests whether the given container is visible in the Frustum.
VertexElementType getColourVertexElementType(void) const
Get the native VertexElementType for a compact 32-bit colour value for this rendersystem.
void setAll(const Matrix4 &m)
Sets all packed matrices to the same value as the scalar input matrix.
Definition: C/OgreArrayMatrix4.h:128
void calcDirectionAndRadius() const
Calculate the local direction and radius of the portal.
virtual SortMode _getSortMode(void) const =0
Gets the desired particles sort mode of this renderer.
virtual void _update(void)
@ RSC_STENCIL_WRAP
Supports wrapping the stencil value at the range extremeties.
Definition: OgreRenderSystemCapabilities.h:105
This class allows saving the current state of an Hlms to disk: both its compiled shaders with source ...
Definition: OgreHlmsDiskCache.h:132
void setActiveTessHullShader(GLSLShader *hullShader)
static const String & getPointLightExtruderVs_glslesDebug(void)
Get extruder program source for debug point lights, compatible with glsles.
Definition: OgreShadowVolumeExtrudeProgram.h:262
virtual void fillConstBufferData(Viewport *viewport, RenderTarget *renderTarget, IdString shaderSyntax, float *RESTRICT_ALIAS passBufferPtr) const
Fills 'passBufferPtr' with the necessary data for Forward3D rendering.
map< ResourceHandle, ResourcePtr >::type ResourceHandleMap
Definition: OgreResourceManager.h:567
@ ID_CUBIC_TEXTURE
Definition: OgreScriptCompiler.h:732
const String & getName() const
Get the name of the plugin.
void setEnabled(bool bEnabled)
Enables or disables all instances of this node.
virtual bool postCreateGpuPrograms(ProgramSet *programSet)
@ GHA_CENTER
Definition: OgreOverlayElement.h:73
static const IdString DetailMapsDiffuse
Definition: OgreHlmsPbs.h:381
D3D9HardwarePixelBuffer(HardwareBuffer::Usage usage, D3D9Texture *ownerTexture)
void freeAllBuffers()
Free any buffers we're holding.
bool getTwoSidedLighting(void) const
A node in a quad tree used to store a patch of terrain.
Definition: OgreTerrainQuadTreeNode.h:83
@ RSC_PBUFFER
Support for PBuffer.
Definition: OgreRenderSystemCapabilities.h:229
void _compileBoneAssignments(void)
Internal method, be called once to compile bone assignments into geometry buffer.
void importFromV2(Ogre::SubMesh *subMesh)
Imports a v2 SubMesh @See Mesh::importV2.
void updatePassIterationUniforms(GpuProgramParametersSharedPtr params)
Updates program object uniforms using data from pass iteration GpuProgramParameters.
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
virtual ~PortalBase()
Destructor.
@ Compute
Tell the API's to use high quality.
Definition: OgreCompositorPassMipmapDef.h:64
bool intersects(const AxisAlignedBox &b2) const
Returns whether or not this box intersects another.
Definition: OgreAxisAlignedBox.h:562
void storeEdges(EdgeMap *edgeMap) const
Stores the edges of the polygon in ccw order.
ZoneData(PCZSceneNode *, PCZone *)
Standard Constructor.
virtual Real getOrthoWindowHeight() const
Gets the orthographic window height, for use with orthographic rendering only.
Vector4 getTime_0_1_packed(Real x) const
NameValuePairList parameters
Definition: OgreResourceGroupManager.h:279
virtual void preViewportUpdate(const RenderTargetViewportEvent &evt)
Definition: OgreRenderTargetListener.h:120
ArrayVector3 mOrigin
Definition: OgreArrayRay.h:39
size_t getNumIndexes(void) const
Get the number of indexes in this buffer.
Definition: OgreHardwareIndexBuffer.h:72
const String & getName() const
Get the name of the plugin.
void updateAllDirtyProbes(void)
By default the probes will be constructed when the user enters its vecinity.
OldBone * createChild(unsigned short handle, const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates a new OldBone as a child of this bone.
@ ID_CAMERA_FAR_CORNERS_WORLD_SPACE_CENTERED
Definition: OgreScriptCompiler.h:891
HardwareUniformBufferSharedPtr createShaderStorageBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, size_t binding, const String &name="")
Create a shader storage buffer.
D3D11ConstBufferPacked(size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface, D3D11Device &device)
@ LBX_ADD_SIGNED
as LBX_ADD, but subtract 0.5 from the result
Definition: OgreBlendMode.h:89
static String FACTORY_TYPE_NAME
Definition: OgrePortal.h:87
Alternative listener class for dealing with IntersectionSceneQuery.
Definition: OgreSceneQuery.h:453
bool empty() const
Definition: OgreFastArray.h:281
MovablePlane(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
bool packNonPow2
Whether non-power-of-2 textures should be packed together.
Definition: OgreHlmsTextureManager.h:106
A factory that enables creation of HardwareSkinning instances.
Definition: OgreShaderExHardwareSkinning.h:181
CompositorPassType
Definition: OgreCompositorPassDef.h:49
virtual bool postCreateGpuPrograms(ProgramSet *programSet)=0
Called after creation of the GPU programs.
void setPointAttenuation(bool enabled, Real constant=0.0f, Real linear=1.0f, Real quadratic=0.0f)
Sets how points are attenuated with distance.
void dumpProfileResults(const String &fullPathPerFrame, const String &fullPathAccum)
Dumps CSV data into two CSV files.
virtual bool hasLight(const String &name) const
Returns whether a light with the given name exists.
void FromEulerAnglesZXY(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
ManualObjectSection * getSection(unsigned int index) const
Gets a pointer to a ManualObjectSection, i.e.
BspSceneNode(SceneManager *creator)
Definition: OgreBspSceneNode.h:55
void applyToNode(OldNode *node, const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
As the 'apply' method but applies to a specified OldNode instead of associated node.
virtual void setPaused(bool pause)
Set whether to pause further processing of any requests.
@ SM_None
Definition: OgreShaderExLayeredBlending.h:85
virtual bool hasOption(const String &strKey) const
Method for verifying whether the scene manager has an implementation-specific option.
Definition: OgreSceneManager.h:1874
virtual void bindSurface(size_t attachment, RenderTexture *target)
Bind a surface to a certain attachment point.
Definition: OgreRenderTexture.h:83
uint8 getMaxActiveActors(void) const
Definition: OgrePlanarReflections.h:244
String mMaterialScheme
The material scheme used for this pass.
Definition: OgreCompositorPassSceneDef.h:139
void _updatePCZSceneNode(PCZSceneNode *)
Checks the given SceneNode, and determines if it needs to be moved to a different PCZone or be added ...
Page strategy which loads new pages based on a regular 2D grid.
Definition: OgreGrid2DPageStrategy.h:231
@ D3D_CORRUPTION
Definition: OgreD3D11Device.h:91
const String & _getDerivedResourceGroup() const
Get the final resource group to use when loading / saving.
static const String & getPointLightExtruderVs_glslFinite(void)
Get FINITE extruder program source for point lights, compatible with glsl.
Definition: OgreShadowVolumeExtrudeProgram.h:287
virtual void frameEnded(void)
Called when the frame has fully ended (ALL passes have been executed to all RTTs)
virtual BufferPackedTypes getBufferPackedType(void) const
Useful to query which one is the derived class.
Definition: OgreVertexBufferPacked.h:115
virtual void setRepeatDelay(Real duration)
Sets the time between repeats of the emitter.
@ MSE_WRITE_END
Definition: OgreMaterialSerializer.h:70
const vector< Real >::type * getPssmSplits(size_t shadowMapIdx) const
Returns a list of points with the limits of each PSSM split in projection space for the given shadow ...
BlendMode blendMode
Definition: OgreShaderExLayeredBlending.h:98
virtual void setShadowTextureCasterMaterial(const String &name)
Sets the default material to use for rendering shadow casters.
HlmsDatablock * _getDatablock(void) const
Gets the internal datablock that acts as proxy for us.
HlmsComputeJob * createComputeJob(IdString datablockName, const String &refName, const String &sourceFilename, const StringVector &includedPieceFiles)
An HlmsComputeJob is very similar to an HlmsDatablock, except it contains a compute job instead.
const TextureSources & getUavSources(void) const
Definition: OgreCompositorPassComputeDef.h:136
LODBucket(Region *parent, unsigned short lod, Real lodValue)
float getBlueAdjust2(void) const
void setFaceCamera(bool faceCamera, const Vector3 &normalVector=Vector3::UNIT_X)
Sets whether the billboard should always be facing the camera or a custom direction set by each point...
void setStartZone(PCZone *startZone)
set the zone to start the scene query
Definition: OgrePCZSceneQuery.h:67
void addCamera(Camera *c)
Tells the paging system to start tracking a given camera.
bool operator!=(const SmallVectorImpl &RHS) const
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:745
void loadDirect(const String &filename, const String &separators="\t:=", bool trimWhitespace=true)
load from a filename (not using resource group locations)
virtual Vector3 convertWorldToLocalPosition(const Vector3 &worldPos)
Gets the local position, relative to this OldNode, of the given world-space position.
@ ThreadGroupsBasedOnTexture
Based the number of thread groups on a texture. See setNumThreadGroupsBasedOn.
Definition: OgreHlmsComputeJob.h:56
multimap< Vector3, Vector3 >::type EdgeMap
Definition: OgrePolygon.h:58
virtual void setWorkerThreadCount(size_t c)
Set the number of worker threads that this queue will start when startup() is called (default 1).
CreateGpuSharedParametersScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup)
Definition: OgreScriptCompiler.h:582
VertexDeclaration * getVertexDeclaration()
Get the vertex declaration that the pass will output.
Builds the intersection between two sources.
Definition: OgreVolumeCSGSource.h:220
~PortalFactory()
Definition: OgrePortal.h:85
static PbsUvAtlasParams textureLocationToAtlasParams(const HlmsTextureManager::TextureLocation &texLocation)
void bind(RenderTarget *target)
Bind a certain render target if it is a FBO.
Renderable * _getRenderable()
Returns the internal renderable object for this node.
virtual void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Overridden - see RenderTarget.
GL ES-specific implementation of a TextureManager.
Definition: OgreGLES2TextureManager.h:40
@ EXTENT_FINITE
Definition: OgreAxisAlignedBox.h:59
virtual void _endUpdate()
Method for manual management of rendering - finishes statistics calculation and fires 'postRenderTarg...
GpuProgramPtr getByName(const String &name, bool preferHighLevelPrograms=true)
Get a resource by name.
BillboardRotationType
The rotation type of billboard.
Definition: OgreBillboardSet.h:70
virtual ResourcePtr getResourceByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Retrieves a pointer to a resource by name, or null if the resource does not exist.
Capsule(const Segment &, Real)
time_t getModifiedTime(const String &filename)
Retrieve the modification time of a given file.
void install()
Perform the plugin initial installation sequence.
virtual void upload(const PixelBox &data, const Box &dest)
Upload a box of pixels to this buffer on the card.
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
virtual void setCellRangeMinZ(int32 minZ)
Set the index range of all cells (values outside this will be ignored)
void destroyInactiveRenderDevices()
Definition: OgreCompositorShadowNode.h:342
Real mDepthValue
Definition: OgreCompositorPassClearDef.h:52
unsigned int getVSyncInterval() const
RenderWindow::getVSyncInterval
static void initResourcesLayout(ResourceLayoutMap &outResourcesLayout, const CompositorChannelVec &compositorChannels, ResourceLayout::Layout layout)
Only inits a resource with the given layout if it wasn't already in outResourcesLayout.
virtual_l1 void _attachBone(SkeletonInstance *skeletonInstance, Bone *bone)
Attaches a bone to this SceneNode.
OldBone(unsigned short handle, Skeleton *creator)
Constructor, not to be used directly (use OldBone::createChild or Skeleton::createBone)
A billboard is a primitive which always faces the camera in every frame.
Definition: OgreBillboard.h:69
void FromAxes(const Vector3 &xAxis, const Vector3 &yAxis, const Vector3 &zAxis)
virtual ConfigOptionMap & getConfigOptions(void)
map< String, AnimationState * >::type AnimationStateMap
Definition: OgreAnimationState.h:188
bool OrderSkeletonInstanceByMemory(const SkeletonInstance *_left, const SkeletonInstance *_right)
Definition: OgreSkeletonInstance.h:215
@ RSC_UAV
Supports UAVs (OpenGL: SSBOs and Image texture. D3D11: UAVs & structured buffers)
Definition: OgreRenderSystemCapabilities.h:207
void removeStrategy(PageStrategy *strategy)
Remove a PageStrategy implementation.
#define OGRE_RW_MUTEX(name)
Definition: OgreThreadDefinesBoost.h:62
@ OR_DEGREE_270
Definition: OgreFrustum.h:53
Degree operator-() const
Definition: OgreMath.h:120
@ ACT_SURFACE_EMISSIVE_COLOUR
Surface emissive colour, as set in Pass::setSelfIllumination.
Definition: OgreGpuProgramParams.h:1013
virtual void _setPipelineStateObject(const HlmsPso *pso)
@See HlmsPso
virtual GpuProgramType getType(void) const
Get the program type.
Definition: OgreGpuProgram.h:272
Image & combineTwoImagesAsRGBA(const Image &rgb, const Image &alpha, PixelFormat format=PF_BYTE_RGBA)
Utility method to combine 2 separate images into this one, with the first image source supplying the ...
Definition: OgreScriptTranslator.h:295
virtual void _beginFrame(void)
Signifies the beginning of a frame, i.e.
Image & load(const String &filename, const String &groupName)
Loads an image file.
float getRoughness(void) const
virtual void convertToImage(Image &destImage, bool includeMipMaps=false, uint32 mipmapBias=0, uint32 zOrSliceStart=0, uint32 depthOrSlices=0)
Populate an Image with the contents of this texture.
void getPoint(long x, long y, Vector3 *outpos) const
Get a Vector3 of the world-space point on the terrain, aligned as per options.
int getScissorActualTop(void) const
Definition: OgreViewport.h:182
virtual void _hlmsComputePipelineStateObjectCreated(HlmsComputePso *newPso)
Vector3 interpolate(unsigned int fromIndex, Real t) const
Interpolates a single segment of the spline given a parametric value.
bool getSortingEnabled(void) const
Gets whether particles are sorted relative to the camera.
Definition: OgreParticleSystem.h:545
static GTKGLSupport & getSingleton(void)
Override standard Singleton retrieval.
const char * c_str() const
Definition: OgreLwConstString.h:97
static const IdString DetailOffsets3
Definition: OgreHlmsPbs.h:361
NodeAnimationTrack * getNodeTrack(size_t handle) const
Gets a node track by it's handle.
@ ID_DEPTH
Definition: OgreScriptCompiler.h:901
bool watchForMax(const String &profileName)
GL3PlusDepthTextureTarget(GL3PlusDepthTexture *ultimateTextureOwner, const String &name, v1::HardwarePixelBuffer *buffer, uint32 zoffset)
Vector3 getViewUpVector() const
std::vector< T, A > type
Definition: OgrePrerequisites.h:615
GpuBufferAllocator * getGpuBufferAllocator()
Get the current buffer allocator.
Definition: OgreGLES2HardwarePixelBuffer.h:38
SceneNode * _getDummyNode(void) const
Definition: OgreNodeMemoryManager.h:84
void setPointSize(Real ps)
Sets the point size properties for every Pass in every Technique.
Definition: OgreGL3PlusConstBufferPacked.h:38
OverlayMapIterator getOverlayIterator(void)
void clearNamedAutoConstant(const String &name)
Unbind an auto constant so that the constant is manually controlled again.
virtual void loadImpl()
overridden from Resource
static const IdString UvAtlas13
Definition: OgreHlmsUnlitMobile.h:156
_OgreRTSSExport void operator<<(std::ostream &o, const HardwareSkinning::SkinningData &data)
static bool isSorted(const v1::Mesh::LodValueArray &values)
Determine if the LOD values are sorted from greatest detail to least detail.
uint64 asUint64(void) const
ParticleEmitter * createEmitter(ParticleSystem *psys)
See ParticleEmitterFactory.
Definition: OgreEllipsoidEmitterFactory.h:55
CompositorWorkspace * addWorkspace(SceneManager *sceneManager, const CompositorChannelVec &externalRenderTargets, Camera *defaultCam, IdString definitionName, bool bEnabled, int position=-1, const UavBufferPackedVec *uavBuffers=0, const ResourceLayoutMap *initialLayouts=0, const ResourceAccessMap *initialUavAccess=0, const Vector4 &vpOffsetScale=Vector4::ZERO, uint8 vpModifierMask=0x00, uint8 executionMask=0xFF)
Overload that allows a full RenderTexture to be used as render target (see CubeMapping demo)
const String & getFragmentShaderProfiles() const
Get the output fragment shader target profiles.
Definition: OgreShaderGenerator.h:180
String doGet(const void *target) const
_OgreExport friend std::ostream & operator<<(std::ostream &o, const Camera &c)
Function for outputting to a stream.
virtual int getExecutionOrder() const
String source
Definition: OgreMaterialSerializer.h:51
GLES2ConstBufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface)
@ CBT_BACK
Definition: OgreCommon.h:350
Interface definition for a factory class which produces a certain kind of MovableObject,...
Definition: OgreMovableObject.h:597
MappingState
Definition: OgreBufferPacked.h:66
MapIterator< ParticleTemplateMap > ParticleSystemTemplateIterator
Definition: OgreParticleSystemManager.h:344
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create a uniform buffer.
virtual SceneNode * getSkyPlaneNode(void) const
Get the sky plane node, if enabled.
Definition: OgreSceneManager.h:2175
GLuint getGLMultisampleFBOID() const
Get the GL id for the multisample FBO.
Definition: OgreGLES2FrameBufferObject.h:75
Definition: OgreGL3PlusVaoManager.h:38
static const Real TWO_PI
Definition: OgreMath.h:740
static const IdString UvCount6
Definition: OgreHlms.h:796
@ FT_MAG
The filter used when magnifying a texture.
Definition: OgreCommon.h:230
virtual ResourceCreateOrRetrieveResult createOrRetrieve(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0, TextureType texType=TEX_TYPE_2D, int numMipmaps=MIP_DEFAULT, Real gamma=1.0f, bool isAlpha=false, PixelFormat desiredFormat=PF_UNKNOWN, bool hwGammaCorrection=false)
Create a new texture, or retrieve an existing one with the same name if it already exists.
BoneData(size_t _index, size_t _parent, const Vector3 &_pos, const Quaternion &_rot, const Vector3 &_scale, const String &_name, bool _inheritOrientation, bool _inheritScale)
Definition: OgreSkeletonDef.h:56
virtual uint32 fillBuffersForV1(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
virtual void _setVertexArrayObject(const VertexArrayObject *vao)
Part of the low level rendering interface.
MeshPtr clone(const String &newName, const String &newGroup=BLANKSTRING, int vertexBufferType=-1, int indexBufferType=-1)
Makes a copy of this mesh object and gives it a new name.
GpuProgramParametersSharedPtr getComputeProgramParameters(void) const
Gets the Tessellation Hull program parameters used by this pass.
virtual Real getStartTime(void) const
Gets the start time of the emitter.
const Quaternion & getOrientationForViewUpdate(void) const
Get the derived orientation of this frustum.
void setHardwareSkinningParam(ushort boneCount, ushort weightCount, bool correctAntipodalityHandling=false, bool scalingShearingSupport=false)
virtual ~MeshSerializerListener()
Definition: OgreMeshSerializer.h:200
String doGet(const void *target) const
static const char * getCmpString(CompareFunction compareFunction)
@ FRUSTUM_PLANE_RIGHT
Definition: OgreFrustum.h:75
bool exists(const String &filename)
Find out if the named file exists (note: fully qualified filename required)
list< OverlayContainer * >::type OverlayContainerList
Definition: OgreOverlay.h:74
bool getUseIdentityProjection(void) const
Returns whether or not to use an 'identity' projection.
Definition: OgreRenderable.h:203
static String getFormatName(PixelFormat srcformat)
Gets the name of an image format.
GLSLESShaderFactory(void)
Real splitPadding
Definition: OgreCompositorShadowNodeDef.h:71
virtual IntersectionSceneQuery * createIntersectionQuery(uint32 mask=0xFFFFFFFF)
Creates an IntersectionSceneQuery for this scene manager.
bool hasBone(IdString name) const
@ TCD_U
Tex coord in elements is treated as the 'u' texture coordinate.
Definition: OgreBillboardChain.h:157
void _prepare(void)
Internal prepare method, derived from call to Material::prepare.
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
void setCurrentSceneManager(const SceneManager *sm)
Set the current scene manager for enquiring on demand.
ZipArchive(const String &name, const String &archType, zzip_plugin_io_handlers *pluginIo=NULL)
virtual_l1 void position(Real x, Real y, Real z)
Add a vertex position, starting a new vertex at the same time.
const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this class.
virtual void _findNodes(const Ray &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
@ TVC_EMISSIVE
Definition: OgreCommon.h:328
void setInheritParentEntityOrientation(bool inherit)
Tells the TagPoint whether it should inherit orientation from it's parent entity.
Particle emitter which emits particles randomly from points inside a ring (e.g.
Definition: OgreRingEmitter.h:48
#define OGRE_CAPS_VALUE(cat, val)
Definition: OgreRenderSystemCapabilities.h:48
GeometryAllocatedObject DebugGeomAlloc
Definition: OgreMemoryAllocatorConfig.h:306
@ Position
Definition: OgreArrayMemoryManager.h:293
virtual void _useLights(const LightList &lights, unsigned short limit)=0
Tells the rendersystem to use the attached set of lights (and no others) up to the number specified (...
Utility class providing helper methods for reading / writing structured data held in a DataStream.
Definition: OgreStreamSerialiser.h:68
MultiSourceVertexBufferPool * createMultiSourceVertexBufferPool(const VertexElement2VecVec &vertexElementsBySource, size_t maxNumVertices, BufferType bufferType)
map< String, HighLevelGpuProgramFactory * >::type FactoryMap
Definition: OgreHighLevelGpuProgramManager.h:76
static void setGenerateAllConstantDefinitionArrayEntries(bool generateAll)
Sets whether all array entries will be generated and added to the definitions map.
virtual void setFsaaResolveDirty(void)
Depth buffers never resolve; only colour buffers do.
Definition: OgreD3D11DepthTexture.h:123
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
~Rectangle2DFactory()
Definition: OgreRectangle2D.h:107
bool mSuccess
Whether the work item succeeded or not.
Definition: OgreWorkQueue.h:128
static const String & getPointLightExtruderArbvp1Finite(void)
Get FINITE extruder program source for point lights, compatible with arbvp1.
Definition: OgreShadowVolumeExtrudeProgram.h:281
Content
Definition: OgreShaderParameter.h:76
Vector3 mPosition
Definition: OgreBillboard.h:82
VaoManager * getVaoManager(void) const
Definition: OgreRenderSystem.h:1141
void setExtents(const Vector3 &min, const Vector3 &max)
Sets both minimum and maximum extents at once.
void doSet(void *target, const String &val)
@ VET_SHORT2
Definition: OgreVertexElements.h:79
ScaleControllerFunction(Real scalefactor, bool deltaInput)
Constructor, requires a scale factor.
const Camera * getCurrentCamera() const
String exportLocation
Definition: OgreHlmsTexturePack.h:65
@ PBSM_BLEND_SUBTRACT
Definition: OgreHlmsPbsPrerequisites.h:84
void seek(size_t pos)
Repositions the read point to a specified byte.
float getPoseWeight(const Ogre::String &poseName) const
UavBufferPacked * buffer
Definition: OgreCompositorNamedBuffer.h:49
void setSpecularColour(const ColourValue &colour)
Sets the colour of the specular light given off by this source.
size_t getFirstObjectData(ObjectData &outObjectData, size_t renderQueue)
Retrieves a ObjectData pointing to the first MovableObject in the given render queue.
~TextureSource(void)
Destructor.
virtual bool isActive() const
Used to retrieve or set the active state of the render target.
void setUseIdentityProjection(bool useIdentityProjection)
Sets whether or not to use an 'identity' projection.
Definition: OgreRenderable.h:189
RealAsUint *RESTRICT_ALIAS mDistanceToCamera
Ours is mDistanceToCamera[mIndex].
Definition: OgreObjectData.h:78
const CompositorTargetDef * getParentTargetDef(void) const
bool isBorderTop(const OctreeNode &root) const
Gets whether this cell is at the top of the given root cell.
Definition: OgreVolumeOctreeNode.h:261
reference back()
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:337
virtual void setVertexTextureFetchRequired(bool r)
Sets whether this vertex program requires support for vertex texture fetch from the hardware.
Definition: OgreGpuProgram.h:355
void clearControllers(void)
Destroys all the controllers in existence.
static unsigned int parseUnsignedInt(const String &val, unsigned int defaultValue=0)
Converts a String to a whole number.
String doGet(const void *target) const
RenderQueue * getRenderQueue(void) const
Returns the RenderQueue.
Definition: OgreSceneManager.h:1301
@ SKELETON_ANIMATION
Definition: OgreSkeletonFileFormat.h:79
@ SPC_POSTOLIGHT_WORLD_SPACE0
Light vector in world space index 0-7.
Definition: OgreShaderParameter.h:137
TextureUnitState * createTextureUnitState(void)
Inserts a new TextureUnitState object into the Pass.
General utility class for building edge lists for geometry.
Definition: OgreEdgeListBuilder.h:172
CompositorNodeDef * addNodeDefinition(const String &name)
Returns a new node definition. The name must be unique, throws otherwise.
static LPCSTR get(VertexElementSemantic sem)
Get vertex semantic.
void addSceneManagerFactory(SceneManagerFactory *fact)
Register a new SceneManagerFactory, a factory object for creating instances of specific SceneManagers...
HlmsDatablock * getDatablock(IdString name) const
Retrieves an exisiting datablock (i.e.
virtual void bindBufferGS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
static void bswapBuffer(void *pData, size_t size)
Reverses byte order of buffer.
Definition: OgreBitwise.h:98
AnyNumeric & operator+=(const AnyNumeric &rhs)
Definition: OgreAny.h:350
@ TU_DYNAMIC_WRITE_ONLY_DISCARDABLE
same as HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE
Definition: OgreTexture.h:61
Command object for alpha adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:113
void _notifyDirty(void)
Set the dirty flag and dirty frame number on this state set.
virtual ~DefaultZoneFactory()
@ OT_PATCH_30_CONTROL_POINT
Definition: OgreHlmsPso.h:89
virtual ~GL3PlusTextureManager()
Real parametric
Definition: OgreVertexIndexData.h:98
void setFontName(const String &font)
void _useLights(const LightList &lights, unsigned short limit)
Tells the rendersystem to use the attached set of lights (and no others) up to the number specified (...
virtual PageContentCollection * createContentCollection(const String &typeName)
Create a new PageContentCollection within this page.
void setRenderQueueSubGroup(uint8 subGroup)
Sets the render queue sub group.
virtual void setActiveProfile(const String &name)
Set the active profile by name.
Definition: OgreTerrainMaterialGenerator.h:219
virtual void changeEnableState(bool enabled)
virtual ~D3D11StereoDriverAMD()
virtual void removeChild(const String &name)
Removes a named element from this container.
static const IdString TexMatrixCount1
Definition: OgreHlmsUnlitMobile.h:97
void _setUavBuffer(uint8 slotIdx, UavBufferPacked *uavBuffer, ResourceAccess::ResourceAccess access, size_t offset=0, size_t sizeBytes=0)
Sets an UAV buffer at the given slot ID.
const String & getDescription() const
Get the description of this profile.
Definition: OgreTerrainMaterialGenerator.h:184
void removeAllTerrains()
Remove all terrain instances.
virtual bool isStaticBufferLockable() const
Definition: OgreRenderSystem.h:196
@ IM_USEONEWEIGHT
Use one weight per vertex when recommended (i.e.
Definition: OgreCommon.h:391
void removeEmitter(ParticleEmitter *emitter)
Removes an emitter from the system.
GL surface descriptor.
Definition: OgreGL3PlusRenderTexture.h:44
bool allowWriteAfterWrite
Definition: OgreCompositorPassComputeDef.h:91
~BillboardParticleRenderer()
const SkeletonAnimationDefVec & getAnimationDefs(void) const
Definition: OgreSkeletonDef.h:144
static CmdRotationRangeStart msRotationRangeStartCmd
Definition: OgreRotationAffector.h:111
const SharedPtr< ControllerValue< T > > & getDestination(void) const
Gets the output controller value.
Definition: OgreController.h:184
ID3D11Buffer * getD3DVertexBuffer(void) const
Get the D3D-specific vertex buffer.
TexturePtr getByName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Get a resource by name.
void swapBuffers()
Swap buffers - only useful when using multisample buffers.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:177
ValueType peekNextValue() const
Returns the next(=current) value element in the collection, without advancing to the next.
Definition: OgreIteratorWrapper.h:284
void() ImageBlur2D(uint8 *_tmpPtr, uint8 *_srcDstPtr, int32 width, int32 height, const uint8 kernel[5], const int8 kernelStart, const int8 kernelEnd)
Range is [kernelStart; kernelEnd].
Definition: OgreImageDownsampler.h:94
AxisAlignedBox(const Vector3 &min, const Vector3 &max)
Definition: OgreAxisAlignedBox.h:115
@ ID_COMPOSITOR
Definition: OgreScriptCompiler.h:802
virtual float getViewPointToPixelScale()
Many windowing systems that support HiDPI displays use special points to specify size of the windows ...
Definition: OgreRenderWindow.h:91
size_t getVboPoolIndex(void)
Definition: OgreGLES2BufferInterface.h:67
OGRE_RW_MUTEX(mNeighbourMutex)
vector< Operand >::type OperandVector
Definition: OgreShaderFunctionAtom.h:180
ConstVectorIterator< TextureUnitStates > ConstTextureUnitStateIterator
Definition: OgrePass.h:505
GL3PlusHardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer)
int getActualTop(void) const
Gets one of the actual dimensions of the viewport, a value in pixels.
vector< Function * >::type ShaderFunctionList
Definition: OgreShaderFunction.h:221
void _notifyShadowMappingBackFaceSetting(void)
Internal use.
virtual void initGPUProfiling(void)
ScriptingAllocatedObject ScriptTranslatorAlloc
Definition: OgreMemoryAllocatorConfig.h:332
void setBackgroundDiffuse(const ColourValue &bgDiffuse)
Sets the diffuse background colour.
virtual void _releaseBufferCopies(bool forceFreeUnused=false)
Internal method for releasing all temporary buffers which have been allocated using BLT_AUTOMATIC_REL...
@ SPC_LIGHTDIRECTION_VIEW_SPACE4
Definition: OgreShaderParameter.h:191
pointer address(reference x) const
Definition: OgreMemorySTLAllocator.h:143
virtual void setManualNamedConstantsFile(const String ¶mDefFile)
Specifies the name of a file from which to load named parameters mapping for a program which would no...
map< String, Overlay * >::type OverlayMap
Definition: OgreOverlayManager.h:55
Class for providing backwards-compatibility for loading version 1.10 of the .mesh format.
Definition: OgreMeshSerializerImpl.h:199
bool _fireFrameStarted()
Method for raising frame started events.
virtual void fillConstBufferData(Viewport *viewport, RenderTarget *renderTarget, IdString shaderSyntax, float *RESTRICT_ALIAS passBufferPtr) const
Fills 'passBufferPtr' with the necessary data for ForwardClustered rendering.
WaveformType waveType
Definition: OgreTextureUnitState.h:138
virtual void frameEnd(Real timeElapsed, PagedWorldSection *section)
Called when the frame ends.
Definition: OgrePageStrategy.h:93
BillboardSet(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, unsigned int poolSize=20, bool externalDataSource=false, uint8 renderQueueId=110u)
Usual constructor - this is called by the SceneManager.
bool canHandleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
Class that provides convenient interface to establish a linkage between custom user application objec...
Definition: OgreUserObjectBindings.h:50
MemoryDataStream(size_t size, bool freeOnClose=true, bool readOnly=false)
Create a stream with a brand new empty memory chunk.
void setUseOriginPlane(bool yesno)
Tell the frustum whether or not to use the originplane.
Definition: OgrePCZFrustum.h:112
@ ID_FIRST_RENDER_QUEUE
Definition: OgreScriptCompiler.h:877
MetalDepthTexture(bool shareableDepthBuffer, ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, MetalDevice *device)
void setGLMapBufferThreshold(const size_t value)
unsigned int vertexIndex
Definition: OgreVertexBoneAssignment.h:55
void setMaterial(const MaterialPtr &material)
Sets the material to use for the whole of this Item.
struct Ogre::_ConfigOption ConfigOption
Packages the details of a configuration option.
void init(const String &defaultZoneTypeName, const String &filename="none")
Initializes the manager.
~GLES2HardwareOcclusionQuery()
Object destructor.
unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
unsigned int getAdapterNumber() const
Definition: OgreD3D9Driver.h:58
BspSceneManagerFactory()
Definition: OgreBspSceneManager.h:271
virtual void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Copies the current contents of the render target to a pixelbox.
Definition: OgreNULLRenderWindow.h:55
Listener that can be hooked to an Hlms implementation for extending it with custom code.
Definition: OgreHlmsListener.h:58
Represents a Direct3D rendering resource.
Definition: OgreD3D11DeviceResource.h:40
bool isModified() const
Definition: OgrePage.h:189
void getAsQuaternion(Quaternion &out, size_t index) const
Definition: C/OgreArrayQuaternion.h:80
@ SHADER_LIGHTMAP
Definition: OgreQuake3Types.h:98
void setStateChange(Real NewValue)
@ G2D_Y_Z
Grid is in the Y/Z plane.
Definition: OgreGrid2DPageStrategy.h:56
virtual void releaseContext()
Release the render context.
FrustumCorners
Definition: OgreCompositorPassQuadDef.h:71
vector< ParameterDef >::type ParameterList
Definition: OgreStringInterface.h:75
Definition: OgreScriptTranslator.h:309
void nodeAttached(Transform &outTransform, size_t depth)
Requests memory for the given transform to be attached, transferring existing values inside to the ne...
static const IdString UvCount3
Definition: OgreHlms.h:793
D3D9HardwareBufferManagerBase()
virtual void freeInternalResourcesImpl(void)
free internal resources
@ NUM_PBSM_BLEND_MODES
Definition: OgreHlmsPbsPrerequisites.h:94
size_t triStart
Index to main triangles array, indicate the first triangle of this edge group, and all triangles of t...
Definition: OgreEdgeListBuilder.h:113
TextureAddressingMode
Definition: OgreHlmsSamplerblock.h:46
void queueForExport(const MaterialPtr &pMat, bool clearQueued=false, bool exportDefaults=false, const String &materialName="")
Queue an in-memory Material to the internal buffer for export.
HardwareAnimationDataList hwAnimationDataList
VertexElements used for hardware morph / pose animation.
Definition: OgreVertexIndexData.h:102
IdString bufferName
Definition: OgreCompositorPassComputeDef.h:87
void setComputeProgramParameters(GpuProgramParametersSharedPtr params)
Sets the Tessellation Evaluation program parameters.
bool ArrayMaskR
Definition: OgreArrayConfig.h:165
static const int MeshShiftTransp
Definition: OgreRenderQueue.h:278
virtual Real getHoldRadius() const
Get the Holding radius.
Definition: OgreGrid3DPageStrategy.h:146
void setActiveHullShader(GLSLShader *hullGpuProgram)
Set the active hull(control) shader for the next rendering state.
Struct containing information about a frame event.
Definition: OgreFrameListener.h:45
vector< UniformParameterPtr >::type UniformParameterList
Definition: OgreShaderParameter.h:566
static ArrayMaskI And(ArrayMaskI a, ArrayMaskI b)
Definition: OgreMathlibC.h:162
static IdType generateNewId()
Definition: OgreId.h:46
Implementation to create the Transform variables needed by Nodes & SceneNodes.
Definition: OgreArrayMemoryManager.h:280
virtual void setDesiredIntegerBitDepth(ushort bits)
Sets desired bit depth for integer pixel format textures.
void _notifyUniformBufferDestroyed(HardwareUniformBuffer *buf)
Notification that at hardware uniform buffer has been destroyed.
static const uint16 WORKQUEUE_LOAD_TERRAIN_PAGE_REQUEST
Definition: OgreTerrainPagedWorldSection.h:156
bool getVertexTextureUnitsShared(void) const
Get whether the vertex texture units are shared with the fragment processor.
Definition: OgreRenderSystemCapabilities.h:805
static D3D11_COMPARISON_FUNC get(CompareFunction cf)
return a D3D11 equivalent for a Ogre CompareFunction value
void setFPS(int iFPS)
Sets the frames per second - plugin may or may not use this.
Definition: OgreExternalTextureSource.h:119
const CompositorNodeVec & getNodeSequence(void) const
Definition: OgreCompositorWorkspace.h:296
@ FRUSTUM_PLANE_FAR
Definition: OgreFrustum.h:73
A class that provides extra processing services on CPU based programs.
Definition: OgreShaderProgramProcessor.h:49
void deleteMatchingResources(const String &filePattern, const String &groupName=DEFAULT_RESOURCE_GROUP_NAME, const String &locationPattern=BLANKSTRING)
Delete all matching resource files.
MapIterator< ChildContainerMap > ChildContainerIterator
Definition: OgreOverlayContainer.h:62
static RenderSystemCapabilitiesManager & getSingleton(void)
Override standard Singleton retrieval.
bool getOverlaysEnabled(void) const
Returns whether or not Overlay objects (created in the SceneManager) are displayed in this viewport.
void blit(const PixelBox &src)
Blits a set of values into the entire map.
void setMaxPixelError(Real pixerr)
Set the maximum screen pixel error that should be allowed when rendering.
Definition: OgreTerrain.h:1988
void update(void)
Update data.
void setDefaultStagingBufferlifetime(uint32 lifetime, uint32 unfencedTime)
Sets the default time for staging buffers.
String getDataType() const
Returns the type of the data that supported by this codec as a String.
Definition: OgreImageCodec.h:79
#define OGRE_THREAD_SYNCHRONISER(sync)
Definition: OgreThreadDefinesBoost.h:36
@ LB_BlendSubtract
Definition: OgreShaderExLayeredBlending.h:57
Definition: OgrePrerequisites.h:683
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
static PropertyType getTypeForValue(const Matrix4 &val)
Definition: OgreProperty.h:171
virtual void touch(void)
'Touches' the resource to indicate it has been used.
static const IdString FirstValidDetailMapNm
Definition: OgreHlmsPbs.h:383
virtual RenderWindow * _initialise(bool autoCreateWindow, const String &windowTitle="OGRE Render Window")
Start up the renderer using the settings selected (Or the defaults if none have been selected).
NameGenerator(const String &prefix)
Definition: OgreNameGenerator.h:66
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
@ VP_RTT_READ_ONLY_DEPTH
Assume stencil is read only (it's a hint, not an enforcement)
Definition: OgreViewport.h:49
virtual void destroyAnimation(const String &name)
Destroys an Animation.
String getOptimisedSource(void)
Gets he optimised GLSL source.
Definition: OgreGLSLESShader.h:106
void getTerrainVectorAlign(const Vector3 &inVec, Alignment align, Vector3 *outVec) const
Translate a vector from world space to local terrain space based on a specified alignment.
FastArray< size_t > const * mSlotStarts
Definition: OgreSkeletonAnimation.h:63
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
const D3DADAPTER_IDENTIFIER9 & getAdapterIdentifier() const
Definition: OgreD3D9Driver.h:59
#define OGRE_LOCK_RW_MUTEX_WRITE(name)
Definition: OgreThreadDefinesBoost.h:64
void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Overridden - see RenderTarget.
virtual void _makeProjectionMatrix(const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
Builds a perspective projection matrix suitable for this render system.
Definition: OgreNULLRenderSystem.h:146
virtual void setCellRangeMinY(int32 minY)
Set the index range of all cells (values outside this will be ignored)
@ TEXGEN_LIGHTMAP
Definition: OgreQuake3Types.h:128
virtual void _removePortal(Portal *removePortal)
Remove a portal from the zone.
void _addNode(PCZSceneNode *)
Adds an SceneNode to this Zone.
void setSplitPoints(const SplitPointList &newSplitPoints, Real blend=0.125, Real fade=0.313)
Manually configure a new splitting scheme.
@ ACT_INVERSE_WORLDVIEW_MATRIX
The current world & view matrices concatenated, then inverted.
Definition: OgreGpuProgramParams.h:964
Endian
The endianness of written files.
Definition: OgreSerializer.h:61
virtual bool getCullIndividually(void) const
Returns whether or not particles in this are tested individually for culling.
Real getInnerSizeX(void) const
Gets the x component of the area inside the ellipsoid which doesn't emit particles.
VectorImpl::difference_type difference_type
Definition: OgreCommon.h:482
bool mEnabled
Definition: OgreSkeletonAnimation.h:65
HLSLProgramProcessor()
Class constructor.
void updateSceneGraph()
Updates the scene: Perform high level culling, Node transforms and entity animations.
void redefine(const Vector3 &rkPoint0, const Vector3 &rkPoint1, const Vector3 &rkPoint2)
Redefine this plane based on 3 points.
D3D11HLSLProgram * pixelShader
Definition: OgreD3D11HlmsPso.h:56
bool removeAllShaderBasedTechniques(const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Remove all shader based techniques of the given material.
virtual void destroyStaticGeometry(v1::StaticGeometry *geom)
Remove & destroy a StaticGeometry instance.
ConstVectorIterator< LodValueArray > LodValueIterator
Definition: OgreMaterial.h:93
static const IdString UvAtlas3
Definition: OgreHlmsUnlitMobile.h:146
A GeometryBucket is a the lowest level bucket where geometry with the same vertex & index format is s...
Definition: OgreStaticGeometry.h:194
Records the assignment of a single vertex to a single bone with the corresponding weight.
Definition: OgreVertexBoneAssignment.h:54
Profile(const String &profileName, ProfileSampleFlags::ProfileSampleFlags flags, uint32 groupID=(uint32) OGREPROF_USER_DEFAULT)
uint32 getQueryFlags(void) const
Returns the query flags relevant for this object.
virtual RenderTexture * createRenderTexture(const String &name, const GLES2SurfaceDesc &target, bool writeGamma, uint fsaa)=0
Create a texture rendertarget object.
Manages Font resources, parsing .fontdef files and generally organising them.
Definition: OgreFontManager.h:45
Implementation of a general purpose request / response style background work queue.
Definition: OgreDefaultWorkQueueStandard.h:39
virtual void defineTerrain(long x, long y, const String &filename)
Define the content of a 'slot' in the terrain grid.
const String & getName() const
Get the name of the plugin.
virtual void instanceBatchCullFrustumThreaded(const Camera *frustum, const Camera *lodCamera, uint32 combinedVisibilityFlags)
Definition: OgreInstanceBatchHW.h:97
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Override so we can attach the depth buffer to the FBO.
virtual const DriverVersion & getDriverVersion(void) const
Returns the driver version.
Definition: OgreRenderSystem.h:1113
bool getEnabled() const
Gets whether this profiler is enabled.
bool hasAnimation(IdString name) const
void freeImportData()
Destroy temp import resources.
virtual Real _getDerivedLeft(void)
Gets the 'left' position as derived from own left and that of parents.
SceneCtlAllocatedObject ShadowDataAlloc
Definition: OgreMemoryAllocatorConfig.h:333
virtual StreamSerialiser * _writePageStream(PageID pageID)
Get a serialiser set up to write Page data for the given PageID.
ParticleSystemRendererFactory()
Definition: OgreParticleSystemRenderer.h:133
virtual bool getInheritOrientation(void) const
Returns true if this OldNode is affected by orientation applied to the parent OldNode.
Command object for cull_each (see ParamCommand).
Definition: OgreParticleSystem.h:92
void setInputName(const String &sIN)
Sets an input file name - if needed by plugin.
Definition: OgreExternalTextureSource.h:115
virtual Terrain::ImportData & getDefaultImportSettings()
Retrieve a shared structure which will provide the base settings for all terrains created via this gr...
Definition: OgreTerrainGroup.h:108
Real getMaxPixelError() const
Get the maximum screen pixel error that should be allowed when rendering.
Definition: OgreTerrain.h:1981
This abstract node represents an import statement.
Definition: OgreScriptCompiler.h:161
const SceneManagerMetaData * getSceneManagerMetaData(const String &typeName) const
Get more information about a given type of SceneManager.
Real mTimeToLive
Time to live, number of seconds left of particles natural life.
Definition: OgreParticle.h:94
@ INSTANCING_CULLING_THREADED
Definition: OgreSceneManager.h:130
Definition: OgreCompositorPass.h:52
int mNumFaces
Definition: OgreQuake3Level.h:139
bool hasNegativeScale() const
Determines if this matrix involves a negative scaling.
Definition: OgreMatrix4.h:545
virtual void colour(const ColourValue &col)
Add a vertex colour to a vertex.
A very simple spline class which implements the Catmull-Rom class of splines.
Definition: OgreSimpleSpline.h:56
const GpuLogicalBufferStructPtr & getIntLogicalBufferStruct() const
Get the current list of mappings from low-level logical param indexes to physical buffer locations in...
Definition: OgreGpuProgramParams.h:1846
virtual ~EmbeddedZipArchiveFactory()
virtual void viewportAdded(const RenderTargetViewportEvent &evt)
Called to notify listener that a Viewport has been added to the target in question.
Definition: OgreRenderTargetListener.h:134
virtual void readData(size_t offset, size_t length, void *pDest)=0
Reads data from the buffer and places it in the memory pointed to by pDest.
size_t getNumNodeTracks(void) const
Gets the number of NodeAnimationTrack objects contained in this animation.
Controller< Real > * controller
Definition: OgreTextureUnitState.h:143
void generateConstantDefinitionArrayEntries(const String ¶mName, const GpuConstantDefinition &baseDef)
Generate additional constant entries for arrays based on a base definition.
virtual bool isStereoEnabled(const String &renderWindowName)
void setSize(uint16 newSize)
Set the size of terrain in vertices along one side.
bool _fireFrameRenderingQueued(FrameEvent &evt)
Method for raising frame rendering queued events.
size_t calculateMaxNumInstances(const SubMesh *baseSubMesh, uint16 flags) const
short int16
Definition: OgrePlatform.h:454
virtual void bindBufferGS(uint16 slot)
Definition: OgreNULLConstBufferPacked.h:49
map< String, SceneManager * >::type Instances
Scene manager instances, indexed by instance name.
Definition: OgreSceneManagerEnumerator.h:93
void clearAllInterNodeConnections(void)
Clears all the connection between channels of the nodes (.
String toString() const
Returns the parameter name and the usage mask like this 'color.xyz'.
map< String, ParticleSystemRendererFactory * >::type ParticleSystemRendererFactoryMap
Definition: OgreParticleSystemManager.h:85
virtual void setCellRangeMaxY(int32 maxY)
Set the index range of all cells (values outside this will be ignored)
const CompositorChannelVec & getExternalRenderTargets(void) const
Usually by convention the RenderTarget[0] is the one we're rendering to. May be empty.
Definition: OgreCompositorWorkspace.h:307
void releaseRenderBuffer(const GLES2SurfaceDesc &surface)
Release a render buffer.
void _finishSwitchingFullscreen()
Indicate that fullscreen / windowed switching has finished.
bool hasSceneManager(const String &instanceName) const
Determines if a given SceneManager already exists.
float mVpLeft
Viewport's region to draw.
Definition: OgreCompositorPassDef.h:94
CG Language program processor class.
Definition: OgreShaderHLSLProgramProcessor.h:47
CategorisedAlignAllocPolicy< Ogre::MEMCATEGORY_RESOURCE > ResourceSimdAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:274
HardwareBufferLockGuard()
Definition: OgreHardwareBuffer.h:357
@ GPV_ALL
Full mask (16-bit)
Definition: OgreGpuProgramParams.h:139
virtual void postLoadImpl()
overridden from Resource
float mDetailNormalWeight[4]
Definition: OgrePbsMobileShaderCreationData.h:61
bool _getBuffersMarkedForAnimation(void) const
Are buffers already marked as vertex animated?
Definition: OgreEntity.h:655
bool isManualBone(Bone *bone)
Returns true if the bone is manually controlled.
bool contains(const Vector3 &v) const
Tests whether the given point contained by this box.
@ BoolTrue
Definition: OgreTextureDefinition.h:69
virtual void frameEnd(Real timeElapsed)
Called when the frame ends.
const HlmsDatablockMap & getDatablocks(void) const
Returns all registered datablocks.
Definition: OgreHlmsManager.h:265
vector< uint16 >::type BlockIdxVec
Definition: OgreHlmsManager.h:77
Real getDuration(void) const
Gets animation length, in seconds.
virtual DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const =0
Codes the data in the input stream and saves the result in the output stream.
GeneralAllocatedObject MeshLodAlloc
Definition: OgreLodPrerequisites.h:70
void connectBuffer(IdString outNode, uint32 outChannel, IdString inNode, uint32 inChannel)
Connects outNode's output buffer channel to inNode's input buffer channel.
@ GCT_MATRIX_4X2
Definition: OgreGpuProgramParams.h:86
FORCEINLINE const SimpleMatrixAf4x3 & _getLocalSpaceTransform(void) const
Gets the transformation matrix for this bone in local space (i.e.
Definition: OgreBone.h:268
virtual void resetToBaseValue(void)
@ ID_SPECULAR
Definition: OgreScriptCompiler.h:647
void setGlobalNumberOfInstances(const size_t val)
Sets the global number of instances.
virtual bool isPrepared(void) const
Returns true if the Resource has been prepared, false otherwise.
Definition: OgreResource.h:336
@ HBL_READ_ONLY
Lock the buffer for reading only.
Definition: OgreHardwareBuffer.h:134
static DWORD get(LayerBlendSource lbs, bool perStageConstants)
return a D3D9 equivalent for a Ogre LayerBlendSource value
size_t bytesPerVertex
Definition: OgreSubMesh2.h:289
unsigned long long int RequestID
Numeric identifier for a request.
Definition: OgreWorkQueue.h:80
bool isVSyncEnabled() const
RenderWindow::isVSyncEnabled
uint8 mStartingSlot
Max value (0xff) means don't alter it.
Definition: OgreCompositorPassUavDef.h:106
virtual void setResponseProcessingTimeLimit(unsigned long ms)=0
Set the time limit imposed on the processing of responses in a single frame, in milliseconds (0 indic...
bool getPoseHalfPrecision()
Definition: OgreSubMesh2.h:207
StrideChanger()
Definition: OgreGLES2VaoManager.h:62
A interface class defining a listener which can be used to receive notifications of frame events.
Definition: OgreFrameListener.h:80
const Matrix4 & _getParentNodeFullTransform(void) const
Returns the full transformation of the parent sceneNode or the attachingPoint node.
void bindDrawId(void)
Binds the Draw ID to the currently bound vertex array object.
BufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface)
Generic constructor.
@ ANT_VARIABLE_ACCESS
Definition: OgreScriptCompiler.h:84
virtual void preRenderTargetUpdate(const RenderTargetEvent &evt)
Called just before a RenderTarget is about to be rendered into.
Definition: OgreRenderTargetListener.h:100
virtual bool requiresTextureFlipping(void) const
Definition: OgreGL3PlusDepthTexture.h:105
EGLDisplay getGLDisplay()
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
Vector3 getForceVector(void) const
Gets the force vector to apply to the particles in a system.
virtual ~GpuProgramManager()
void setPosition(Real left, Real top)
Sets the position of the top-left corner of the element, relative to the screen size (1....
ImageDownsampler2D downscale2x_Float32_X
Definition: OgreImageDownsampler.h:148
static D3D_FEATURE_LEVEL parseFeatureLevel(const Ogre::String &value, D3D_FEATURE_LEVEL fallback)
virtual ~AndroidEGLSupport()
IdString const * blendModeIndex
Definition: OgreUnlitProperty.h:133
static const IdString UvDiffuse0
UV source # assigned to each texture.
Definition: OgreUnlitProperty.h:75
virtual const String & getTargetLanguage() const
Return the target language of this processor.
Definition: OgreShaderHLSLProgramProcessor.h:60
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:142
static void Set(ArrayReal &dst, Real val, size_t index)
Definition: OgreMathlibC.h:278
bool _isUpdatingRenderablesHlms(void) const
virtual const String & getType(void) const =0
Get the type of the object to be created.
Definition: OgreAPKFileSystemArchive.h:84
HardwareIndexBufferSharedPtr getSharedIndexBuffer(uint16 batchSize, uint16 vdatasize, size_t vertexIncrement, uint16 xoffset, uint16 yoffset, uint16 numSkirtRowsCols, uint16 skirtRowColSkip)
Get a shared index buffer for a given number of settings.
@ CopySrc
Definition: OgreResourceTransition.h:55
@ PF_D24_UNORM_S8_UINT
Depth texture format.
Definition: OgrePixelFormat.h:338
void _setTwin(SceneMemoryMgrTypes memoryManagerType, ObjectMemoryManager *twinMemoryManager)
@See mMemoryManagerType
virtual PixelFormat getNativeFormat(TextureType ttype, PixelFormat format, int usage)
Gets the format which will be natively used for a requested format given the constraints of the curre...
VectorIterator< PoseRefList > PoseRefIterator
Definition: OgreKeyFrame.h:235
virtual ParticleEmitter * createEmitter(ParticleSystem *psys)=0
Creates a new emitter instance.
virtual void attachRenderTarget(RenderTarget &target)
Attaches the passed render target to the render system.
@ SHADOWMAP_PSSM
Definition: OgreCompositorShadowNodeDef.h:52
@ ID_EQUAL
Definition: OgreScriptCompiler.h:677
static GLenum getGLImageInternalFormat(PixelFormat format)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format for i...
bool isSupported(void) const
Indicates if this technique is supported by the current graphics card.
@ SPC_COLOR_SPECULAR
Specular color.
Definition: OgreShaderParameter.h:273
const String & getResourceType(void) const
Gets a string identifying the type of resource this manager handles.
Definition: OgreResourceManager.h:488
const String & getMovableType(void) const
Returns the type name of this object.
Animation * getAnimation(unsigned short index) const
Gets a single animation by index.
virtual ~Win32EGLWindow()
virtual Real getSquaredViewDepth(const Camera *camera) const
Overridden from Renderable.
@ NEGATIVE_SIDE
Definition: OgrePlane.h:88
@ PF_R16G16_SINT
32-bit pixel format, 16 bits red (signed int), 16 bits blue (signed int).
Definition: OgrePixelFormat.h:194
virtual void passPreExecute(CompositorPass *pass)
Called when each pass is about to be executed.
Definition: OgreCompositorWorkspaceListener.h:61
String doGet(const void *target) const
bool volumeVisible
Another visibility flag to be user setable.
Definition: OgreVolumeChunk.h:115
virtual Real getMaxTimeToLive(void) const
Gets the maximum time each particle will live for.
TexturePtr createManual(const String &name, const String &group, TextureType texType, uint width, uint height, int numMipmaps, PixelFormat format, int usage=TU_DEFAULT, ManualResourceLoader *loader=0, bool hwGammaCorrection=false, uint fsaa=0, const String &fsaaHint=BLANKSTRING, bool explicitResolve=false, bool shareableDepthBuffer=true)
Create a manual texture with a depth of 1 (not loaded from a file).
Definition: OgreTextureManager.h:367
void applyToNode(Node *node, const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
As the 'apply' method but applies to a specified OldNode instead of associated node.
virtual Item * createItem(const MeshPtr &pMesh, SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Create an Item (instance of a discrete mesh).
MovableObjectFactory()
Definition: OgreMovableObject.h:604
void blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
HlmsTexturePack()
Definition: OgreHlmsTexturePack.h:67
bool mIsTransparent
This value calculated by HlmsManager::getBlendblock.
Definition: OgreHlmsDatablock.h:168
~Billboard()
Default destructor.
uint8 _getDynamicBufferCurrentFrameNoWait(void) const
Definition: OgreVaoManager.h:429
virtual void read(Quaternion *q, size_t count=1)
const String & getNameStr(void) const
Definition: OgreSkeletonDef.h:141
VertexArrayObject * vao
Definition: OgreCbDrawCall.h:63
ushort newLodIndex
New level of detail index.
Definition: OgreLodListener.h:88
@ ID_DEPTH_BIAS
Definition: OgreScriptCompiler.h:671
vector< AutoConstantEntry >::type AutoConstantList
Definition: OgreGpuProgramParams.h:1446
Ogre assumes that there are separate programs to deal with but GLSL has one program object that repre...
Definition: OgreGLSLProgramManager.h:53
void setDatablock(IdString datablockName)
Sets the given HLMS datablock to all SubEntities.
virtual const String & getName() const
Get the name of this section.
Definition: OgrePagedWorldSection.h:99
virtual void _setComputePso(const HlmsComputePso *pso)
Unlike _setPipelineStateObject, the RenderSystem will check if the PSO has changed to avoid redundant...
map< String, ParamDictionary >::type ParamDictionaryMap
Definition: OgreStringInterface.h:151
vector< CompositorTargetDef >::type CompositorTargetDefVec
Definition: OgreCompositorNodeDef.h:46
void setCommonUpVector(const Vector3 &vec)
Use this to specify the common up-vector given to billboards of type BBT_PERPENDICULAR_SELF.
@ MEMCATEGORY_RENDERSYS
Rendersystem structures.
Definition: OgreMemoryAllocatorConfig.h:176
void setTextureUvSource(PbsMobileTextureTypes sourceType, uint8 uvSet)
Sets which UV set to use for the given texture.
Definition: OgreHlmsDatablock.h:216
static String vendorToString(GPUVendor v)
Convert a vendor enum to a string.
virtual void flipVisibility(bool cascade=true)
Inverts the visibility of all objects attached to this node.
virtual void flushUAVs(void)=0
Forces to take effect all the queued UAV binding requests.
@ PF_A2R10G10B10
32-bit pixel format, 2 bits for alpha, 10 bits for red, green and blue.
Definition: OgrePixelFormat.h:108
bool operator==(const Radian &r) const
Definition: OgreMath.h:82
const GpuLogicalBufferStructPtr & getBoolLogicalBufferStruct() const
Get the current list of mappings from low-level logical param indexes to physical buffer locations in...
Definition: OgreGpuProgramParams.h:1858
virtual const String & getType() const
virtual void setMemoryBudget(size_t bytes)
Set a limit on the amount of memory this resource handler may use.
Definition: OgreLodWorkQueueInjectorListener.h:38
const BlockIdxVec & _getActiveBlocksIndices(const HlmsBasicBlock &blockType) const
Gets the indices of active blocks.
@ ACT_LIGHT_ATTENUATION
Light attenuation parameters, Vector4(range, constant, linear, quadric)
Definition: OgreGpuProgramParams.h:1032
uint8 elementCount
The number of colour elements this semantic uses (usually standard per semantic)
Definition: OgreTerrainMaterialGenerator.h:79
@ PBSM_BLEND_DIFFERENCE
Definition: OgreHlmsPbsPrerequisites.h:93
GLSLShader(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
virtual size_t skipLine(const String &delim="\n")
Skip a single line from the stream.
@ FFP_VS_POST_PROCESS
Definition: OgreShaderFFPRenderState.h:51
ImageDownsampler2D downscale2x_A8
Definition: OgreImageDownsampler.h:61
FFPShaderStage
Definition: OgreShaderFFPRenderState.h:69
void removeAllCullingPlanes(void)
Remove all culling planes.
void doSet(void *target, const String &val)
virtual void _render(const v1::CbDrawCallStrip *cmd)
const Vector3 & getDirection() const
Get the direction vector of the portal in local space.
Definition: OgrePortalBase.h:125
virtual void injectionCompleted(LodWorkQueueRequest *request)=0
const String & getOriginalBuffer() const
Definition: OgreHlmsCommon.h:129
static const IdString Forward3DNumSlices
Definition: OgreHlms.h:837
virtual ~GL3PlusNullPixelBuffer()
static ArrayMaskI Or(ArrayMaskI a, ArrayMaskI b)
Definition: OgreMathlibC.h:218
static const IdString PassId
Definition: OgreHlmsLowLevel.h:108
bool hasLogicalIndexedParameters() const
Does this parameter set include logically indexed parameters?
Definition: OgreGpuProgramParams.h:1549
void load(uint16 depthStart, uint16 depthEnd)
Load node and children in a depth range (perform GPU tasks, will be render thread)
void getHSB(Real *hue, Real *saturation, Real *brightness) const
Convert the current colour to Hue, Saturation and Brightness values.
@ CB_SET_CONSTANT_BUFFER_GS
Definition: OgreCbCommon.h:48
virtual bool preCreateGpuPrograms(ProgramSet *programSet)
bool hasTessellationDomainProgram(void) const
Returns true if this pass uses a programmable tessellation control pipeline.
Definition: OgrePass.h:194
SceneMemoryMgrTypes getMemoryManagerType() const
Definition: OgreObjectMemoryManager.h:92
void _setInstancesPerBatch(size_t instancesPerBatch)
Raises an exception if trying to change it after being built.
Real getSpaceWidth() const
bool validateMaterialIlluminationPasses(const String &schemeName, const String &materialName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Validate specific material scheme.
float org[3]
Definition: OgreQuake3Types.h:196
const ContentCollectionFactoryMap & getContentCollectionFactories() const
Get a reference to the registered strategies.
void setBorderMaterialName(const String &name)
Sets the name of the material to use for the borders.
static const IdString TextureMatrix
Definition: OgreUnlitProperty.h:47
Nested struct defining a resource declaration.
Definition: OgreResourceGroupManager.h:275
void setKeepDeclarationOrder(bool keepOrder)
Sets whether or not to keep the original declaration order when queuing the renderables.
Definition: OgreManualObject.h:395
static void _configureMeshLodUsage(const LodConfig &lodConfig)
Definition: OgreLodCollapseCostProfiler.h:43
void setEnabled(bool value)
enable the portal
Definition: OgrePortalBase.h:156
void setConfigOption(const String &name, const String &value)
See RenderSystem.
Real dx
Definition: OgreDualQuaternion.h:166
GL3PlusSupport * getGLSupport()
Definition: GLX/OgreGL3PlusUtil.h:36
@ WFT_INVERSE_SAWTOOTH
Gradual steady decrease from max to min over the period, with an instant return to max at the end.
Definition: OgreCommon.h:304
Specialisation of GLSLESProgramCommon to provide support for separable programs via the Open GL progr...
Definition: OgreGLSLESProgramPipeline.h:71
Viewport * getLastViewport(void) const
Get the last viewport which was attached to this camera.
Definition: OgreCamera.h:573
Log * setDefaultLog(Log *newLog)
Sets the passed in log as the default log.
void scheduleForUpdate(ConstBufferPoolUser *dirtyUser)
@ PROP_VECTOR3
Definition: OgreProperty.h:116
String validateConfig(void)
Make sure all the extra options are valid.
@ PBSM_BLEND_NORMAL_NON_PREMUL
Regular alpha blending.
Definition: OgreHlmsPbsPrerequisites.h:80
@ HLMS_USER3
Definition: OgreHlmsCommon.h:175
@ IT_16BIT
Definition: OgreHardwareIndexBuffer.h:52
const LodValueArray * _getLodValueArray(void) const
Definition: OgreMesh.h:1037
size_t write(const void *buf, size_t count)
Write the requisite number of bytes from the stream (only applicable to streams that are not read-onl...
virtual void getShadowCamera(const SceneManager *sm, const Camera *cam, const Light *light, Camera *texCam, size_t iteration, const Vector2 &viewportRealSize) const
Default shadow camera setup.
virtual const LightList & getLights(void) const =0
Gets a list of lights, ordered relative to how close they are to this renderable.
void enableClipPlane(ushort index, bool enable)
Terrain * raySelectNeighbour(const Ray &ray, Real distanceLimit=0)
Utility method to pick a neighbour based on a ray.
AnimationStateSet(const AnimationStateSet &rhs)
Create an animation set by copying the contents of another.
HardwareUniformBufferSharedPtr(HardwareUniformBuffer *buf)
virtual bool getPassSurfaceAndLightStates(void) const
Returns whether a vertex program wants light and material states to be passed through fixed pipeline ...
Definition: OgreGpuProgram.h:400
virtual ~CgFxScriptLoader()
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
CbShaderBuffer(ShaderType shaderType, uint16 _slot, TexBufferPacked *_bufferPacked, uint32 _bindOffset, uint32 _bindSizeBytes)
@ VSOCP_HIGH
Definition: OgreShaderPrerequisites.h:90
static void translateProgramParameters(ScriptCompiler *compiler, GpuProgramParametersSharedPtr params, ObjectAbstractNode *obj)
unsigned short getNumSubMeshes(void) const
Gets the number of sub meshes which comprise this mesh.
virtual void _renderEmulated(const CbDrawCallIndexed *cmd)
String doGet(const void *target) const
String getErrorDescription(long errorNumber)
Utility function for getting a better description of an error code.
Command object for specifying transparency (see ParamCommand).
Definition: OgrePanelOverlayElement.h:122
void setSelfIllumination(const ColourValue &selfIllum)
Sets the amount of self-illumination of every Pass in every Technique.
unsigned short getIndex(void) const
Gets the index of this Pass in the parent Technique.
Definition: OgrePass.h:205
void clear()
Empties this set of all particles.
virtual ~GL3PlusDepthPixelBuffer()
void _keyFrameDataChanged(void) const
Internal method used to tell the track that keyframe data has been changed, which may cause it to reb...
void _beginFrame(void)
See RenderSystem.
virtual unsigned short _getEmissionCount(Real timeElapsed)=0
Gets the number of particles which this emitter would like to emit based on the time elapsed.
void getVector(const Vector3 &inVec, Vector3 *outVec) const
Translate a vector into world space based on the alignment options.
ImageDownsamplerCube downscale2x_sRGB_XXXA8888_cube
Definition: OgreImageDownsampler.h:192
void destroyBlendblock(const HlmsBlendblock *Blendblock)
Block(size_t _offset, size_t _size)
Definition: OgreGLES2VaoManager.h:55
@ SPC_POSTOLIGHT_WORLD_SPACE6
Definition: OgreShaderParameter.h:143
@ ID_BLEND_TEXTURE_ALPHA
Definition: OgreScriptCompiler.h:764
void _updatePortalZoneData(void)
Check/Update the zone data for every portal in the scene.
virtual ~PlaneOptimalShadowCameraSetup()
Destructor.
@See HlmsPso.
Definition: OgreD3D11HlmsPso.h:46
Class to do pixel format mapping between GL and OGRE.
Definition: OgreGL3PlusPixelFormat.h:40
static String FACTORY_TYPE_NAME
Definition: OgreAntiPortal.h:59
OverlayElement * cloneOverlayElementFromTemplate(const String &templateName, const String &instanceName)
virtual void initialiseFromRenderSystemCapabilities(RenderSystemCapabilities *caps, RenderTarget *primary)
Initialize the render system from the capabilities.
Definition: OgreScriptTranslator.h:269
static const IdString BlendModeIdx2
Definition: OgreHlmsUnlitMobile.h:127
static CommandBufferExecuteFunc execute_drawV1Indexed
Definition: OgreCommandBuffer.h:94
const Vector3 & getPosition() const
Get the world position of the terrain centre.
Definition: OgreTerrain.h:1101
D3D11RenderSystem * getD3D11RenderSystem(void) const
Definition: OgreD3D11VaoManager.h:272
void getRenderOperation(RenderOperation &op, bool casterPass)
Overridden - see Renderable.
@ PF_R8_SINT
8-bit pixel format, 8 bits red (signed int).
Definition: OgrePixelFormat.h:184
bool intersects(const Plane &plane) const
Returns whether or not this sphere intersects a plane.
Definition: OgreSphere.h:89
void setMaxCalculableBoneCount(ushort count)
Sets the maximum number of bones for which hardware skinning is performed.
Definition: OgreShaderExHardwareSkinning.h:255
virtual void destroy(void)=0
Destroys the window.
virtual void optimise(void)
Optimise the current track by removing any duplicate keyframes.
Definition: OgreAnimationTrack.h:228
bool getCastShadows(void) const
Returns whether shadow casting is enabled for this object.
void copyMatchingState(AnimationStateSet *target) const
Copy the state of any matching animation states from this to another.
static DWORD get(ShadeOptions so)
return a D3D9 equivalent for a Ogre ShadeOptions value
@ PASS_DEPTHCOPY
Definition: OgreCompositorPassDef.h:56
virtual Animation * getAnimation(unsigned short index) const
Gets a single morph animation by index.
LodWorkQueueInjectorListener * getInjectorListener()
Definition: OgreLodWorkQueueInjector.h:59
vector< SceneNode * >::type SceneNodeList
Definition: OgreSceneManager.h:328
bool isNull(void) const
Definition: OgreSharedPtr.h:308
const VertexData * vertexData
Pointer to vertex data used by this edge group.
Definition: OgreEdgeListBuilder.h:108
list< AntiPortal * >::type AntiPortalList
Definition: OgrePCZone.h:72
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
@ ACT_COSTIME_0_2PI
Cosine of "Time0_2PI". Equivalent to RenderMonkey's "CosTime0_2PI".
Definition: OgreGpuProgramParams.h:1205
void walkOctree(OctreeCamera *, RenderQueue *, Octree *, VisibleObjectsBoundsInfo *visibleBounds, bool foundvisible, bool onlyShadowCasters)
Walks through the octree, adding any visible objects to the render queue.
vector< bool >::type mWrittenPositions
Definition: OgreInstanceBatchHW_VTF.h:110
const PixelBox & getCurrentLock()
Get the current locked region.
GpuProgramParametersSharedPtr createParameters()
Creates a new parameters object compatible with this program definition.
LODBucket * getParent(void)
Definition: OgreStaticGeometry.h:283
PropertyType
The type of a property.
Definition: OgreProperty.h:106
void _setSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendOperation op)
ArrayAabb()
Definition: C/OgreArrayAabb.h:75
size_t getThreadIdx() const
Definition: OgreThreads.h:104
void doSet(void *target, const String &val)
int planenum
Definition: OgreQuake3Types.h:237
reverse_iterator rbegin()
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:273
LodOutputProviderCompressedBuffer(v1::MeshPtr mesh)
static Real Log(Real fValue)
Definition: OgreMath.h:345
Definition: OgreD3D11DepthBuffer.h:37
CompositorTargetDef * addTargetPass(const String &renderTargetName, uint32 rtIndex=0)
Adds a new Target pass.
Class for performing a radix sort (fast comparison-less sort based on byte value) on various standard...
Definition: OgreRadixSort.h:89
static const IdString DiffuseMapCount4
Definition: OgreHlmsUnlitMobile.h:112
@ PF_UNKNOWN
Unknown pixel format.
Definition: OgrePixelFormat.h:46
void destroyNumericTrack(unsigned short handle)
Destroys the numeric track with the given handle.
void _setDimensions(Real width, Real height)
Sets the width and height of this element in relation to the screen (where 1.0 = screen width)
Matrix4 transpose(void) const
Definition: OgreMatrix4.h:394
bool operator!=(const VectorRange &rhs) const
comparison operator for inequality
Definition: OgreIteratorRange.h:164
void setTexBuffer(uint8 slotIdx, TexBufferPacked *texBuffer, size_t offset=0, size_t sizeBytes=0)
Sets a texture buffer at the given slot ID.
ushort previousLodIndex
Previous level of detail index.
Definition: OgreLodListener.h:85
@ OT_PATCH_9_CONTROL_POINT
Definition: OgreHlmsPso.h:68
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from VolumeSource.
virtual void setTimeToLive(Real minTtl, Real maxTtl)
Sets the range of lifetime for particles emitted.
void doSet(void *target, const String &val)
RenderSystemCapabilities * getMutableCapabilities()
Get a pointer to the current capabilities being used by the RenderSystem.
Definition: OgreRenderSystem.h:208
bool operator==(const Plane &rhs) const
Comparison operator.
Definition: OgrePlane.h:155
This is a class that is the DirectX9 implementation of hardware occlusion testing.
Definition: OgreD3D9HardwareOcclusionQuery.h:55
const TextureSources & getTextureSources(void) const
Definition: OgreCompositorPassQuadDef.h:128
void invalidateScheme(const String &schemeName)
Invalidate a given scheme.
@ CLIPPED_SOME
Partially clipped.
Definition: OgreCommon.h:923
Material & operator=(const Material &rhs)
Assignment operator to allow easy copying between materials.
@ VET_FLOAT2
Definition: OgreVertexElements.h:73
Real * ptr()
Pointer accessor for direct copying.
Definition: OgreQuaternion.h:124
Archive * createInstance(const String &name, bool readOnly)
Creates a new object.
Definition: OgreAPKZipArchive.h:50
const Radian & getRotationSpeedRangeEnd(void) const
Gets the maximum rotation speed of particles to be emitted.
String doGet(const void *target) const
virtual void setOutputOperationType(OperationType operationType)
Set the operation type that this geometry program will emit.
Definition: OgreGLSLShader.h:127
void doSet(void *target, const String &val)
OGRE_MUTEX(mThreadInitMutex)
void addNotExists(const T &item)
Definition: OgreVectorSetImpl.h:40
AbstractNodeList overrides
Definition: OgreScriptCompiler.h:134
vector< Threshold >::type ThresholdVec
Definition: OgreHlmsTextureManager.h:94
@ CookTorranceSeparateDiffuseFresnel
Definition: OgreHlmsPbsDatablock.h:138
GL3PlusRenderToVertexBuffer()
Definition: OgreException.h:245
bool operator==(IdString right) const
Definition: OgreCompositorPass.h:59
Abstract factory class.
Definition: OgreFactoryObj.h:45
@ PBSM_BLEND_MULTIPLY
Definition: OgreHlmsPbsPrerequisites.h:85
void _notifySkeleton(v1::SkeletonPtr &pSkel)
Internal notification, used to tell the Mesh which Skeleton to use without loading it.
@ ACT_SPOTLIGHT_VIEWPROJ_MATRIX
The view/projection matrix of a given spotlight.
Definition: OgreGpuProgramParams.h:1154
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Override so we can attach the depth buffer to the FBO.
static D3DFORMAT _getPF(PixelFormat ogrePF)
utility method, convert Ogre pixel format to D3D9 pixel format
SharedPtr< FileInfoList > FileInfoListPtr
Definition: OgreArchive.h:68
CompareFunction mDepthFunc
Definition: OgreHlmsDatablock.h:82
::EGLContext createNewContext(EGLDisplay eglDisplay, ::EGLConfig glconfig, ::EGLContext shareList) const
void addQuadTextureSource(size_t texUnitIdx, const String &textureName, size_t mrtIndex)
Indicates the pass to change the texture units to use the specified texture sources.
@ ST_EXTERIOR_CLOSE
Definition: OgreSceneManager.h:3317
SharedPtr< Font > FontPtr
Definition: OgreOverlayPrerequisites.h:49
list< VertexElement >::type VertexElementList
Defines the list of vertex elements that makes up this declaration.
Definition: OgreHardwareVertexBuffer.h:288
IndexPositionMode
Definition: OgreShaderExTextureAtlasSampler.h:217
@ TextureVTF
Needs Vertex Texture Fetch & SM 3.0+.
Definition: OgreInstanceManager.h:71
@ CB_SET_VAO
Definition: OgreCbCommon.h:38
const HighLevelGpuProgramPtr & _getDelegate() const
Get the chosen delegate.
bsp_node_t * mNodes
Definition: OgreQuake3Level.h:126
static size_t getTypeSize(VertexElementType etype)
Utility method for helping to calculate offsets.
unsigned short getSource(void) const
Gets the vertex buffer index from where this element draws it's values.
Definition: OgreHardwareVertexBuffer.h:132
@ VES_BLEND_INDICES
Blending indices.
Definition: OgreVertexElements.h:45
void setTransformAnimation(const TextureTransformType ttype, const WaveformType waveType, Real base=0, Real frequency=1, Real phase=0, Real amplitude=1)
Sets up a general time-relative texture modification effect.
virtual void preExtraThreadsStarted()=0
Tell the rendersystem to perform any prep tasks it needs to directly before other threads which might...
virtual void _update(void)
Overridden from OverlayElement.
These are "default" or "Base" properties common to many implementations and thus defined here.
Definition: OgreHlms.h:771
static const AxisAlignedBox BOX_INFINITE
Definition: OgreAxisAlignedBox.h:838
float * getFloatPointer(size_t pos)
Get a pointer to the 'nth' item in the float buffer.
Definition: OgreGpuProgramParams.h:1895
void unbind(RenderTarget *target)
Unbind a certain render target.
Definition: OgreGL3PlusFBORenderTexture.h:73
String name
Definition: OgreCommon.h:931
GpuResource * rttOrBuffer
Definition: OgreCompositorPass.h:69
void setNode(SceneNode *sn)
Set the SceneNode the Portal is associated with.
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
const SubMeshNameMap & getSubMeshNameMap(void) const
Gets a reference to the optional name assignments of the SubMeshes.
Definition: OgreMesh2.h:201
uint32 mClearBufferFlags
Definition: OgreCompositorPassClearDef.h:50
Predefined controller value for getting / setting a texture coordinate modifications (scales and tran...
Definition: OgreTextureAnimationController.h:22
virtual void swapBuffers(void)
Swaps the frame buffers to display the next frame.
void setNumMipmaps(int numMipmaps)
Sets how many mipmaps have been requested for the texture.
void setExcludeNode(SceneNode *excludeNode)
set node to exclude from query
Definition: OgrePCZSceneQuery.h:87
const String & getTypeName(void) const
See OverlayElement.
virtual v1::Animation * createAnimation(const String &name, Real length)
Creates an animation which can be used to animate scene nodes.
ForwardPlusBase * _getActivePassForwardPlus(void)
Definition: OgreSceneManager.h:1347
BufferInterface * getBufferInterface(void) const
Definition: OgreBufferPacked.h:206
ArrayVector3 getMinimum() const
Gets the minimum corner of the box.
virtual_l2 Quaternion convertWorldToLocalOrientation(const Quaternion &worldOrientation)
Gets the local orientation, relative to this node, of the given world-space orientation.
static D3D11_CULL_MODE get(CullingMode cm, bool flip=false)
return a D3D11 equivalent for a Ogre CillingMode value
~GL3PlusDefaultHardwareBufferManager()
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:189
void _addToDynamicBatchList(InstanceBatch *dynamicBatch)
Kees the batch in the dynamic batch list so that it gets updated every frame.
String name
Definition: OgreConfigOptionMap.h:51
virtual ~Listener()
Definition: OgreMovableObject.h:75
void defragmentBatches(bool optimizeCulling)
After creating many entities (which turns in many batches) and then removing entities that are in the...
void setNormalTexture(const TexturePtr &normalTex, uint16 normalIdx)
@ BP_TYPE_INDEX
Definition: OgreBufferPacked.h:85
static const IdString UvDetail2
Definition: OgreHlmsPbs.h:371
uint32 getTypeFlags(void) const
virtual const VertexElement & insertElement(unsigned short atPosition, unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
Inserts a new VertexElement at a given position in this declaration.
@ CB_SET_TEXTURE
Definition: OgreCbCommon.h:61
float mNormalMapWeight
Definition: OgrePbsMobileShaderCreationData.h:60
bool sharesSkeletonInstance() const
Returns whether this Item shares it's SkeltonInstance with other Item instances.
virtual SceneNode * createSceneNode(SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Creates an instance of a SceneNode.
@ PF_ASTC_SRGB8A8_6X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 6x6)
Definition: OgrePixelFormat.h:297
void setOctant(Octree *o)
Sets the Octree in which this OctreeNode resides.
Definition: OgreOctreeZone.h:231
String dataType() const
Returns the type of the data.
Definition: OgreImageCodec.h:72
static const IdString UseTextureAlpha
Definition: OgreHlmsPbs.h:342
Matrix4(Real m00, Real m01, Real m02, Real m03, Real m10, Real m11, Real m12, Real m13, Real m20, Real m21, Real m22, Real m23, Real m30, Real m31, Real m32, Real m33)
Definition: OgreMatrix4.h:102
Factory for GL Frame Buffer Objects, and related things.
Definition: OgreGL3PlusFBORenderTexture.h:61
static void assertSorted(const v1::Mesh::LodValueArray &values)
Assert that the LOD values are sorted from greatest detail to least detail.
@ ACT_SINTIME_0_X
Sine of "Time0_X". Equivalent to RenderMonkey's "SinTime0_X".
Definition: OgreGpuProgramParams.h:1177
@ STALL_NONE
Next map will not stall.
Definition: OgreStagingBuffer.h:40
void setTextureUScroll(Real value)
As setTextureScroll, but sets only U value.
FileInfoListPtr listResourceFileInfo(const String &groupName, bool dirs=false)
List all files in a resource group with accompanying information.
D3DFORMAT getFormat() const
Definition: OgreD3D9VideoMode.h:55
Radian operator*(Real f) const
Definition: OgreMath.h:74
@ TEX_TYPE_2D_ARRAY
2D texture array
Definition: OgreTexture.h:99
Definition: OgreLodData.h:87
void resize(unsigned int width, unsigned int height)
Alter the size of the window.
CSGNoiseSource(const Source *src, Real *frequencies, Real *amplitudes, size_t numOctaves, long seed)
Constructor.
Fog sub render state implementation of the Fixed Function Pipeline.
Definition: OgreShaderFFPFog.h:51
vector< const SceneManagerMetaData * >::type MetaDataList
List of available scene manager types as meta data.
Definition: OgreSceneManagerEnumerator.h:95
virtual BackgroundProcessTicket initialiseResourceGroup(const String &name, Listener *listener=0)
Initialise a resource group in the background.
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
const VertexBoneAssignmentVec & getBoneAssignments()
Gets a const reference to the list of bone assignments.
Definition: OgreSubMesh2.h:145
void setSpotlightInnerAngle(const Radian &val)
Sets the angle covered by the spotlights inner cone.
void uninstall()
Perform the final plugin uninstallation sequence.
void setMaximumZ(Real z)
Definition: OgreAxisAlignedBox.h:241
void setReceiveDynamicShadowsEnabled(bool enabled)
Whether to support dynamic texture shadows received from other objects, on the terrain (default true)...
Technique & operator=(const Technique &rhs)
Overloaded operator to copy on Technique to another.
static const IdString DiffuseMapCount3
Definition: OgreHlmsUnlitMobile.h:111
virtual bool contains(Real x, Real y) const
Returns true if xy is within the constraints of the component.
const String & getName(void) const
Returns the name of the node.
Definition: OgreNode.h:205
virtual void bakeLodLevel(LodData *data, int lodIndex)
RenderTexture * getRenderTarget(size_t)
Get a render target for this PixelBuffer, or a slice of it.
bool _isSM4Available() const
Definition: OgreTerrainMaterialGeneratorA.h:147
void stop()
Stop anything special.
static CmdForceVector msForceVectorCmd
Command objects.
Definition: OgreLinearForceAffector.h:103
void swapBuffers()
RenderWindow::swapBuffers
@ ID_KEEP_PREVIOUS_UAV
Definition: OgreScriptCompiler.h:932
TextureAnimationControllerValue(Ogre::HlmsDatablock *datablock, Ogre::uint8 textureUnit)
Constructor.
virtual ~GLES2NullTexture()
AnyNumeric operator-(const AnyNumeric &rhs) const
Definition: OgreAny.h:330
ProgramManager()
Class default constructor.
static const IdString FwdPlusDecalsSlotOffset
Definition: OgreHlms.h:842
ParticleSystemTranslator()
const MaterialPtr & getMaterial(void) const
See Renderable.
static ArrayMaskI AndNot(ArrayMaskI a, ArrayMaskI b)
Definition: OgreMathlibC.h:205
FastArray(const FastArray< T > ©)
Definition: OgreFastArray.h:114
@ CE_OBJECTBASENOTFOUND
Definition: OgreScriptCompiler.h:216
static const IdString DiffuseMap
Definition: OgreHlmsPbsMobile.h:106
virtual RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
String logObjectInfo(const String &msg, const GLuint obj)
If there is a message in GL info log then post it in the Ogre Log.
void setSamplerblock(const HlmsSamplerblock &samplerblock)
Set samplerblock for every texture unit.
void setGpuBufferAllocator(GpuBufferAllocator *alloc)
Tell this instance to use the given GpuBufferAllocator.
int mMinWidth
Definition: OgreLwString.h:276
@ BCT_INT
Definition: OgreGpuProgramParams.h:52
static const IdString GgxHeightCorrelated
Definition: OgreHlmsPbs.h:407
static CmdGreenAdjust1 msGreenCmd1
Definition: OgreColourFaderAffector2.h:188
void _addCompositorTexture(IdString name, const TextureVec *texs)
Used by Compositor, tells of which compositor textures active, so Materials can access them.
SceneManager * getSceneManager() const
static const char * DiffuseMap
Definition: OgreHlmsPbs.h:324
Specialised AnimationTrack for dealing with changing vertex position information.
Definition: OgreAnimationTrack.h:603
void setDrawBuffer(ColourBufferType colourBuffer)
Sets the draw buffer type for the next frame.
bool _fireFrameEnded(FrameEvent &evt)
Method for raising frame ended events.
bool isInLightRange(const Ogre::Sphere &sphere) const
Check whether a sphere is included in the lighted area of the light.
GLES2RenderTexture(const String &name, const GLES2SurfaceDesc &target, bool writeGamma, uint fsaa)
static BspResourceManager * getSingletonPtr(void)
Override standard Singleton retrieval.
String doGet(const void *target) const
~ProgramSet()
Class destructor.
virtual unsigned short getLastBoundIndex(void) const
Gets the last bound index.
@ Halt
Definition: OgreAssert.h:45
TexBufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface, PixelFormat pf)
Definition: OgreTexBufferPacked.h:45
virtual void reposition(int leftPt, int topPt)=0
Reposition the window.
bool getUseVertexCompressionWhenAvailable() const
Get whether to allow vertex compression to be used when the material generator states that it support...
Definition: OgreTerrain.h:2103
virtual SceneNode * _createSceneNode(SceneNode *parent, NodeMemoryManager *nodeMemoryManager)
ushort getVertexProgramConstantFloatCount(void) const
The number of floating-point constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:627
size_t getTotalSizeBytes(void) const
Definition: OgreBufferPacked.h:287
virtual const GpuNamedConstants & getConstantDefinitions() const
Get the full list of named constants.
Definition: OgreGpuProgram.h:465
vector< StrideChanger >::type StrideChangerVec
Definition: OgreGL3PlusVaoManager.h:81
FileStreamDataStream(const String &name, std::fstream *s, bool freeOnClose=true)
Construct named read-write stream from an STL stream.
D3D9VideoMode * item(const String &name)
void modifyElement(unsigned short elem_index, unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
See VertexDeclaration.
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
void _dirtyNodeByMovingPortals(void)
Mark nodes dirty for every zone with moving portal in the scene.
float getViewPointToPixelScale()
RenderWindow::getViewPointToPixelScale
void _clearSliceRTT(size_t zoffset)
Lock a box.
Definition: OgreMetalHardwarePixelBuffer.h:116
void swapBuffers()
Swaps the frame buffers to display the next frame.
static ArrayMatrix4 createAllFromMatrix4(const Matrix4 &m)
Definition: C/OgreArrayMatrix4.h:148
static void SetTls(TlsHandle tlsHandle, void *value)
Mesh(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, VaoManager *vaoManager, bool isManual=false, ManualResourceLoader *loader=0)
Default constructor - used by MeshManager.
@ UNLIT_BLEND_GRAIN_EXTRACT
Definition: OgreHlmsUnlitPrerequisites.h:74
void setShaderLibraryPath(String path)
Set shader library path.
Definition: OgreGL3PlusSupport.h:114
virtual void removeRequestHandler(uint16 channel, RequestHandler *rh)
Remove a request handler.
void _setGeometryTexture(size_t unit, const TexturePtr &tex)
void convertImageToTerrainSpace(size_t x, size_t y, Real *outX, Real *outY)
Convert image space (0, imageSize) to terrain space values (0,1).
Definition: OgreMemoryAllocatorConfig.h:232
A node in the volume octree.
Definition: OgreVolumeOctreeNode.h:45
Result from a terrain ray intersection with the terrain group.
Definition: OgreTerrainGroup.h:379
virtual void setParameters(const Vector3 ¶meters)
Sets the parameters.
virtual ParticleVisualData * _createVisualData(void)
Create a new ParticleVisualData instance for attachment to a particle.
Definition: OgreParticleSystemRenderer.h:102
@ ACT_LIGHT_DIFFUSE_COLOUR_POWER_SCALED
Light diffuse colour pre-scaled by Light::setPowerScale (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1059
bool requiresTextureFlipping() const
Definition: OgreD3D11MultiRenderTarget.h:43
Definition: OgreColourInterpolatorAffector.h:40
virtual void frameStart(Real timeSinceLastFrame, PagedWorldSection *section)
Called when the frame starts.
Definition: OgrePageStrategy.h:91
T * get() const
Definition: OgreSharedPtr.h:266
void doSet(void *target, const String &val)
void removeResourceLocation(const String &name, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Removes a resource location from the list.
void importUnity(const Vector3 &colour, Real metallic, Real roughness, bool changeBrdf)
Helper function to import values from Unity (metallic workflow).
virtual void setFsaaResolveDirty(void)
Definition: OgreRenderTarget.h:178
@ GPV_GLOBAL
No variation except by manual setting - the default.
Definition: OgreGpuProgramParams.h:129
uint16 getYOffset() const
Get the vertical offset into the main terrain data of this node.
Definition: OgreTerrainQuadTreeNode.h:101
uint32 mUpdateCounter
Definition: OgreShaderParams.h:144
void setEnableAnimationMatrix(uint8 textureUnit, bool bEnable)
Enables the animation of the given texture unit.
Class defining the common interface which classes can use to present a reflection-style,...
Definition: OgreStringInterface.h:163
void doSet(void *target, const String &val)
const StencilParams & getStencilBufferParams(void) const
Definition: OgreRenderSystem.h:1062
virtual int getNumber(void) const
Gets the error code.
virtual void calculateHash()
Calculates the hashes needed for sorting by the RenderQueue (i.e. mTextureHash)
virtual bool queryResult(MovableObject *obj, Real distance)=0
Called when a movable objects intersects the ray.
Factory for PCZones.
Definition: OgrePCZoneFactory.h:51
virtual void calculateHashFor(Renderable *renderable, uint32 &outHash, uint32 &outCasterHash)
Called by the renderable when either it changes the material, or its properties change (e....
ConstBufferPool(uint32 bytesPerSlot, const ExtraBufferParams &extraBufferParams)
SceneQuery::WorldFragment fragment
Definition: OgreBspNode.h:150
ArrayReal intersects(const ArrayAabb &aabb) const
Returns whether or not this sphere intersects another sphere.
const String & getTextureName(void) const
Get the name of current texture image for this layer.
@ ACT_LIGHT_POSITION_ARRAY
Array of light positions in world space (count set by extra param)
Definition: OgreGpuProgramParams.h:1073
@ RSC_POINT_EXTENDED_PARAMETERS_EXT
Support for point parameters EXT implementation.
Definition: OgreRenderSystemCapabilities.h:235
NormalsIterator getNormalsIterator(void)
Gets an iterator over all the vertex offsets.
static size_t calculateSizeBytes(uint32 width, uint32 height, uint32 depth, uint32 slices, PixelFormat format, uint8 numMipmaps)
WARNING: numMipmaps includes the mip 0.
void _unprepare(void)
Internal method for undoing the load preparartion for this pass.
Real getTimeAdjust(size_t index) const
uint32 getWidth(void) const
Gets the width of the image in pixels.
@ CNT_VARIABLE_ASSIGN
Definition: OgreScriptCompiler.h:52
virtual bool isVSyncEnabled() const
Indicates whether vertical sync is activated for the window.
Definition: OgreRenderWindow.h:167
@ LL_NORMAL
Definition: OgreLog.h:60
int8 kernelEndX
Definition: OgreImageDownsampler.h:218
~BillboardSetFactory()
Definition: OgreBillboardSet.h:845
void exportNamedConstants(const GpuNamedConstants *pConsts, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
void getWorldTransforms(Matrix4 *xform) const
See Renderable.
virtual void windowClosed(RenderWindow *rw)
Definition: OgreWindowEventUtilities.h:105
virtual const String & getFriendlyName(void) const =0
Returns the friendly name of the render system.
void shutdown(void)
See RenderSystem.
@ ID_PLANAR
Definition: OgreScriptCompiler.h:777
D3D9ResourceCreationPolicy
Definition: OgreD3D9ResourceManager.h:36
Definition: OgreSkeletonTrack.h:41
virtual int getExecutionOrder() const
bool operator!=(const iterator_range &rhs) const
comparison operator for inequality
Definition: OgreIteratorRange.h:101
virtual_l2 uint32 getVisibilityMask(void) const
Gets a mask which is bitwise 'and'ed with objects own visibility masks to determine if the object is ...
Definition: OgreSceneManager.h:3032
bool getKeepParticlesInLocalSpace(void) const
Gets whether particles (and any affector effects) remain relative to the node the particle system is ...
Definition: OgreParticleSystem.h:579
virtual ~FactoryObj()
Definition: OgreFactoryObj.h:47
void setKeyFrameTransform(Real frame, uint32 slot, const Vector3 &vPos, const Quaternion &qRot, const Vector3 vScale)
virtual void _setPointSpritesEnabled(bool enabled)=0
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) o...
static void toQuotedStr(FilterOptions value, String &outString)
virtual void _renderEmulatedNoBaseInstance(const CbDrawCallIndexed *cmd)
bool getOptionValues(const String &key, StringVector &refValueList)
Method for getting all possible values for a specific option.
const Vector3 & getFrom(void) const
Gets the back lower left corner of the cell.
Definition: OgreVolumeOctreeNode.h:208
A single volume chunk mesh.
Definition: OgreVolumeChunk.h:142
static const IdString UvAtlas0
Definition: OgreHlmsUnlitMobile.h:143
PCZSceneNodeList mNodes
Public list of SceneNodes attached to this particular octree.
Definition: OgreOctreeZoneOctree.h:163
size_t texUnitIdx
Index of texture unit state to change.
Definition: OgreCompositorPassQuadDef.h:54
virtual void setMaxChainElements(size_t maxElements)
Set the maximum number of chain elements per chain.
static void mul(const ArrayQuaternion &inQ, ArrayVector3 &inOutVec)
Rotates a vector by multiplying the quaternion to the vector, and modifies it's contents by storing t...
void addLayer(uint8 index, Real worldSize=0, const StringVector *textureNames=0)
Add a new layer to this terrain at a specific index.
SubRenderState()
Class default constructor.
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgrePass.h:1096
void setSpecular(Real red, Real green, Real blue, Real alpha)
Sets the specular colour reflectance properties of this pass.
void addQueryFlags(uint32 flags)
As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this ob...
const Matrix4 & getWorldViewMatrix(void) const
float widthFactor
Definition: OgreTextureDefinition.h:85
@ ID_CHECK
Definition: OgreScriptCompiler.h:908
bool isHashDirty() const
Definition: OgreCommon.h:492
const ParameterPtr & getParameter() const
Returns the parameter object as weak reference.
Definition: OgreShaderFunctionAtom.h:133
PassthroughControllerFunction(bool deltaInput=false)
Constructor.
String doGet(const void *target) const
float getBlendMaskEntry(size_t boneHandle) const
Get the weight for the bone identified by the given handle.
Definition: OgreAnimationState.h:168
VertexData(HardwareBufferManagerBase *mgr=0)
Constructor.
const String & getMovableType(void) const
Overridden from MovableObject.
void setProgramName(const String &name, bool resetParams=true)
Sets the name of the program to use.
ARGB getAsARGB(void) const
Retrieves colour as ARGB.
virtual void removeListener(Listener *l)
Remove a listener to this camera.
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
virtual void switchMode(uint &width, uint &height, short &frequency)
const Real * ptr() const
Pointer accessor for direct copying.
Definition: OgreDualQuaternion.h:129
virtual SubRenderState * getGeneratedSubRenderState(const String &typeName)
Returns a sub render state of a given name which has already been created for material currently bein...
virtual RenderWindow * newWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
vector< ObjectMemoryManager * >::type ObjectMemoryManagerVec
Definition: OgreSceneManager.h:156
Real currentTimePercent
The current percentage of frame time this profile has taken.
Definition: OgreProfiler.h:265
@ PF_ASTC_SRGB8A8_12X12_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 12x12)
Definition: OgrePixelFormat.h:315
~GLES2FBOMultiRenderTarget()
vector< Plugin * >::type PluginInstanceList
Definition: OgreRoot.h:127
Utility class to cache PSOs.
Definition: OgrePsoCacheHelper.h:123
void updateExistingVpls(void)
Does nothing if build hasn't been called yet.
static const ColourValue Green
Definition: OgreColourValue.h:64
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
Item * clone(const String &newName) const
Clones this Item and returns a pointer to the clone.
InvalidCallException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:247
Real getLoadingOrder(void) const
Gets the relative loading order of scripts of this type.
Definition: OgreGL3PlusTexBufferEmulatedPacked.h:40
InvalidParametersException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:217
Real getDetailMapWeight(uint8 detailMap) const
uint16 getNumLodLevelsPerLeaf() const
Get the number of LOD levels in a leaf of the terrain quadtree.
Definition: OgreTerrain.h:1245
~Operand()
Class destructor.
void detachFromProgramObject(const GLuint programObject)
@ PrePassNone
This is a normal pass.
Definition: OgreCommon.h:85
@ RSC_INFINITE_FAR_PLANE
Supports infinite far plane projection.
Definition: OgreRenderSystemCapabilities.h:113
ParameterPtr resolveLocalParameter(Parameter::Semantic semantic, int index, const Parameter::Content content, GpuConstantType type)
Resolve local parameter of this function
RawSimdUniquePtr()
Definition: OgreRawPtr.h:57
@ M_SUBMESH_BONE_ASSIGNMENT
Definition: OgreMeshFileFormat.h:199
ImageDownsamplerCube downscale2x_Signed_X8_cube
Definition: OgreImageDownsampler.h:125
@ SHADER_FUNC_TRIANGLE
Definition: OgreQuake3Types.h:111
virtual ~GLES2HardwareIndexBuffer()
void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
virtual void removeRequestHandler(uint16 channel, RequestHandler *rh)=0
Remove a request handler.
virtual Real getHorizontalTexelOffset(void)=0
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
@ OT_TRIANGLE_FAN
A fan of triangles, 3 vertices for the first triangle, and 1 per triangle after that.
Definition: OgreHlmsPso.h:58
const HlmsMacroblock * getMacroblock(void) const
Retrieves current macroblock.
virtual void setLightmapEnabled(bool enabled)
Whether to support a light map over the terrain in the shader, if it's present (default true).
Definition: OgreTerrainMaterialGenerator.h:316
Archive * createInstance(const String &name, bool readOnly)
Creates a new object.
Definition: OgreFileSystem.h:134
bool preferDepthTexture
Definition: OgreTextureDefinition.h:95
VectorRange(typename T::iterator b, typename T::iterator e)
Constructor.
Definition: OgreIteratorRange.h:157
@ ID_SRC_MANUAL
Definition: OgreScriptCompiler.h:772
Definition of the interface for a collection of PageContent instances.
Definition: OgrePageContentCollection.h:56
Cache mCache
Definition: OgreHlmsDiskCache.h:169
virtual void licenseExpired(HardwareBuffer *buffer)=0
This method is called when the buffer license is expired and is about to be returned to the shared po...
D3DFORMAT getBackBufferFormat() const
vector< const Chunk * >::type VecChunk
A list of Chunks.
Definition: OgreVolumeChunk.h:433
@ SPC_POSTOLIGHT_VIEW_SPACE3
Definition: OgreShaderParameter.h:150
Definition: OgreNULLVaoManager.h:38
void blit(const HardwarePixelBufferSharedPtr &src)
Convenience function that blits the entire source pixel buffer to this buffer.
virtual void _notifyResourceLoaded(Resource *res)
Notify this manager that a resource which it manages has been loaded.
Definition: OgreHlmsPbsMobile.h:101
SharedPtr< DataStream > DataStreamPtr
Definition: OgrePrerequisites.h:348
Definition: OgreD3D11DepthTexture.h:107
SkeletonVersion
Skeleton compatibility versions.
Definition: OgreSkeletonSerializer.h:42
virtual void destroySceneNode(const String &name)
Deletes a scene node.
ArrayMaskR intersects(const ArrayAabb &aabb) const
Returns whether or not this sphere intersects another sphere.
map< String, ParticleEmitterFactory * >::type ParticleEmitterFactoryMap
Definition: OgreParticleSystemManager.h:84
int mPrecision
Definition: OgreLwString.h:275
const String * getNameStr(IdString name) const
Returns the string name associated with its hashed name (this was passed as refName in @createDatablo...
static GLenum getGLOriginDataType(PixelFormat format)
Takes the OGRE pixel format and returns type that must be provided to GL as data type for reading it ...
uint16 texUnit
Definition: OgreCbTexture.h:37
virtual const String & getName(void) const
Retrieve target's name.
void setShadowFarDistance(Real distance)
Sets the maximum distance away from the camera that shadows by this light will be visible.
uint32 bottom
Definition: OgreCommon.h:839
void declareResource(const String &name, const String &resourceType, const String &groupName, ManualResourceLoader *loader, const NameValuePairList &loadParameters=NameValuePairList())
Declares a resource to be a part of a resource group, allowing you to load and unload it as part of t...
void setInstanceDataStepRate(const size_t val)
Set the number of instances to draw using the same per-instance data before advancing in the buffer b...
Class to hold a dictionary of parameters for a single class.
Definition: OgreStringInterface.h:90
ID3D11HullShader * getHullShader(void) const
HlmsProperty(IdString _keyName, int32 _value)
Definition: OgreHlmsCommon.h:137
virtual void setShadowDirLightTextureOffset(Real offset)
Sets the proportional distance which a texture shadow which is generated from a directional light wil...
Definition: OgreSceneManager.h:2776
void addPoint(const Vector3 &p)
Adds a control point to the end of the spline.
virtual void workspacePreUpdate(CompositorWorkspace *workspace)
Called before all nodes are going to be updated.
Definition: OgreCompositorWorkspaceListener.h:52
String doGet(const void *target) const
GLES2RenderToVertexBuffer()
C'tor.
virtual size_t _asyncDownload(BufferPacked *source, size_t srcOffset, size_t srcLength)
Copies the GPU data in BufferPacked to the StagingBuffer so that it can be later read by the CPU usin...
virtual void removeTerrain(long x, long y)
Remove a specific terrain slot.
virtual void removeNode(PCZSceneNode *)=0
Removes all references to a SceneNode from this PCZone.
void setIrradianceCellSize(const Vector3 &cellSize)
Definition: OgreIrradianceVolume.h:111
void clearOutputConnections(void)
Clears the connection from the "final output RenderTarget" (i.e.
vector< LodData >::type LodsData
Definition: OgreTerrainLodManager.h:58
SubMeshLodGeometryLink * geometry
Definition: OgreStaticGeometry.h:177
HlmsUnlitMobileDatablock(IdString name, Hlms *creator, const HlmsMacroblock *macroblock, const HlmsBlendblock *blendblock, const HlmsParamVec ¶ms)
Valid parameters in params:
const AutoConstantEntry * _findRawAutoConstantEntryBool(size_t physicalIndex)
Finds an auto constant that's affecting a given physical position in the boolean buffer.
Class encapsulating a standard 4x4 homogeneous matrix.
Definition: OgreMatrix4.h:80
Command object for setting entry point.
Definition: OgreMetalProgram.h:70
ImageDownsampler2D downscale2x_Signed_XX88
Definition: OgreImageDownsampler.h:113
void _render(const RenderOperation &op)
const String & getMaterialName(void) const
Get the material name.
Definition: OgreStaticGeometry.h:285
Definition: OgreScriptTranslator.h:317
const StrategyMap & getStrategies() const
Get a reference to the registered strategies.
virtual bool unprepareProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to unprepare page content procedurally.
Definition: OgrePageManager.h:92
Class representing an image file.
Definition: OgreImage.h:61
Definition: OgreEGLSupport.h:48
static const int TransparencyBits
Definition: OgreRenderQueue.h:260
DualCell getDualCell(size_t i) const
Gets a dual cell.
Definition: OgreVolumeDualGridGenerator.h:343
ID3D11ClassLinkage * GetClassLinkage()
Definition: OgreD3D11Device.h:62
bool watchForMax(const String &profileName)
Returns true if the specified profile reaches a new frame time maximum.
String DriverDescription() const
uint32 right
Definition: OgreCommon.h:839
virtual void processResponses()=0
Process the responses in the queue.
bool octreeVisible
Flag whether the octree is visible or not.
Definition: OgreVolumeChunk.h:109
Defines a complete set of properties for a single object instance.
Definition: OgreProperty.h:275
const Vector3 & getDerivedCorner(int index) const
Get the derived (world) coordinates of one of the portal corners.
Definition: OgrePortalBase.h:129
@ CB_SET_TEXTURE_BUFFER_GS
Definition: OgreCbCommon.h:55
Definition: OgrePrerequisites.h:627
@ FFP_PS_ALPHA_TEST
Definition: OgreShaderFFPRenderState.h:64
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
void setRotationSpeedRangeStart(const Radian &angle)
Sets the minimum rotation speed of particles to be emitted.
static ArrayMaskI Or(ArrayMaskI a, ArrayInt b)
Definition: OgreMathlibC.h:223
static MaterialManager & getSingleton(void)
Override standard Singleton retrieval.
hash< T * > MyBase
Definition: OgreSharedPtr.h:392
static Vector4 calculateFaceNormal(const Vector3 &v1, const Vector3 &v2, const Vector3 &v3)
Calculate a face normal, including the w component which is the offset from the origin.
virtual ForwardPlusMethods getForwardPlusMethod(void) const
Definition: OgreForwardClustered.h:111
uint8 _getSourceIndex(void) const
Source index reference assigned by the MultiSourceVertexBufferPool.
Definition: OgreVertexBufferPacked.h:129
Grid2DPageStrategy(PageManager *manager)
@ GCT_MATRIX_3X3
Definition: OgreGpuProgramParams.h:84
void doSet(void *target, const String &val)
@ ID_NO_GAMMA
Definition: OgreScriptCompiler.h:833
virtual void loadImpl()
overridden from Resource
ObjectData()
Definition: OgreObjectData.h:103
unsigned int getNumFrames(void) const
Gets the number of frames for a texture.
TextureUnitState(Pass *parent, const TextureUnitState &oth)
static String toString(const Matrix3 &val)
Converts a Matrix3 to a String.
bool getLoop(void) const
Returns current loop setting.
Definition: OgreSkeletonAnimation.h:129
void _notifyPreparePassHash(const Matrix4 &viewMatrix)
Real getDistance(const Vector3 &pos) const
Gets the signed distance to the dividing plane.
void setFilenameConvention(const String &prefix, const String &extension)
Set the naming convention for file names in this terrain group.
void create(const String &name, unsigned int widthPt, unsigned int heightPt, bool fullScreen, const NameValuePairList *miscParams)
Overridden - see RenderWindow.
void update(bool synchronous=false)
Trigger the update process for all terrain instances.
virtual Animation * _getAnimationImpl(const String &name, const LinkedSkeletonAnimationSource **linker=0) const
Internal accessor for animations (returns null if animation does not exist)
bool createOctreeVisualization
Whether to create the octree debug visualization entity with false as default.
Definition: OgreVolumeChunk.h:65
size_t readLine(char *buf, size_t maxCount, const String &delim="\n")
Get a single line from the stream.
virtual ~ShaderProgramWriterGLSLFactory()
Definition: OgreShaderGLSLProgramWriter.h:127
ImageBlur2D separableBlur_sRGB_AXXX8888
Definition: OgreImageDownsampler.h:206
GLES2DefaultHardwareBufferManager()
Definition: OgreGLES2DefaultHardwareBufferManager.h:163
virtual void bindBufferGS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
virtual void postCommandBufferExecution(CommandBuffer *commandBuffer)
This gets called after executing the command buffer.
void clearCodePointRanges()
Clear the list of code point ranges.
Definition: OgreFont.h:363
virtual void queueBindUAV(uint32 slot, UavBufferPacked *buffer, ResourceAccess::ResourceAccess access=ResourceAccess::ReadWrite, size_t offset=0, size_t sizeBytes=0)
See other overload.
@ SPC_POSITION_WORLD_SPACE
Position in world space.
Definition: OgreShaderParameter.h:84
GL3PlusHardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, bool useShadowBuffer)
ID3D11Texture2D * getResolvedTexture2D()
Definition: OgreD3D11Texture.h:84
CbDrawCallIndexed(int baseInstanceAndIndirectBuffers, VertexArrayObject *_vao, void *_indirectBufferOffset)
SkeletonManager()
Constructor.
virtual void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
Emulates the execution of a UAV to understand memory dependencies, and adds a memory barrier / resour...
ConstVectorIterator< MetaDataList > MetaDataIterator
Definition: OgreSceneManagerEnumerator.h:136
Real mRadius
Definition: OgreCapsule.h:64
Window DefaultRootWindow(Display *nativeDisplayType)
virtual void _findNodes(const AxisAlignedBox &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
Functions for finding Nodes that intersect various shapes.
void clear()
Definition: OgreCommon.h:624
@ RSC_TEXTURE_COMPRESSION_BC6H_BC7
Supports compressed textures in BC6H and BC7 format (DirectX feature level 11_0)
Definition: OgreRenderSystemCapabilities.h:152
void pointOrientedToScreen(Real orientedX, Real orientedY, int orientationMode, Real &screenX, Real &screenY)
virtual void _beginGeometryCount(void)
The RenderSystem will keep a count of tris rendered, this resets the count.
Definition: OgreD3D9RenderWindow.h:38
virtual void setDatablock(HlmsDatablock *datablock)
Assigns a datablock (i.e. HLMS Material) to this renderable.
uint getCharacterSpacer(void) const
Gets the spacing to allocate for font characters to overlap each other.
Radian ArrayRadian
Definition: OgreArrayConfig.h:162
static bool getGenerateAllConstantDefinitionArrayEntries()
Indicates whether all array entries will be generated and added to the definitions map.
void assign(QueuedGeometry *qsm)
Assign geometry to this bucket.
@ SPFM_FREE
Use OGRE_FREE to free (only MEMCATEGORY_GENERAL supported)
Definition: OgreSharedPtr.h:50
static const IdString DetailOffsetsN0
Definition: OgreHlmsPbsMobile.h:132
void setTextureVScale(Real value)
As setTextureScale, but sets only V value.
Definition: OgreX11EGLSupport.h:81
virtual void loadImpl()
overridden from Resource
void setConstant(size_t index, const Matrix4 &m)
Sets a Matrix4 parameter to the program.
virtual ~D3D11ConstBufferPacked()
bool hasReservation(void) const
See PlanarReflections::reserve.
ParticleIterator _getIterator(void)
Returns an iterator for stepping through all particles in this system.
Real getMinimumDepthInputValue(void)
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
Definition: OgreGL3PlusRenderSystem.h:503
TagPoint * attachObjectToBone(const String &boneName, MovableObject *pMovable, const Quaternion &offsetOrientation=Quaternion::IDENTITY, const Vector3 &offsetPosition=Vector3::ZERO)
Attaches another object to a certain bone of the skeleton which this entity uses.
size_t sizeBytes
Definition: OgreCompositorPassUavDef.h:85
bool isDepthWriteEnabled(void) const
Is depth writing going to occur on this technique?
virtual bool getOption(const String &strKey, void *pDestValue)
Method for getting the value of an implementation-specific Scene Manager option.
Definition: OgreSceneManager.h:1862
uint8 getNumUvSets(void) const
Calculates the amount of UV sets used by the datablock.
GLuint getGLProgramPipelineHandle() const
GL Program Pipeline Handle.
Definition: OgreGLSLSeparableProgram.h:86
static CommandBufferExecuteFunc execute_setConstantBufferDS
Definition: OgreCommandBuffer.h:78
@ ACT_LIGHT_DIRECTION_VIEW_SPACE_ARRAY
Array of light directions in view space (count set by extra param)
Definition: OgreGpuProgramParams.h:1083
Manages Overlay objects, parsing them from .overlay files and storing a lookup library of them.
Definition: OgreCgFxScriptLoader.h:48
void prepare(StreamSerialiser &stream)
Prepare node from a stream.
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
virtual void beginGPUSampleProfile(const String &name, uint32 *hashCache)
vector< CompositorPass * >::type CompositorPassVec
Definition: OgreCompositorCommon.h:56
size_type size() const
Definition: OgreCommon.h:515
void _buildBoneIndexMap(void)
Builds mBlendIndexToBoneIndexMap based on mBoneAssignments.
void swapBuffers()
Overridden - see RenderWindow.
bool isLeafVisible(const BspNode *leaf) const
Determines if the passed in node (must also be a leaf) is visible from this leaf.
virtual String doGet(const void *target) const =0
Implementation of CompositorPass This implementation will copy one DepthBuffer to another DepthBuffer...
Definition: OgreCompositorPassDepthCopy.h:57
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
virtual void copyFrom(const SubRenderState &rhs)
virtual v1::Entity * createEntity(const v1::MeshPtr &pMesh, SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Create an Entity (instance of a discrete mesh).
void save(StreamSerialiser &stream)
Save this data to a stream.
PCZone * updateNodeHomeZone(PCZSceneNode *pczsn, bool allowBackTouces)
Update a node's home zone.
VertexData * vertexData
Definition: OgreStaticGeometry.h:147
void removeListener(LogListener *listener)
ushort getGeometryProgramConstantIntCount(void) const
The number of integer constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:647
virtual ~EmscriptenEGLWindow()
static void WaitForThreads(size_t numThreadHandles, const ThreadHandlePtr *threadHandles)
Waits until all threads are finished.
This file configures Ogre's memory allocators.
AnimationState * getAnimationState(const String &name) const
Get an animation state by the name of the animation.
virtual void bindGpuProgramParameters(GpuProgramType gptype, GpuProgramParametersSharedPtr params, uint16 variabilityMask)=0
Bind Gpu program parameters.
GL3PlusOldVertexArrayObject()
void applyToVertexData(VertexData *data, Real timePos, Real weight=1.0)
Applies all vertex tracks given a specific time point and weight to the specified vertex data.
virtual ~GLES2ConstBufferPacked()
RenderSystem * getRenderSystemByName(const String &name)
Retrieve a pointer to the render system by the given name.
OctreeCamera(const String &name, SceneManager *sm)
virtual void bindBufferGS(uint16 slot)
static const IdString ForwardPlusFineLightMask
Definition: OgreHlms.h:835
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
See HardwareBuffer.
SceneManager * getCreator(void) const
Gets the creator of this scene node.
Definition: OgreSceneNode.h:181
void setTessellationDomainProgramParameters(GpuProgramParametersSharedPtr params)
Sets the Tessellation Domain program parameters.
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
Log * createLog(const String &name, bool defaultLog=false, bool debuggerOutput=true, bool suppressFileOutput=false)
Creates a new log with the given name.
Endian
The endianness of files.
Definition: OgreStreamSerialiser.h:72
vector< OldBone * >::type BoneList
Definition: OgreSkeleton.h:177
const Vector4 & _getCustomParam(InstancedEntity *instancedEntity, unsigned char idx)
PbsBlendModes
Definition: OgreHlmsPbsPrerequisites.h:78
SceneManager * getSceneManager(void) const
Returns a pointer to the SceneManager this camera is rendering through.
void update(bool synchronous=false)
Trigger the update process for the terrain.
bool degenerate
Indicates if this is a degenerate edge, ie it does not have 2 triangles.
Definition: OgreEdgeListBuilder.h:86
const BspLevelPtr & getLevel(void)
Definition: OgreBspSceneManager.h:147
static void splitFilename(const String &qualifiedName, String &outBasename, String &outPath)
Method for splitting a fully qualified filename into the base name and path.
virtual ~GL3PlusTexBufferEmulatedPacked()
SceneManager * createSceneManager(const String &typeName, size_t numWorkerThreads, InstancingThreadedCullingMethod threadedCullingMethod, const String &instanceName=BLANKSTRING)
Create a SceneManager instance of a given type.
virtual void bindBufferPS(uint16 slot)
const String & getPreprocessorDefines(void) const
Sets the preprocessor defines use to compile the program.
Definition: OgreD3D9HLSLProgram.h:186
D3D9DepthBuffer(uint16 poolId, D3D9RenderSystem *renderSystem, IDirect3DDevice9 *creator, IDirect3DSurface9 *depthBufferSurf, D3DFORMAT fmt, uint32 width, uint32 height, uint32 fsaa, uint32 multiSampleQuality, bool isManual)
Real getMinimumDepthInputValue(void)
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
RayResult(bool _hit, Terrain *_terrain, const Vector3 &_pos)
Definition: OgreTerrainGroup.h:387
virtual bool requiresTextureFlipping() const
Definition: OgreMetalNullTexture.h:107
void removePose(ushort index)
Destroy a pose by index.
virtual void _setDatablock(HlmsDatablock *datablock)
Sets the HLMS material this renderer must use; called by ParticleSystem.
~Grid3DPageStrategyData()
void swapBuffers()
Swaps the frame buffers to display the next frame.
void _makeProjectionMatrix(const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
Builds a perspective projection matrix suitable for this render system.
Archive * createInstance(const String &name, bool readOnly)
Creates a new object.
Definition: OgreZip.h:119
SharedPtr< ShadowCameraSetup > ShadowCameraSetupPtr
Definition: OgrePrerequisites.h:359
value_type * pointer
Definition: OgreMemorySTLAllocator.h:87
NativeDisplayType getNativeDisplay()
int getInternalExecutionOrder() const
Get an internal execution order within a group of this function atom.
iterator erasePOD(iterator first, iterator last)
Definition: OgreFastArray.h:262
void loadFromSource(void)
Internal load implementation, must be implemented by subclasses.
bool frameStarted(const FrameEvent &evt)
Called when a frame is about to begin rendering.
void _getRenderOperation(RenderOperation &rend, ushort lodIndex, bool casterPass)
Returns a RenderOperation structure required to render this mesh.
virtual void detachAllBones(void)
Detaches all bones from from this SceneNode. It is safe to use directly.
virtual void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest, bool forGpuProgram=false)=0
Converts a uniform projection matrix to suitable for this render system.
static Real AngleUnitsToRadians(Real units)
Convert from the current AngleUnit to radians.
void enableClipPlane(ushort index, bool enable)
See RenderSystem.
void roll(const Radian &angle)
Rolls the camera anticlockwise, around its local z axis.
int backing_store
Definition: OgreX11EGLSupport.h:90
Vector4(const Vector3 &rhs)
Definition: OgreVector4.h:93
virtual void setFormat(PixelFormat pf)
Sets the pixel format for the texture surface; can only be set before load().
bool getOptionKeys(StringVector &refKeys)
Method for getting all the implementation-specific options of the scene manager.
void _destroyDepthBuffer(RenderWindow *pRenderWnd)
String doGet(const void *target) const
SceneManager * mCurrentSceneManager
Needs to be set directly before calling createInstance.
Definition: OgreParticleSystemRenderer.h:136
void clearScene(void)
Overridden from SceneManager.
vector< IndexBufferInfo >::type IndexBufferInfoList
Definition: OgreLodData.h:143
virtual void setValue(const AnyNumeric &val)
Set the value at this keyframe.
virtual void windowMoved(RenderWindow *rw)
Definition: OgreWindowEventUtilities.h:73
void _setActiveSceneManager(SceneManager *sceneManager)
Set the active scene manager against which new render states are compiled.
virtual void setStrategy(const String &stratName)
Change the page strategy.
ParticleEmitter * createEmitter(ParticleSystem *psys)
See ParticleEmitterFactory.
Definition: OgreCylinderEmitterFactory.h:55
uint32 getPrimitiveCount(void) const
Definition: OgreVertexArrayObject.h:114
bool hasCorrectAntipodalityHandling()
Only applicable for dual quaternion skinning.
ImageBlur2D separableBlur_Signed_A8
Definition: OgreImageDownsampler.h:137
Definition: OgreNULLHardwarePixelBuffer.h:37
void _releaseManualHardwareResources()
Definition: OgreManualObject.h:127
virtual void notifyCamera(Camera *cam)
Notify a section of the current camera.
Definition: OgrePageContent.h:73
static double saturate(double t)
Definition: OgreMath.h:373
bool isHardwareFilteringSupported(TextureType ttype, PixelFormat format, int usage, bool preciseFormatOnly=false)
Returns whether this render system has hardware filtering supported for the texture format requested ...
void setEnabled(bool bEnabled)
Definition: OgreCompositorWorkspace.h:169
CSGCubeSource(const Vector3 &min, const Vector3 &max)
Constructor.
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
virtual void resourceGroupScriptingStarted(const String &groupName, size_t scriptCount)=0
This event is fired when a resource group begins parsing scripts.
float invDivisor
Definition: OgrePbsMobileShaderCreationData.h:49
void notifyControlPointBufferDeallocated(void)
Convenience method for telling the patch that the control points have been deleted,...
Definition: OgrePatchSurface.h:175
GLuint getGlTextureId(void) const
Definition: OgreGL3PlusTextureBuffer.h:79
static CmdAlphaAdjust2 msAlphaCmd2
Definition: OgreColourFaderAffector2.h:193
virtual void setFSAA(uint fsaa, const String &fsaaHint, bool explicitResolve)
Set the level of multisample AA to be used if this texture is a rendertarget.
Definition: OgreTexture.h:207
unsigned int flags
Definition: OgreQuake3Shader.h:69
bool getMipmapsHardwareGenerated(void) const
Are mipmaps hardware generated?
Definition: OgreTexture.h:158
EdgeData * getEdgeList() const
Definition: OgreStaticGeometry.h:351
String doGet(const void *target) const
@ PASS_COMPUTE
Definition: OgreCompositorPassDef.h:59
pthread_t _getOsHandle() const
Internal use.
Definition: OgreThreads.h:116
void * getDataPtr(size_t offset) const
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:67
IDirect3DSurface9 * getDepthBufferSurface() const
virtual ~IsoSurface(void)
virtual void bindBufferVS(uint16 slot, size_t offset=0, size_t sizeBytes=0)=0
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
HighLevelGpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
static const IdString HasPlanarReflections
Definition: OgreUnlitProperty.h:49
void yaw(const Radian &angle)
Rotates the camera anticlockwise around it's local y axis.
LwString & a(const M &a0, const N &a1, const O &a2, const P &a3, const Q &a4, const R &a5, const S &a6, const S &a7)
Definition: OgreLwString.h:406
void doSet(void *target, const String &val)
const String & getBaseKeyFrameAnimationName() const
If a base keyframe is being used, the Animation that provides that keyframe.
Definition: OgreLodData.h:65
String srcFile
Definition: OgreHlms.h:98
VertexElement2 element
Definition: OgreSubMesh2.h:290
virtual PlaneBoundedVolumeListSceneQuery * createPlaneBoundedVolumeQuery(const PlaneBoundedVolumeList &volumes, uint32 mask=QUERY_ENTITY_DEFAULT_MASK)
Creates a PlaneBoundedVolumeListSceneQuery for this scene manager.
void findNodesIn(const Ray &ray, PCZSceneNodeList &list, PCZone *startZone, PCZSceneNode *start=0)
Recurses the scene, starting in the given startZone, adding any nodes intersecting with the ray into ...
void removeContentFactory(PageContentFactory *f)
Remove a PageContentFactory implementation.
D3D11VideoModeList * getVideoModeList()
TerrainIterator getTerrainIterator()
Get an iterator over the defined terrains.
size_t floatBufferSize
Total size of the float buffer required.
Definition: OgreGpuProgramParams.h:479
Definition: OgreGL3PlusDepthTexture.h:96
static const Aabb BOX_NULL
Definition: C/OgreAabb.h:166
ElementType elementType
Definition: OgreShaderParams.h:70
void bind(T *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE)
Binds rep to the SharedPtr.
Definition: OgreSharedPtr.h:277
virtual String getValue() const =0
Returns a string value depending on the type of the AbstractNode.
@ NONE
Definition: OgreOctreeCamera.h:65
static const ArrayReal NEG_ONE
Definition: OgreMathlibC.h:48
void registerThread()
Register the an additional thread which may make calls to rendersystem-related objects.
BspNode * getFront(void) const
Returns a pointer to a BspNode containing the subspace on the positive side of the splitting plane.
virtual MaterialPtr generateForCompositeMap(const Terrain *terrain)
Generate a material for the given composite map of the terrain using the active profile.
Definition: OgreTerrainMaterialGenerator.h:305
TerrainSlotDefinition()
Definition: OgreTerrainGroup.h:311
virtual void writeData(const void *buf, size_t size, size_t count)
Write arbitrary data to a stream.
virtual const String & getName(void) const =0
Returns the name of the rendering system.
virtual bool isHardwareGammaEnabled() const
Gets whether this texture will be set up so that on sampling it, hardware gamma correction is applied...
Definition: OgreTexture.h:197
v1::MeshPtr createConvexHullMesh(const String &meshName, const String &resourceGroupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Mark vertices, which are visible from outside.
static CommandBufferExecuteFunc execute_setTextureBufferHS
Definition: OgreCommandBuffer.h:84
Real z
Definition: OgreVector3.h:54
@ ACT_INVERSE_VIEW_MATRIX
The current view matrix, inverted.
Definition: OgreGpuProgramParams.h:918
void _writeRawConstants(size_t physicalIndex, const double *val, size_t count)
Write a series of floating point values into the underlying float constant buffer at the given physic...
@ LBO_MODULATE
Multiply colour components together.
Definition: OgreBlendMode.h:63
AllocatedObject< ResourceAllocPolicy > ResourceAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:283
Vertex * collapseTo
Definition: OgreLodData.h:106
void addTextureSource(uint32 texUnitIdx, const String &textureName, uint32 mrtIndex)
Indicates the pass to change the texture units to use the specified texture sources.
Archive(const String &name, const String &archType)
Constructor - don't call direct, used by ArchiveFactory.
Definition: OgreArchive.h:100
virtual void _clearSliceRTT(size_t zoffset)
Notify TextureBuffer of destruction of render target.
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Overloaded to avoid updating skeletons (which we don't support), check visibility on a per unit basis...
uint32 getAssignedSlot(void) const
Definition: OgreConstBufferPool.h:167
Definition: OgreGLES2NullTexture.h:37
ID3D11ComputeShader * getComputeShader(void) const
GeneralAllocatedObject ProfilerAlloc
Definition: OgreMemoryAllocatorConfig.h:322
Definition: OgreLod0Stripifier.h:41
_OgreExport const uint32 LAYER_SHADOW_CASTER
Handles the management of mesh resources.
Definition: OgreMeshManager.h:60
static const size_t MS_CORNERS_BACK[4]
To call Marching Squares with a cube on its back.
Definition: OgreVolumeIsoSurface.h:63
static Matrix4 getScale(Real s_x, Real s_y, Real s_z)
Gets a scale matrix - variation for not using a vector.
Definition: OgreMatrix4.h:499
bool ToEulerAnglesZXY(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
@ ERR_INVALID_CALL
Definition: OgreException.h:118
SkeletonAnimationBlendMode
Definition: OgreSkeleton.h:49
void updatePassIterationUniforms(GpuProgramParametersSharedPtr params)
Updates program pipeline object uniforms using data from pass iteration GpuProgramParameters.
ArrayReal dotProduct(const ArrayVector3 &vec) const
Calculates the dot (scalar) product of this vector with another.
Real getLayerWorldSize(uint8 index) const
How large an area in world space the texture in a terrain layer covers before repeating.
uint32 getWidth(void) const
Definition: OgreForwardClustered.h:123
D3D11VertexArrayObjectShared(const VertexBufferPackedVec &vertexBuffers, IndexBufferPacked *indexBuffer, OperationType opType, VertexBufferPacked *drawId)
unsigned int width
Definition: OgreCommon.h:932
static void startup(void)
Static method to startup and register the DDS codec.
virtual Real getHoldRadius()
Get the Holding radius.
void windowMovedOrResized()
RenderWindow::windowMovedOrResized
void optimiseShaderSource(GLSLESShader *gpuProgram)
Real getHeight(void) const
Gets the height (local y size) of the emitter.
ParticleEmitterTranslator()
OGRE_AUTO_MUTEX
Definition: OgreResource.h:80
@ ET_INT
Definition: OgreGpuProgramParams.h:1384
Real getSurfaceShininess(void) const
AxisAlignedBox _calculateCurrentCastersBox(uint32 viewportVisibilityMask, uint8 firstRq, uint8 lastRq) const
virtual_l2 void pitch(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the node around the X-axis.
@ M_TABLE_EXTREMES
Definition: OgreMeshFileFormat.h:334
Camera * camera
The camera with respect to which the level of detail has changed.
Definition: OgreLodListener.h:60
virtual void closeGaps(BindingIndexMap &bindingIndexMap)
Remove any gaps in the bindings.
ArrayVector3 getMaximum() const
Gets the maximum corner of the box.
unordered_map< String, ushort >::type SubMeshNameMap
A hashmap used to store optional SubMesh names.
Definition: OgreMesh.h:126
bool isCacheDirty(void) const
Returns true if the microcodecache changed during the run.
float constantHeight
If neither inputImage or inputFloat are supplied, the constant height at which the initial terrain sh...
Definition: OgreTerrain.h:376
void clear()
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:474
size_t offset
Definition: OgreD3D11VaoManager.h:101
const CompositorChannelVec & getLocalTextures() const
Definition: OgreCompositorNode.h:218
static D3D11StereoDriverBridge * getSingletonPtr(void)
ID3D11ShaderResourceView * getDepthTextureView() const
static CommandBufferExecuteFunc execute_drawCallIndexedEmulated
Definition: OgreCommandBuffer.h:69
@ ID_ALPHA_TO_COVERAGE
Definition: OgreScriptCompiler.h:682
static ParameterPtr createOutTexcoord2(int index, Parameter::Content content)
TextureLocation getBlankTexture(void) const
Returns the precreated blank texture.
static GLenum getClosestGLInternalFormat(PixelFormat mFormat, bool hwGamma)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format.
static const IdString TexMatrixCount5
Definition: OgreUnlitProperty.h:57
const ColourValue & getFogColour(void) const
Returns the fog colour for the scene.
void _setBufferInterface(BufferInterface *bufferInterface)
For internal use.
HlmsPropertyVec setProperties
Definition: OgreHlmsCommon.h:186
const UVRect & getGlyphTexCoords(CodePoint id) const
Returns the texture coordinates of the associated glyph.
Definition: OgreFont.h:275
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
void _notifyOrigin(const String &origin)
Notify this overlay of it's origin.
Definition: OgreOverlay.h:262
virtual TexturePtr load(const String &name, const String &group, TextureType texType=TEX_TYPE_2D, int numMipmaps=MIP_DEFAULT, Real gamma=1.0f, bool isAlpha=false, PixelFormat desiredFormat=PF_UNKNOWN, bool hwGammaCorrection=false)
Loads a texture from a file.
virtual bool isBackgroundLoaded(void) const
Returns whether this Resource has been earmarked for background loading.
Definition: OgreResource.h:385
Definition: OgreD3D11VaoManager.h:97
This abstract node represents a script property.
Definition: OgreScriptCompiler.h:148
void setSpotlightRange(const Radian &innerAngle, const Radian &outerAngle, Real falloff=1.0)
Sets the range of a spotlight, i.e.
StencilOperation stencilFailOp
Definition: OgreCommon.h:131
virtual RenderTexture * getRenderTarget(size_t slice=0)
Get a render target for this PixelBuffer, or a slice of it.
const vector< Plane >::type & getWindowPlanes(void) const
Gets the window clip planes, only applicable if isWindowSet == true.
virtual const String & getType() const
@ ID_EXP
Definition: OgreScriptCompiler.h:701
@ WFT_SINGLE_INTERSECTION
Return a single intersection point (typically RaySceneQuery only)
Definition: OgreSceneQuery.h:83
@ PT_CUBE
Definition: OgreSceneManager.h:1462
unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
ExternalTextureSource * getExternalTextureSource(const String &sTexturePlugInType)
Returns the plugin which registered itself with a specific name (eg.
@ PROP_COLOUR
Definition: OgreProperty.h:118
void destroyOverlayElement(OverlayElement *pInstance, bool isTemplate=false)
Destroys a OverlayElement.
static bool removeFile(const Ogre::String &path)
Delete a file.
@ PF_BYTE_A
Definition: OgrePixelFormat.h:55
bool mDepthWrite
Definition: OgreHlmsDatablock.h:81
String DriverDescription() const
String doGet(const void *target) const
Real getLength() const
Gets the total length of this animation (may be shorter than whole animation)
virtual ~ParticleAffector()
Virtual destructor essential.
void setAreaLightMasks(const TexturePtr &areaLightMask)
PixelFormat getFormat() const
Gets the native pixel format of this buffer.
Definition: OgreHardwarePixelBuffer.h:195
virtual void setValue(T value)=0
#define _OgrePCZPluginExport
Definition: OgrePCZPrerequisites.h:59
String target
Definition: OgreScriptCompiler.h:163
static void softwareVertexPoseBlend(Real weight, const map< size_t, Vector3 >::type &vertexOffsetMap, const map< size_t, Vector3 >::type &normalsMap, VertexData *targetVertexData)
Performs a software vertex pose blend, of the kind used for morph animation although it can be used f...
LayerBlendType blendType
The type of blending (colour or alpha)
Definition: OgreBlendMode.h:143
Operand(const Operand &rhs)
Copy constructor.
virtual void _executeResourceTransition(ResourceTransition *resTransition)
void setLightCullingVisibility(bool collectLights, bool isCubemap)
When a camera is created via SceneManager::createCamera, there are two additional parameters.
void(* ErrorHandlerFunc)(void *iData, int iLine, const char *iError, const char *iToken, size_t iTokenLen)
An error handler function type.
Definition: OgreGLSLPreprocessor.h:526
virtual ~AutoParamDataSource()
void setManualValue(const Vector4 &value)
AliasTextureNamePairList * mAliases
Definition: OgreScriptCompiler.h:500
virtual void _disableTextureUnit(size_t texUnit)
Turns off a texture unit.
void blitToMemory(const PixelBox &dst)
Convenience function that blits this entire buffer to a pixelbox.
Definition: OgreHardwarePixelBuffer.h:174
void XFlush(Display *nativeDisplayType)
void loadFromStream(DataStreamPtr &inStream)
Reads Quake3 bsp data from a stream as read from the file.
~GLSLMonolithicProgramManager(void)
@ ID_SEPARATE_SCENE_BLEND
Definition: OgreScriptCompiler.h:662
value_type & reference
Definition: OgreMemorySTLAllocator.h:89
void _initParticle(Particle *pParticle)
See ParticleAffector.
uint16 getDepthBufferPool() const
Returns the pool ID this RenderTarget should query from.
virtual const String & getSyntaxCode(void) const
Gets the syntax code for this program e.g.
Definition: OgreGpuProgram.h:260
GLuint getGLProgramHandle(void) const
Get the GL Handle for the program object.
Definition: OgreGLSLESProgramCommon.h:84
@ LBO_REPLACE
Replace all colour with texture with no adjustment.
Definition: OgreBlendMode.h:59
virtual_l1 SceneNodeList findSceneNodes(const String &name) const
Finds all the scene nodes with the name passed as parameter.
PageID getPageID(const Vector3 &worldPos, PagedWorldSection *section)
Get the page ID for a given world position.
void setRectSize(Vector2 planeDimensions, Real depth)
Helper function to set width, height and depth of the decal.
virtual ~Renderable()
Virtual destructor needed as class has virtual methods.
A tagged point on a skeleton, which can be used to attach entities to on specific other entities.
Definition: OgreTagPoint.h:61
void setBorderSize(Real sides, Real topAndBottom)
Sets the size of the border, with different sizes for vertical and horizontal borders.
@ ID_NUM_SPLITS
Definition: OgreScriptCompiler.h:951
Any context
Definition: OgreScriptCompiler.h:98
String doGet(const void *target) const
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Override so we can attach the depth buffer to the FBO.
void setDatablockOrMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the material to use for the whole of this Item.
void bindPassIterationParameters(GpuProgramParametersSharedPtr params)
Execute the pass iteration param binding functions for this shader.
void makeTransform(const ArrayVector3 &position, const ArrayVector3 &scale, const ArrayQuaternion &orientation)
Building a Matrix4 from orientation / scale / position.
Definition: OgreVertexShadowMapHelper.h:41
GpuProgramParametersSharedPtr getDefaultParameters(void)
Get a reference to the default parameters which are to be used for all uses of this program.
uint32 zoffset
Definition: OgreGL3PlusRenderTexture.h:47
@ TM_SOFTWARE
Interpolate vertex positions in software.
Definition: OgreAnimationTrack.h:609
Quake3Shader(const String &name)
Default constructor - used by Quake3ShaderManager (do not call directly)
Represents a layer which is rendered on top of the 'normal' scene contents.
Definition: OgreOverlay.h:71
void initialiseContext(RenderWindow *primary)
Renderbuffer surface.
Definition: OgreGL3PlusHardwarePixelBuffer.h:86
void deleteVertex(size_t vertex)
Deletes a specific vertex.
float getRedAdjust(void) const
Gets the red adjustment to be made per second to particles.
void setRotationInterpolationMode(RotationInterpolationMode im)
Tells the animation how to interpolate rotations.
static String eventType
Definition: OgreScriptCompiler.h:532
virtual void setBoundingBox(const AxisAlignedBox &box)
Set the bounds of this section.
VectorSet< Edge, 8 > VEdges
Definition: OgreLodData.h:60
float getLightCastsShadows(size_t index) const
virtual const Vector3 & getOrigin() const
Retrieve the centre position of the grid of terrain.
Definition: OgreTerrainGroup.h:116
static const IdString DetailDiffuseSwizzle1
Definition: OgreHlmsPbsMobile.h:162
void swapBuffers()
Swap buffers - only useful when using multisample buffers.
bool checkHardwareSupport(bool autoManageTextureUnits, StringStream &compileErrors)
Internal method for checking hardware support.
Real y
Definition: OgreVector4.h:48
static DestT convertBitPattern(SrcT srcValue, SrcT srcBitMask, DestT destBitMask)
Takes a value with a given src bit mask, and produces another value with a desired bit mask.
Definition: OgreBitwise.h:181
bool isResourceGroupInitialised(const String &name)
Checks the status of a resource group.
LayerBlendOperationEx
Expert list of valid texture blending operations, for use with TextureUnitState::setColourOperationEx...
Definition: OgreBlendMode.h:75
void getTextureTecPassStateLevel(int &t, int &p, int &s) const
Get currently selected Texture attribs.
Definition: OgreExternalTextureSource.h:131
BufferDefinitionVec & getLocalBufferDefinitionsNonConst(void)
Returns the local buffer definitions.
Definition: OgreTextureDefinition.h:420
virtual_l2 void translate(const Matrix3 &axes, Real x, Real y, Real z, TransformSpace relativeTo=TS_PARENT)
Moves the node along arbitrary axes.
UavBufferPacked * getDefinedBuffer(IdString bufferName) const
Returns the buffer pointer of a buffer based on it's name.
static DWORD get(CompareFunction cf)
return a D3D9 equivalent for a Ogre CompareFunction value
Factory class for D3D11 HLSL programs.
Definition: OgreD3D11HLSLProgramFactory.h:38
ID3D11GeometryShader * getGeometryShader(void) const
virtual void updateParams(const MaterialPtr &mat, const Terrain *terrain)
Update parameters for the given terrain using the active profile.
Definition: OgreTerrainMaterialGenerator.h:352
Space
Enumeration of relative spaces that you might want to use to address the terrain.
Definition: OgreTerrain.h:517
char * end()
Definition: OgreLwString.h:346
const CompositorPassDef * getDefinition(void) const
Definition: OgreCompositorPass.h:173
type::const_iterator const_iterator
Definition: OgrePrerequisites.h:690
SkeletonInstance * getSkeletonInstance(void) const
Definition: OgreMovableObject.h:582
void _resolveComponents(LodConfig &lodConfig, LodCollapseCostPtr &cost, LodDataPtr &data, LodInputProviderPtr &input, LodOutputProviderPtr &output, LodCollapserPtr &collapser)
@ ERR_INVALIDPARAMS
Definition: OgreException.h:110
@ PF_COUNT
Definition: OgrePixelFormat.h:362
void checkForCgError(const String &ogreMethod, const String &errorTextPrefix, CGcontext context)
Utility function, checks Cg for errors, throw exception if detected.
virtual bool isPaused() const =0
Return whether the queue is paused ie not sending more work to workers.
void _setGeometryTexture(size_t unit, const TexturePtr &tex)
See RenderSystem.
void _setTextureBlendMode(size_t unit, const LayerBlendModeEx &bm)
Sets the texture blend modes from a TextureUnitState record.
virtual StagingBuffer * createStagingBuffer(size_t sizeBytes, bool forUpload)
Creates a new staging buffer and adds it to the pool.
GpuProgramParametersSharedPtr getParameters(void)
Gets the parameters being used here.
virtual bool isCompatible(RenderTarget *renderTarget) const
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is,...
void setNumShadowTextureDefinitions(size_t numTex)
Reserves enough memory for all texture definitions.
virtual void notifyWorldGeometryRenderQueue(uint8 qid)=0
Called by PCZSM during setWorldGeometryRenderQueue()
bool getSaveMicrocodesToCache()
Get if the microcode of a shader should be saved to a cache.
@ FFP_VS_TEXTURING
Definition: OgreShaderFFPRenderState.h:49
uint32 getDefaultStagingBufferUnfencedTime(void) const
Definition: OgreVaoManager.h:424
OpSemantic getSemantic() const
Returns the operand semantic (do we read/write or both with the parameter).
Definition: OgreShaderFunctionAtom.h:142
virtual const String & getType() const
static const ArrayReal SIGN_MASK
Definition: OgreMathlibC.h:58
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
static void shutdown(void)
Static method to shutdown and unregister the DDS codec.
virtual void setFsaaResolved()
Factory for OctreeZone.
Definition: OgreOctreeZone.h:246
RenderTexture * getRenderTarget(size_t slice)
Get a render target for this PixelBuffer, or a slice of it.
@ RSC_RTT_DEPTHBUFFER_RESOLUTION_LESSEQUAL
Supports attaching a depth buffer to an RTT that has width & height less or equal than RTT's.
Definition: OgreRenderSystemCapabilities.h:172
virtual int32 getCellRangeMinY() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid2DPageStrategy.h:190
GLuint getGLBufferId(void) const
Definition: OgreGL3PlusHardwareShaderStorageBuffer.h:67
static const IdString TexMatrixCount3
Definition: OgreUnlitProperty.h:55
void setValue(Real value)
const VertexOffsetMap & getVertexOffsets(void) const
Gets a const reference to the vertex offsets.
Definition: OgrePose.h:107
Definition: OgreLodData.h:115
virtual void queueBindUAV(uint32 slot, TexturePtr texture, ResourceAccess::ResourceAccess access=ResourceAccess::ReadWrite, int32 mipmapLevel=0, int32 textureArrayIndex=0, PixelFormat pixelFormat=PF_UNKNOWN)
Queues the binding of an UAV to the binding point/slot.
UnimplementedException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:193
static CommandBufferExecuteFunc execute_setConstantBufferCS
Definition: OgreCommandBuffer.h:79
const String * findResourceNameFromAlias(IdString aliasName) const
This is a class that is the DirectX9 implementation of hardware occlusion testing.
Definition: OgreD3D11HardwareOcclusionQuery.h:54
BoneArrayMemoryManager(uint16 depthLevel, size_t hintMaxNodes, size_t cleanupThreshold=100, size_t maxHardLimit=MAX_MEMORY_SLOTS, RebaseListener *rebaseListener=0)
Constructor.
virtual const Source * getSourceB(void) const
Gets the second operator source.
virtual ~TerrainPagedWorldSection()
@ SKELETON_BONE_PARENT
Definition: OgreSkeletonFileFormat.h:72
void setNonVisibleUpdateTimeout(Real timeout)
Sets when the particle system should stop updating after it hasn't been visible for a while.
Pose * createPose(ushort target, const String &name=BLANKSTRING)
Create a new Pose for this mesh or one of its submeshes.
void createGeneratedLodLevel(Ogre::Real distance, Real reductionValue, LodLevel::VertexReductionMethod reductionMethod=LodLevel::VRM_PROPORTIONAL)
static const IdString UvCount2
Definition: OgreHlms.h:792
GLSLESShader * vertexShader
Definition: OgreGLES2HlmsPso.h:63
bool getAutoAspectRatio(void) const
Retrieves if AutoAspectRatio is currently set or not.
Real getRightBorderSize(void) const
Gets the size of the right border.
IndexMap mBlendIndexToBoneIndexMap
Dedicated index map for translate blend index to bone index.
Definition: OgreSubMesh2.h:94
void updateCompositeMapWithDelay(Real delay=2)
Performs an update on the terrain composite map based on its dirty region, but only at a maximum freq...
Definition: OgreImageDownsampler.h:223
virtual TexturePtr loadRawData(const String &name, const String &group, DataStreamPtr &stream, ushort width, ushort height, PixelFormat format, TextureType texType=TEX_TYPE_2D, int numMipmaps=MIP_DEFAULT, Real gamma=1.0f, bool hwGammaCorrection=false)
Loads a texture from a raw data stream.
@ PF_R11G11B10_FLOAT
32-bit pixel format, 11 bits (float) for red, 11 bits (float) for green, 10 bits (float) for blue
Definition: OgrePixelFormat.h:158
const TexturePtr & getDecalsEmissive(void) const
Definition: OgreSceneManager.h:1374
size_t mIndex
Definition: OgreColourInterpolatorAffector.h:63
@ ID_STENCIL
Definition: OgreScriptCompiler.h:848
void setFog(FogMode mode=FOG_NONE, const ColourValue &colour=ColourValue::White, Real expDensity=0.001, Real linearStart=0.0, Real linearEnd=1.0)
Sets the fogging mode applied to the scene.
ParticleSystem & operator=(const ParticleSystem &rhs)
Assignment operator for copying.
void fromTransformationMatrix(const Matrix4 &kTrans)
Construct a dual quaternion from a 4x4 transformation matrix.
static Aabb newFromExtents(const Vector3 &min, const Vector3 &max)
Sets both minimum and maximum extents at once (static version).
virtual OldNode * createChild(const String &name, const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates a new named OldNode as a child of this OldNode.
void freeTemporaryResources()
Free as many resources as possible for optimal run-time memory use for all terrain tiles.
void setRenderSystemName(const String &rs)
Set the identifier of the rendersystem from which these capabilities were generated.
Definition: OgreRenderSystemCapabilities.h:827
OptimisationLevel getOptimisationLevel() const
Gets the optimisation level to use.
Definition: OgreD3D9HLSLProgram.h:201
virtual bool getUseVertexColours(void) const
Gets whether vertex colour information should be included in the final buffers generated.
Definition: OgreBillboardChain.h:192
Definition: OgreEGLContext.h:40
char name[64]
Definition: OgreQuake3Types.h:203
float getMinDistance(void) const
Definition: OgreForward3D.h:108
SceneNode * getAutoTrackTarget(void) const
Get the auto tracking target for this camera, if any.
Definition: OgreCamera.h:564
Definition: OgreException.h:227
void loadGroupDefinition(const String &filename)
Load the group definition only in native form from a file.
String doGet(const void *target) const
Simplex Noise ported from public domain Java Implementation http://webstaff.itn.liu....
Definition: OgreVolumeSimplexNoise.h:43
virtual void addListener(Listener *s)
Add a listener which will get called back on scene manager events.
virtual void _findNodes(const PlaneBoundedVolume &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)=0
void removeSharedParameters(const String &sharedParamsName)
Stop using the named shared parameter set.
static String formatErrorCode(uint32 code)
@ FOG_EXP
Fog density increases exponentially from the camera (fog = 1/e^(distance * density))
Definition: OgreCommon.h:261
virtual void addMarchingCubesTriangles(const Vector3 *corners, const Vector4 *volumeValues, MeshBuilder *mb) const =0
Adds triangles to a MeshBuilder via Marching Cubes.
void setNext(unsigned long long int val)
Manually set the internal counter (use caution)
Definition: OgreNameGenerator.h:85
@ ID_PARTICLE_SYSTEM
Definition: OgreScriptCompiler.h:808
void _setNamedConstants(const GpuNamedConstantsPtr &constantmap)
Internal method for providing a link to a name->definition map for parameters.
@ GCT_FLOAT3
Definition: OgreGpuProgramParams.h:70
FileInfoListPtr listFileInfo(bool recursive=true, bool dirs=false)
List all files in the archive with accompanying information.
virtual ~D3D11AsyncTicket()
void store4x3(Matrix4 *dst) const
Assumes dst is aligned.
Definition: C/OgreArrayMatrixAf4x3.h:249
void load()
Loads the archive.
void setMaxLookupTableInstances(size_t maxLookupTableInstances)
Sets the size of the lookup table for techniques supporting bone lookup table.
void setEnablePlanarReflection(uint8 textureUnit, bool bEnable)
Set to true if the texture at the given texture unit is a planar reflection texture.
static String eventType
Definition: OgreScriptCompiler.h:567
virtual const String & getType() const
Get the type of the collection, which will match it's factory.
VertexAnimationTrack * getVertexTrack(unsigned short handle) const
Gets a Vertex track by it's handle.
Support for loading and extracting data from a Quake3 level file.
Definition: OgreQuake3Level.h:63
Definition: OgreImageResampler.h:54
Real mFrameRate
Definition: OgreSkeletonAnimation.h:61
void addEdge(const Edge &edge)
Iterator pointing to the position in the mCollapseCostSet, which allows fast remove.
CbVao(VertexArrayObject *_vao)
uint16 terrainSize
Terrain size (along one edge) in vertices; must be 2^n+1.
Definition: OgreTerrain.h:332
virtual void buildDiffList(uint16 level, const MemoryPoolVec &basePtrs, ArrayMemoryManager::PtrdiffVec &outDiffsList)
Called when the manager needs to grow it's memory pool to honour more node requests.
size_t uncompressedSize
Uncompressed size.
Definition: OgreArchive.h:64
virtual bool hasDefaultParameters(void) const
Returns true if default parameters have been set up.
Definition: OgreGpuProgram.h:392
virtual void _dispatch(const HlmsComputePso &pso)
virtual size_t getMemoryBudget(void) const
Get the limit on the amount of memory this resource handler may use.
static ArrayReal Cos4(ArrayReal x)
Returns the cosine of x.
static GLenum getGLOriginDataType(PixelFormat mFormat)
Takes the OGRE pixel format and returns type that must be provided to GL as data type for reading it ...
virtual void setFSAA(uint fsaa, const String &fsaaHint)
Set the level of multisample AA to be used if hardware support it.
Definition: OgreRenderTarget.h:353
static int32 getProperty(const HlmsPropertyVec &properties, IdString key, int32 defaultVal=0)
Utility helper, mostly useful to HlmsListener implementations.
@ GCT_SAMPLER_STATE
Definition: OgreGpuProgramParams.h:119
static const ArrayVector3 NEGATIVE_UNIT_Z
Definition: C/OgreArrayVector3.h:351
void cleanerArrayVector3Zero(char *dstPtr, size_t indexDst, char *srcPtr, size_t indexSrc, size_t numSlots, size_t numFreeSlots, size_t elementsMemSize)
virtual const ColourValue & getColourChange(size_t chainIndex) const
Get the per-second fading amount.
GLint getMaxVertexAttribs(void) const
Definition: OgreGLES2VaoManager.h:255
virtual void _notifyMoved(void)
MovableObject notified when SceneNode changes.
@ PASS_INVALID
Definition: OgreCompositorPassDef.h:50
ArrayQuaternion planeNormals
Definition: OgrePlanarReflectionActor.h:62
@ OT_TRIANGLE_LIST
A list of triangles, 3 vertices per triangle.
Definition: OgreHlmsPso.h:54
virtual void removeRenderQueueListener(RenderQueueListener *delListener)
Removes a listener previously added with addRenderQueueListener.
String doGet(const void *target) const
void setSpecular(const Vector3 &specularColour)
Sets the specular colour.
uint32 mLightVisibilityMask
Used by Forward+ to determine which lights should be used (via Light::setVisibilityFlags)
Definition: OgreCompositorPassSceneDef.h:78
@ BBR_TEXCOORD
Rotate the billboard's texture coordinates.
Definition: OgreBillboardSet.h:74
void doSet(void *target, const String &val)
void _datablockDestroyed(IdString name)
Internal function to inform us that the datablock with the input name has been destroyed.
SceneManagerIterator getSceneManagerIterator(void)
Get an iterator over all the existing SceneManager instances.
void postExtraThreadsStarted()
@ PFF_LUMINANCE
This is an intensity format instead of a RGB one.
Definition: OgrePixelFormat.h:384
void acquirePrograms(Pass *pass, TargetRenderState *renderState)
Acquire CPU/GPU programs set associated with the given render state and bind them to the pass.
PixelFormat getFormat(void) const
virtual StagingStallType uploadWillStall(size_t sizeBytes)
Returns true if our next call to @map() with the same parameters will stall.
Definition: OgreGL3PlusHardwarePixelBuffer.h:38
ViewPoint getSuggestedViewpoint(bool random=false)
Specialised to suggest viewpoints.
bool isBlank(void) const
Determines if this texture layer is currently blank.
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
ArrayMaskR contains(const ArrayAabb &other) const
Tests whether another box contained by this box.
Shared pointer implementation used to share index buffers.
Definition: OgreHardwareIndexBuffer.h:82
virtual void _applyObliqueDepthProjection(Matrix4 &matrix, const Plane &plane, bool forGpuProgram)
Update a perspective projection matrix to use 'oblique depth projection'.
Definition: OgreNULLRenderSystem.h:153
GeometryAllocatedObject IndexDataAlloc
Definition: OgreMemoryAllocatorConfig.h:312
uint32 HashCombine(uint32 hashSoFar, const T &data)
Combine hashes with same style as boost::hash_combine.
Definition: OgreCommon.h:70
void doSet(void *target, const String &val)
ImageDownsampler2D downscale2x_Float32_A
Definition: OgreImageDownsampler.h:149
uint8 source
The source sampler index of this element relative to LayerDeclaration's list.
Definition: OgreTerrainMaterialGenerator.h:73
virtual void calculateHash()
Calculates the hashes needed for sorting by the RenderQueue (i.e. mTextureHash)
static void unbindAll(void)
void swap(Ogre::SmallVectorImpl< T > &LHS, Ogre::SmallVectorImpl< T > &RHS)
Implement std::swap in terms of SmallVector swap.
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:984
@ ID_SRC_TEXTURE
Definition: OgreScriptCompiler.h:769
static GPUVendor vendorFromString(const String &vendorString)
Convert a vendor string to an enum.
bool hasScale() const
Determines if this matrix involves a scaling.
Definition: OgreMatrix4.h:528
virtual bool prequeueMovableObjectLodChanged(const MovableObjectLodChangedEvent &evt)
Called before a movable object's LOD has changed.
Definition: OgreLodListener.h:134
void setAdjust(float red, float green, float blue, float alpha=0.0)
Sets the colour adjustment to be made per second to particles.
virtual void setChildrenProcessEvents(bool val)
Should this container pass events to their children.
Definition: OgreOverlayContainer.h:127
Predefined controller value for getting / setting a texture coordinate modifications (scales and tran...
Definition: OgrePredefinedControllers.h:101
virtual void setColour(const ColourValue &colour)
Sets the initial colour of particles emitted.
void setNumTargetPass(size_t numPasses)
Reserves enough memory for all passes.
Definition: OgreCompositorNodeDef.h:143
UnlitTextureTypes
Definition: OgreHlmsUnlitPrerequisites.h:56
void removeAllShadowNodeDefinitions(void)
Removes all shadow nodes defs.
@ ID_DIFFUSE
Definition: OgreScriptCompiler.h:646
@ TAM_CLAMP
Texture clamps at 1.0.
Definition: OgreHlmsSamplerblock.h:52
D3D11StagingBuffer(size_t sizeBytes, VaoManager *vaoManager, bool uploadOnly, ID3D11Buffer *stagingBuffer, D3D11Device &device)
Texture * _getCompositeMapRTT()
Definition: OgreTerrainMaterialGenerator.h:395
@ ID_AFFECTOR
Definition: OgreScriptCompiler.h:810
IndexMap sharedBlendIndexToBoneIndexMap
Shared index map for translating blend index to bone index.
Definition: OgreMesh.h:354
void setSamplerblock(uint8 texType, const HlmsSamplerblock ¶ms)
Sets a new sampler block to be associated with the texture (i.e.
size_t calculateSize(void) const
virtual void prepareShadowTextures(Camera *cam, Viewport *vp, const LightList *lightList=0)
const String & getName(void) const
Returns the name of the OldNode.
Definition: OgreHlmsDiskCache.h:146
uint32 uavSlot
Index of texture unit state to change.
Definition: OgreCompositorPassUavDef.h:56
void _notifyCleared(void)
Internal Use.
virtual void _setVertexArrayObject(const VertexArrayObject *vao)
Part of the low level rendering interface.
Plane::Side outside
Definition: OgrePlaneBoundedVolume.h:55
@ UNLIT_BLEND_SUBTRACT
Definition: OgreHlmsUnlitPrerequisites.h:67
String _getShaderLanguage() const
Definition: OgreTerrainMaterialGeneratorA.h:148
ManualParam mp
Definition: OgreShaderParams.h:86
PagedWorldSection * createSection(const String &strategyName, SceneManager *sceneMgr, const String §ionName=BLANKSTRING)
Create a new manually defined section of the world.
@ PF_R16G16B16_SINT
48-bit pixel format, 16 bits red (signed int), 16 bits blue (signed int), 16 bits green (signed int).
Definition: OgrePixelFormat.h:196
PolygonMode mPolygonMode
Definition: OgreHlmsDatablock.h:114
virtual VertexDeclaration * createVertexDeclaration(void)
Creates a new vertex declaration.
vector< Bone * >::type BoneVec
Definition: OgreBone.h:64
@ FT_TRUETYPE
Generated from a truetype (.ttf) font.
Definition: OgreFont.h:47
String getNameStr(void) const
Definition: OgreCompositorNodeDef.h:109
bool getAborted() const
Get the abort flag.
Definition: OgreWorkQueue.h:118
virtual const String & _getDefaultViewportMaterialScheme(void) const
Returns the default material scheme used by the render system.
void createManualLodLevel(Ogre::Real distance, const String &manualMeshName)
uint8 arrayIdx
Definition: OgreCompositorShadowNodeDef.h:61
virtual void getRenderOperation(RenderOperation &op, bool casterPass)
Overridden from MovableObject.
Definition: OgrePixelBox.h:44
virtual void update(SceneManager *sceneMgr)=0
Update the contents of this vertex buffer by rendering.
virtual void _setHlmsSamplerblockCS(uint8 texUnit, const HlmsSamplerblock *samplerblock)
Any & operator=(const Any &rhs)
Definition: OgreAny.h:99
static String FACTORY_TYPE_NAME
Definition: OgrePCZLight.h:128
KeyType peekNextKey(void) const
Returns the next(=current) key element in the collection, without advancing to the next.
Definition: OgreIteratorWrapper.h:277
static const IdString TexMatrixCount2
Definition: OgreUnlitProperty.h:54
uint32 id
Identifier of the chunk (for example from makeIdentifier) (stored)
Definition: OgreStreamSerialiser.h:95
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
GpuProgramType mProgramType
Definition: OgreScriptCompiler.h:566
static const IdString TexMatrixCount7
Definition: OgreHlmsUnlitMobile.h:103
@ ERR_CANNOT_WRITE_TO_FILE
Definition: OgreException.h:108
void setRenderQueueGroup(uint8 queueID)
Sets which render queue group this renderer should target with it's output.
PbsBakedTexture(const TexturePtr tex, const HlmsSamplerblock *_samplerBlock)
Definition: OgreHlmsPbsDatablock.h:62
@ RSC_ANISOTROPY
Supports anisotropic texture filtering.
Definition: OgreRenderSystemCapabilities.h:82
Light::LightTypes getOnlyLightType() const
Gets the single light type this pass runs for if getIteratePerLight and getRunOnlyForOneLightType are...
Definition: OgrePass.h:759
virtual void _render(const v1::CbDrawCallIndexed *cmd)
Renders a V1 RenderOperation. Assumes _setRenderOperation has already been called.
@ ID_CUBIC_REFLECTION
Definition: OgreScriptCompiler.h:778
~Exception()
Needed for compatibility with std::exception.
Definition: OgreException.h:134
virtual void removeViewport(Viewport *vp)
Removes a viewport at a given Z-order.
Vector3 mDirection
Direction (and speed)
Definition: OgreParticle.h:90
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures at once.
TexturePtr getInternalTexture(void) const
Definition: OgreCubemapProbe.h:191
ShadowTextureDefinition * addShadowTextureDefinition(size_t lightIdx, size_t split, const String &name, uint8 mrtIndex, const Vector2 &uvOffset, const Vector2 &uvLength, uint8 arrayIdx)
Adds a new ShadowTexture definition.
virtual GpuProgramParametersSharedPtr createParameters(void)
Creates a new parameters object compatible with this program definition.
static const String & getPointLightExtruderArbvp1(void)
Get extruder program source for point lights, compatible with arbvp1.
Definition: OgreShadowVolumeExtrudeProgram.h:233
@ ACT_PASS_NUMBER
provides the pass index number within the technique of the active materil.
Definition: OgreGpuProgramParams.h:1269
virtual bool requiresTextureFlipping(void) const
Definition: OgreMetalDepthTexture.h:103
Font(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Constructor.
iterator insertPOD(iterator where, const_iterator otherBegin, const_iterator otherEnd)
otherBegin & otherEnd must not overlap with this->begin() and this->end()
Definition: OgreFastArray.h:210
const String & getInputName() const
Gets currently set input file name.
Definition: OgreExternalTextureSource.h:117
static Quake3ShaderManager * getSingletonPtr(void)
Override standard Singleton retrieval.
virtual bool requiresTextureFlipping() const =0
void setShadowFarClipDistance(Real farClip)
Set the far clip plane distance to be used by the shadow camera, if this light casts texture shadows.
Definition: OgreLight.h:458
Factory class for particle emitter of type "HollowEllipsoid".
Definition: OgreHollowEllipsoidEmitterFactory.h:44
void setFullscreen(bool fullscreen, uint width, uint height)
RenderWindow::setFullscreen
Definition: OgreD3D9GpuProgramManager.h:37
float getHeightAtWorldPosition(const Vector3 &pos) const
Get the height data for a given world position (projecting the point down on to the terrain).
void setMaxDistance(Real maxDistance)
virtual ~GLSLESProgramProcessor()
Class destructor.
void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Overridden - see RenderTarget.
map< String, PagedWorldSectionFactory * >::type WorldSectionFactoryMap
Definition: OgrePageManager.h:267
float getAlphaAdjust(void) const
Gets the alpha adjustment to be made per second to particles.
void _applyObliqueDepthProjection(Matrix4 &matrix, const Plane &plane, bool forGpuProgram)
See RenderSystem.
DefaultHardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage)
HlmsLowLevel * hlmsLowLevel
Definition: OgreCbLowLevelMaterial.h:38
static DWORD get(CullingMode cm, bool flip)
return a D3D9 equivalent for a Ogre CillingMode value
BillboardSet * getBillboardSet(void) const
Access BillboardSet in use.
Definition: OgreBillboardParticleRenderer.h:234
MapIteratorWrapper(IteratorType start, IteratorType last)
Constructor.
Definition: OgreIteratorWrapper.h:271
set< String >::type SyntaxCodes
Definition: OgreGpuProgramManager.h:52
D3D11AsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount, D3D11Device &device)
A factory that enables creation of LayeredBlending instances.
Definition: OgreShaderFFPAlphaTest.h:44
static UniformParameterPtr createSampler(GpuConstantType type, int index)
static SceneManagerEnumerator * getSingletonPtr(void)
Override standard Singleton retrieval.
@ MAX_FORWARD_PLUS_LIGHTS
Definition: OgreLight.h:91
uint8 mLastRQ
Last Render Queue ID to render. Not inclusive.
Definition: OgreCompositorPassSceneDef.h:104
virtual time_t getModifiedTime(const String &filename)=0
Retrieve the modification time of a given file.
T pop_back_val()
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:537
void _setPointSpritesEnabled(bool enabled)
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) o...
@ PROP_INT
Definition: OgreProperty.h:109
GL3PlusDefaultHardwareIndexBuffer(IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage)
void _setPointSpritesEnabled(bool enabled)
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) o...
RenderTarget * target
Definition: OgreCompositorChannel.h:59
String doGet(const void *target) const
virtual ~PanelOverlayElement()
String doGet(const void *target) const
static const IdString UvRoughness
Definition: OgreHlmsPbs.h:366
size_t _getIntConstantPhysicalIndex(size_t logicalIndex, size_t requestedSize, uint16 variability)
Gets the physical buffer index associated with a logical int constant index.
void setShadowMappingUseBackFaces(bool useBackFaces)
Sets whether or not shadow casters should be rendered into shadow textures using their back faces rat...
This plugin subclass of ParticleAffector allows you to alter the colour of particles.
Definition: OgreColourFaderAffector.h:44
const String & getDependency(unsigned int index) const
Get the library name of the given index dependency.
ushort getWeightCount()
Returns the number of weights/bones affecting a vertex.
void removeNodeFromOctree(PCZSceneNode *)
Removes the node from the octree it is in.
virtual void _queueSkiesForRendering(Camera *cam)
Internal method for queueing the sky objects with the params as previously set through setSkyBox,...
multimap< RenderWindow *, WindowEventListener * >::type WindowEventListeners
Definition: OgreWindowEventUtilities.h:181
@ RSC_TEXTURE_COMPRESSION_ASTC
Definition: OgreRenderSystemCapabilities.h:213
virtual void _setRenderTarget(RenderTarget *target, uint8 viewportRenderTargetFlags)=0
Set current render target to target, enabling its device context if needed.
void getRenderOperation(v1::RenderOperation &op, bool casterPass)
See Renderable.
virtual GpuSharedParametersPtr createSharedParameters(const String &name)
Create a new set of shared parameters, which can be used across many GpuProgramParameters objects of ...
void clearDeviceStreams()
virtual void _notifyParticleQuota(size_t quota)=0
Tells the renderer that the particle quota has changed.
ParticleSystemTemplateIterator getTemplateIterator(void)
Gets an iterator over the list of particle system templates.
Definition: OgreParticleSystemManager.h:346
Real getFrameDelay(void) const
Gets the constant that is added to time lapsed between each frame.
Quaternion orientation
Definition: OgreSceneManager.h:69
String::const_iterator begin() const
Definition: OgreHlmsCommon.h:127
AllocatedObject< SceneCtlAllocPolicy > SceneCtlAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:281
static const char * Texture
Definition: OgreHlmsCompute.h:204
DirectionRandomiserAffector(ParticleSystem *psys)
Default constructor.
Specialised KeyFrame which references a Mesh::Pose at a certain influence level, which stores offsets...
Definition: OgreKeyFrame.h:187
virtual bool isActive(void) const
Overridden from RenderTarget, flags invisible windows as inactive.
Definition: OgreRenderWindow.h:182
virtual void notifyCamera(Camera *cam)
Notify a section of the current camera.
bool getEnableVpls(void) const
Definition: OgreForwardPlusBase.h:215
void swapBuffers()
Swaps the frame buffers to display the next frame.
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
@ RSC_TEXTURE_COMPRESSION_ETC2
Supports compressed textures in the ETC2 format.
Definition: OgreRenderSystemCapabilities.h:148
void makeCeil(const Vector3 &cmp)
Sets this vector's components to the maximum of its own and the ones of the passed in vector.
Definition: OgreVector3.h:558
String getErrorDescription(long errorNumber) const
Returns a description of an error code.
map< ushort, ushort >::type BindingIndexMap
Definition: OgreHardwareVertexBuffer.h:546
virtual void requestOptions(Terrain *terrain)
Triggers the generator to request the options that it needs.
Definition: OgreTerrainMaterialGenerator.h:286
virtual Real getMinTimeToLive(void) const
Gets the minimum time each particle will live for.
void setToSubstr(const LwConstString &source, char *_start, char *_end)
Definition: OgreLwString.h:147
const AxisAlignedBox & getBoundingBox(void) const
size_t getEnd(void) const
Definition: OgreHlmsCommon.h:125
String doGet(const void *target) const
uint32 getSrcWidth(void) const
Returns the width of the original input texture (may differ due to hardware requirements).
Definition: OgreTexture.h:237
uint8 waitForTailFrameToFinish(void)
Returns the current frame # (which wraps to 0 every mDynamicBufferMultiplier times).
VectorIteratorWrapper(IteratorType start, IteratorType last)
c'tor
Definition: OgreIteratorWrapper.h:151
This class makes the usage of a vertex and fragment programs (low-level or high-level),...
Definition: OgreGpuProgramUsage.h:74
IndexPositionMode positionMode
Definition: OgreShaderExTextureAtlasSampler.h:228
virtual void bindBufferVS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
Represents UAV buffers (also known as SSBOs in OpenGL) Uav buffers are supported in DX10/DX10....
Definition: OgreUavBufferPacked.h:41
@ PF_BYTE_L
Definition: OgrePixelFormat.h:49
void setIndexOfRefraction(const Vector3 &refractionIdx, bool separateFresnel)
Calculates fresnel (F0 in most books) based on the IOR.
bool hasPassIterationNumber() const
Does this parameters object have a pass iteration number constant?
Definition: OgreGpuProgramParams.h:2404
vector< SkeletonTrack >::type SkeletonTrackVec
Definition: OgreSkeletonTrack.h:131
ManualObjectSection(ManualObject *parent, const String &datablockName, OperationType opType)
char * data
Data is already offseted. To get the vertex location, perform (data - offset);.
Definition: OgreVertexIndexData.h:243
virtual RenderTarget * detachRenderTarget(const String &name)
Detaches the render target with the passed name from the render system and returns a pointer to it.
void doSet(void *target, const String &shaderNames)
Technique * getTechnique(void) const
Definition: OgreHlmsPbs.h:314
bool getPagingOperationsEnabled() const
Get whether paging operations are currently allowed to happen.
Definition: OgrePageManager.h:433
uint8 uvSource[NUM_PBSM_SOURCES]
Definition: OgrePbsMobileShaderCreationData.h:55
Definition: OgreIndexBufferPacked.h:37
Real getLodValue(void) const
Get the LOD value.
Definition: OgreStaticGeometry.h:336
MetalRenderTexture(MetalDevice *ownerDevice, const String &name, v1::HardwarePixelBuffer *buffer, __unsafe_unretained id< MTLTexture > renderTexture, __unsafe_unretained id< MTLTexture > resolveTexture, PixelFormat format, uint32 depthPlane, uint32 slice, uint32 fsaa, uint32 mip, bool hwGamma)
const Mesh::IndexMap * _getIndexToBoneMap() const
Definition: OgreInstanceBatch.h:194
virtual void prepareImpl(void)
std::string _StringBase
Definition: OgrePrerequisites.h:549
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
@ ACT_VERTEX_WINDING
-1 if the winding has been inverted (e.g.
Definition: OgreGpuProgramParams.h:998
Stream(const Stream &rhs)
Definition: OgreLog.h:221
bool hasFlag(const ImageFlags imgFlag) const
Returns true if the image has the appropriate flag set.
virtual size_t calculateSize(void) const
Calculate the size of a resource; this will only be called after 'load'.
void blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
T top
Definition: OgreCommon.h:735
Real getTop(void) const
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0.
virtual ~SceneQueryListener()
Definition: OgreSceneQuery.h:181
IDirect3DTexture9 * getNormTexture()
retrieves a pointer to the normal 1D/2D texture
static const IdString DetailMap2
Definition: OgreHlmsPbs.h:336
static TextureAddressingMode parseTextureAddressingMode(const char *value)
virtual bool isLateMaterialResolving() const
Gets whether using late material resolving or not.
Definition: OgreSceneManager.h:2839
GLenum depthFunc
Definition: OgreGLES2HlmsPso.h:49
A group of edges sharing the same vertex data.
Definition: OgreEdgeListBuilder.h:104
virtual const AnimableValuePtr & getAssociatedAnimable(void) const
Returns a pointer to the associated animable object (if any).
virtual bool getDirPositionReferenceEnabled() const
Returns whether direction or position reference is used.
virtual void initGPUProfiling(void)
Real normalise()
Normalises the vector.
Definition: OgreVector3.h:452
v1::VertexData * vertexData
Definition: OgreCbDrawCall.h:90
void recalcTangents(void)
Recalculates the tangents associated with this spline.
void fireDeviceEvent(D3D11Device *device, const String &name, D3D11RenderWindowBase *sendingWindow=NULL)
CompareFunction depthFunc
Definition: OgreQuake3Shader.h:78
virtual ~RandomValueProvider()
Definition: OgreMath.h:213
IndexData * indexData[NumVertexPass]
Face index data.
Definition: OgreSubMesh.h:94
size_t getRowSkip() const
Get the number of elements between one past the rightmost pixel of one row and the leftmost pixel of ...
static void setUseLocale(bool useLocale)
Definition: OgreStringConverter.h:296
pthread_key_t TlsHandle
Definition: OgreThreads.h:132
Command object for green adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:89
static const ColourValue White
Definition: OgreColourValue.h:62
@ ACT_LIGHT_SPECULAR_COLOUR
Light specular colour (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1030
GLES2BufferInterface(size_t vboPoolIdx, GLuint vboName, GLES2DynamicBuffer *dynamicBuffer)
@ M_SUBMESH_M_GEOMETRY_VERTEX_BUFFER
Definition: OgreMeshFileFormat.h:94
Command object for setting the char height.
Definition: OgreTextAreaOverlayElement.h:147
bool checkGPURules(StringStream &errors)
Internal method for checking GPU vendor / device rules.
const Radian & getRotationRangeEnd(void) const
Gets the maximum rotation of particles to be emitted.
Real getVerticalTexelOffset(void)
Returns the vertical texel offset value required for mapping texel origins to pixel origins in this r...
Definition: OgreGLES2RenderSystem.h:434
@ RSC_TEXTURE_SIGNED_INT
Supports signed integer textures.
Definition: OgreRenderSystemCapabilities.h:101
static LogManager * getSingletonPtr(void)
Override standard Singleton retrieval.
void doSet(void *target, const String &val)
virtual bool prequeueEntityMeshLodChanged(EntityMeshLodChangedEvent &evt)
Called before an entity's mesh LOD has changed.
Definition: OgreLodListener.h:162
GL3PlusSurfaceDesc requestRenderBuffer(GLenum format, uint32 width, uint32 height, uint fsaa)
Request a render buffer.
bool hasEdgeList(void)
Overridden member from ShadowCaster.
void compileShaderCode(ShaderCodeCache &codeCache)
Compiles input properties and adds it to the shader code cache.
static GLenum getGLInternalFormat(PixelFormat mFormat, bool hwGamma)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format.
String doGet(const void *target) const
static String toString(Degree val, unsigned short precision=6, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts a Degree to a String.
Definition: OgreStringConverter.h:85
vector< Polygon * >::type PolygonList
Definition: OgreConvexBody.h:55
void prepare()
Prepare node and children (perform CPU tasks, may be background thread)
String doGet(const void *target) const
void applyToAnimable(const AnimableValuePtr &anim, const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
Applies an animation track to a given animable value.
PagedWorldSection * createSection(PageStrategy *strategy, SceneManager *sceneMgr, const String §ionName=BLANKSTRING)
Create a manually defined new section of the world.
void storeToAoS(Matrix4 *RESTRICT_ALIAS dst) const
Converts these matrices contained in this ArrayMatrix to AoS form and stores them in dst.
virtual bool hasStaticGeometry(const String &name) const
Returns whether a static geometry instance with the given name exists.
void setFrameDelay(Real fd)
Sets a constant frame rate.
RequestID getID() const
Get the identifier of this request.
Definition: OgreWorkQueue.h:116
@ FFP_VS_FOG
Definition: OgreShaderFFPRenderState.h:50
Real getPointAttenuationConstant(void) const
Returns the constant coefficient of point attenuation.
void mapOutputBufferChannel(size_t outChannel, IdString bufferName)
Maps the output channel to the given buffer name which can be either a local buffer or a reference to...
static CommandBufferExecuteFunc execute_startV1LegacyRendering
Definition: OgreCommandBuffer.h:91
void install()
Perform the plugin initial installation sequence.
const DriverVersion & getGLVersion(void) const
Get version information.
Definition: OgreGL3PlusSupport.h:82
virtual ~MultiSourceVertexBufferPool()
Definition: OgreMultiSourceVertexBufferPool.h:80
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
Definition: OgreLight.h:370
void shutdown(void)
See RenderSystem.
void flush()
Definition: OgreVertexIndexData.h:346
virtual ~PropertyBase()
Definition: OgreProperty.h:193
static std::pair< bool, Real > intersects(const Ray &ray, const Vector3 &a, const Vector3 &b, const Vector3 &c, bool positiveSide=true, bool negativeSide=true)
Ray / triangle intersection, returns boolean result and distance.
void Swap(ComPtr &other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:176
@ VP_RTT_READ_ONLY_STENCIL
Assume stencil is read only (it's a hint, not an enforcement)
Definition: OgreViewport.h:51
const DriverVersion & getGLVersion(void) const
Get version information.
Definition: OgreGLES2Support.h:82
uint32 getProfileGroupMask() const
Get the mask which all profiles must pass to be enabled.
Definition: OgreProfiler.h:508
@ GCT_DOUBLE2
Definition: OgreGpuProgramParams.h:95
void _setTessellationHullTexture(size_t unit, const TexturePtr &tex)
Real getInnerSizeZ(void) const
Gets the z component of the area inside the ellipsoid which doesn't emit particles.
const uint32 * getThreadsPerGroup(void) const
Definition: OgreHlmsComputeJob.h:188
const HlmsDatablockMap & getDatablockMap(void) const
Returns all datablocks owned by this Hlms, including the default one.
Definition: OgreHlms.h:615
static CmdGreenAdjust2 msGreenCmd2
Definition: OgreColourFaderAffector2.h:189
void setWidth(Real width)
Sets the width (local x size) of the emitter.
Subclass of BillboardChain which automatically leaves a trail behind one or more Node instances.
Definition: OgreRibbonTrail.h:71
static DWORD get(HardwareBuffer::LockOptions options, HardwareBuffer::Usage usage)
Get lock options.
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:67
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
Definition: OgrePageContent.h:69
@ ThreadGroupsBasedOnUav
Based the number of thread groups on a UAV. See setNumThreadGroupsBasedOn.
Definition: OgreHlmsComputeJob.h:58
size_t physicalIndex
Physical start index in buffer (either float, double, int, or uint buffer)
Definition: OgreGpuProgramParams.h:151
ExternalTextureSource * getCurrentPlugIn(void) const
Returns currently selected plugin, may be null if none selected.
Definition: OgreExternalTextureSourceManager.h:67
virtual size_t _asyncDownload(BufferPacked *source, size_t srcOffset, size_t srcLength)=0
Copies the GPU data in BufferPacked to the StagingBuffer so that it can be later read by the CPU usin...
Block(size_t _offset, size_t _size)
Definition: OgreNULLVaoManager.h:55
bool mLoop
Definition: OgreSkeletonAnimation.h:64
bool hasSeparateFresnel(void) const
Whether the same fresnel term is used for RGB, or individual ones for each channel.
Codec specialized in images.
Definition: OgreImageCodec.h:48
static String eventType
Definition: OgreScriptCompiler.h:600
uint32 primCount
Definition: OgreCbDrawCall.h:106
virtual PageContentCollection * getContentCollection(size_t index)
Get a content collection.
NodeVecIterator getChildIterator(void)
Retrieves an iterator for efficiently looping through all children of this node.
void arrangeEfficient(bool halfPos, bool halfTexCoords, bool qTangents)
Rearranges the buffers in this Mesh so that they are more efficient for rendering with shaders.
@ VES_DIFFUSE
Diffuse colours.
Definition: OgreVertexElements.h:49
void setManuallyControlled(bool manuallyControlled)
Sets whether or not this bone is manually controlled.
CullFrustumRequest()
Definition: OgreSceneManager.h:176
~LodStrategyManager()
Destructor.
bool isCurrentlyMapped(void) const
Returns whether the buffer is currently mapped.
Definition: OgreHlms.h:885
void _validateStereo()
Validate the type of stereo that is enabled for this window.
RqSortMode
Definition: OgreRenderQueue.h:112
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create counter buffer.
void addWorldSectionFactory(PagedWorldSectionFactory *f)
Add a new PagedWorldSectionFactory implementation.
void _updatePCZSceneNodes(void)
Update the PCZSceneNodes.
DualQuaternion(const Matrix4 &rot)
Construct a dual quaternion from a transformation matrix.
Definition: OgreDualQuaternion.h:64
virtual void setMinTimeToLive(Real min)
Sets the minimum time each particle will live for.
virtual bool getPolygonModeOverrideable(void) const
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
Definition: OgreRenderable.h:353
bool scissorsMatchViewport(void) const
void setStartZone(PCZone *startZone)
set the zone to start the scene query
Definition: OgrePCZSceneQuery.h:121
Real dw
Definition: OgreDualQuaternion.h:166
void doSet(void *target, const String &val)
virtual OldBone * getBone(const String &name) const
Gets a bone by it's name.
SubRenderStateFactory * getSubRenderStateFactory(const String &type)
Returns a sub render state factory by name.
static const ArrayReal FLOAT_MIN
Definition: OgreMathlibC.h:57
UnlitBakedTexture()
Definition: OgreHlmsUnlitDatablock.h:52
@ SHADOW_NODE_REUSE
Forces the PassScene to not recalculate the ShadowNode even if it should.
Definition: OgreCompositorPassSceneDef.h:59
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
float getRoughness(void) const
Definition: OgreDecal.h:122
void addRenderables(RenderQueue *queue, uint8 group, size_t materialLod)
Add children to the render queue.
virtual void _restoreManualHardwareResources()
@ SPC_TEXTURE_COORDINATE7
Definition: OgreShaderParameter.h:295
int mNumEntities
Definition: OgreQuake3Level.h:121
void ToAngleAxis(ArrayRadian &rfAngle, ArrayVector3 &rkAxis) const
virtual void notifyCleared(void)
@See CompositorNode::_notifyCleared
Real squaredDistance(const Vector3 &v) const
Returns the square of the minimum distance between a given point and any part of the box.
virtual void _notifyCurrentCamera(const Camera *cam)
Overridden from MovableObject.
virtual ~FocusedShadowCameraSetup(void)
Default destructor.
virtual void destroyManualObject(ManualObject *obj)
Removes & destroys a ManualObject from the SceneManager.
Definition: OgreRenderQueue.h:49
bool isArray() const
Returns Whether this parameter is an array.
Definition: OgreShaderParameter.h:344
~TextureUnitState()
Default destructor.
MeshSerializerImpl_v1_8()
void setGreenAdjust2(float green)
Matrix4 getTransposeWorldViewMatrix() const
static bool isInteger(PixelFormat format)
Shortcut method to determine if the format is integer.
TimeIndex(Real timePos, uint keyIndex)
Construct time index object by the given time position and global keyframe index.
Definition: OgreAnimationTrack.h:84
void setListener(MeshSerializerListener *listener)
Sets the listener used to control mesh loading through the serializer.
Real getOwnHeight(void) const
Retrieves the billboard's personal height, if hasOwnDimensions is true.
@ TEXTURE_TYPE_NON_COLOR_DATA
Definition: OgreHlmsTextureManager.h:140
static void messagePump()
list< IndexRemap >::type IndexRemapList
List of indexes that were remapped (split vertices).
Definition: OgreTangentSpaceCalc.h:73
SharedPtr< ControllerFunction< Real > > ControllerFunctionRealPtr
Definition: OgreControllerManager.h:48
Definition: OgreShaderExTextureAtlasSampler.h:46
ResourceLayout::Layout oldLayout
Definition: OgreResourceTransition.h:124
PixelFormat colourFormat[OGRE_MAX_MULTIPLE_RENDER_TARGETS]
PF_NULL if no colour attachment is used.
Definition: OgreHlmsPso.h:108
Definition: OgreCommon.h:170
virtual bool addFunctionInvocations(ProgramSet *programSet)
~PCZLight()
Standard destructor.
virtual void frameStart(Real timeSinceLastFrame)
Called when the frame starts.
bool operator!=(STLAllocator< T, P > const &, STLAllocator< T2, P > const &)
determine equality, can memory from another allocator be released by this allocator,...
Definition: OgreMemorySTLAllocator.h:202
void setGLDisplay(EGLDisplay val)
virtual void setTextureCoordDirection(TexCoordDirection dir)
Sets the direction in which texture coords specified on each element are deemed to run along the leng...
@ CE_FEWERPARAMETERSEXPECTED
Definition: OgreScriptCompiler.h:208
unsigned int getColourDepth() const
@ PF_ASTC_SRGB8A8_10X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 10x5)
Definition: OgrePixelFormat.h:305
void setBoneRebaseListener(BySkeletonDef *l)
Definition: OgreBoneMemoryManager.h:162
bool isZeroLength(void) const
Returns true if this vector is zero length.
Definition: OgreVector3.h:720
@ RSC_AUTOMIPMAP
Supports generating mipmaps in hardware.
Definition: OgreRenderSystemCapabilities.h:79
Struct containing information about a material LOD change event for entities.
Definition: OgreLodListener.h:74
void _buildBoneAssignmentsFromVertexData(void)
Populates mBoneAssignments by reading the vertex data.
virtual_l2 void translate(const Vector3 &d, TransformSpace relativeTo=TS_PARENT)
Moves the node along the Cartesian axes.
virtual void windowResized(RenderWindow *rw)
Definition: OgreWindowEventUtilities.h:82
void touch(void)
'Touches' the resource to indicate it has been used.
@ ID_PASS_OP
Definition: OgreScriptCompiler.h:924
T *RESTRICT_ALIAS_RETURN get()
Definition: OgreRawPtr.h:117
MapIterator< ParticleEmitterFactoryMap > ParticleEmitterFactoryIterator
Definition: OgreParticleSystemManager.h:334
static Degree Sign(const Degree &dValue)
Definition: OgreMath.h:361
static RenderWindowList _msWindows
Definition: OgreWindowEventUtilities.h:183
@ ID_MIPMAPS
Definition: OgreScriptCompiler.h:843
void loadGroupDefinition(StreamSerialiser &stream)
Load the group definition only in native form from a serializing stream.
@ SPC_UNKNOWN
Unknown content.
Definition: OgreShaderParameter.h:78
Plugin instance for PCZ Manager.
Definition: OgrePCZPlugin.h:52
bool _isManualLodLevel(unsigned short level) const
Internal methods for loading LOD, do not use.
GL3PlusDefaultHardwareVertexBuffer(size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage)
D3D9HardwareOcclusionQuery()
Default object constructor.
void unmap(UnmapOptions unmapOption, size_t flushStartElem=0, size_t flushSizeElem=0)
Unmaps or flushes the region mapped with.
const_iterator end() const
Definition: OgreFastArray.h:369
const String & getMovableType(void) const
virtual void createUniqueDepthBufferFor(RenderTarget *renderTarget, bool exactMatch)
IdString getName(void) const
Definition: OgreHlmsComputeJob.h:154
void _setTextureCoordSet(size_t unit, size_t index)
Sets the texture coordinate set to use for a texture unit.
virtual void postExtraThreadsStarted()
virtual ~ResourceLoadingListener()
Definition: OgreResourceGroupManager.h:196
bool mBeginRtUpdate
True if a previous pass doesn't alter the contents of the same render target we do TODO: Fill this au...
Definition: OgreCompositorPassDef.h:114
String getErrorDescription(const HRESULT hr=NO_ERROR) const
virtual bool isHardwareFilteringSupported(TextureType ttype, PixelFormat format, int usage, bool preciseFormatOnly=false)=0
Returns whether this render system has hardware filtering supported for the texture format requested ...
virtual OGRE_DEPRECATED void setUserAny(const Any &anything)
Definition: OgreRenderable.h:365
void readData(size_t offset, size_t length, void *pDest)
Reads data from the buffer and places it in the memory pointed to by pDest.
virtual bool queryIsTransferDone(void)
@ ACT_LOD_CAMERA_POSITION_OBJECT_SPACE
Provides the position of the LOD camera in object space, allowing you to perform separate LOD calcula...
Definition: OgreGpuProgramParams.h:1343
void abortRequest() const
Set the abort flag.
Definition: OgreWorkQueue.h:106
const String & getTargetLanguage() const
Return the target shader language currently in use.
Definition: OgreShaderGenerator.h:147
StatFlags
Definition: OgreRenderTarget.h:67
bool isSkyEnabled(void) const
Is sky enabled?
struct _OgreVolumeExport Ogre::Volume::Vertex Vertex
Lightweight struct to represent a mesh vertex.
const String & getTypeName(void) const
Retrieve the type name of this scene manager.
bool isVertexProgramInUse() const
Definition: OgreStaticGeometry.h:352
PropertyValueMap getValueMap() const
Gets an independently usable collection of property values from the current state.
virtual void setOrthoWindow(Real w, Real h)
Sets the orthographic window settings, for use with orthographic rendering only.
virtual void _update(void)
void removeTexUnit(uint8 slotIdx)
Destroys a given texture unit, displacing all the higher tex units.
bool isLocked(void) const
Returns whether or not this buffer is currently locked.
Definition: OgreHardwareBuffer.h:340
ArrayAabb intersection(const ArrayAabb &b2) const
Calculate the area of intersection of this box and another.
static Matrix4 parseMatrix4(const String &val, const Matrix4 &defaultValue=Matrix4::IDENTITY)
Parses a Matrix4 out of a String.
@ MAX_COMMAND_BUFFER
Definition: OgreCbCommon.h:70
static String eventType
Definition: OgreScriptCompiler.h:590
String resourceType
Definition: OgreResourceGroupManager.h:277
void removeAllSharedParameters()
Stop using all shared parameter sets.
static CommandBufferExecuteFunc execute_drawV1Strip
Definition: OgreCommandBuffer.h:96
virtual void unload()=0
Unloads the archive.
~SmallVectorImpl()
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:463
virtual RenderWindow * createWindow(bool autoCreateWindow, GL3PlusRenderSystem *renderSystem, const String &windowTitle)
void updateParams(const MaterialPtr &mat, const Terrain *terrain)
Update params for a terrain.
Implementation of NULL as a rendering system.
Definition: OgreNULLRenderSystem.h:53
virtual void bindBufferCS(uint16 slot)
PixelFormat pixelFormat
Definition: OgreCompositorPassComputeDef.h:66
Real getTopBorderSize(void) const
Gets the size of the top border.
@ SBT_ADD
Add the texture values to the existing scene content.
Definition: OgreBlendMode.h:222
NamePair()
Definition: OgreHlmsTextureManager.h:160
bool hasEmissiveConstant(void) const
Returns true iif getEmissive is non-zero.
void _updateCustomGpuParameter(const GpuProgramParameters::AutoConstantEntry &constantEntry, GpuProgramParameters *params) const
Overridden from Renderable to provide some custom behaviour.
@ ID_FRONT
Definition: OgreScriptCompiler.h:913
virtual void _setSkyBox(bool enable, const String &materialName, uint8 renderQueue, Real distance=5000, const Quaternion &orientation=Quaternion::IDENTITY, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Enables / disables a 'sky box' i.e.
static size_t getVectorIDFromPointer(const std::vector< T, A > &vec, const T *pointer)
Definition: OgreLodData.h:170
Definition: OgrePCZSceneNode.h:60
Vector3 mC2
Definition: OgreVolumeDualGridGenerator.h:47
static const String & getDirectionalLightExtruderVs_glslesFinite(void)
Get FINITE extruder program source for directional lights, compatible with glsles.
Definition: OgreShadowVolumeExtrudeProgram.h:299
@ ID_KERNEL_RADIUS
Definition: OgreScriptCompiler.h:945
@ ST_EXTERIOR_FAR
Definition: OgreSceneManager.h:3318
void unloadPlugin(const String &pluginName)
Manually unloads a Plugin contained in a DLL / DSO.
SharedPtrInfo()
Definition: OgreSharedPtr.h:56
virtual void _releaseManualHardwareResources()
Notifies that hardware resources were lost.
Definition: OgreOverlayElement.h:204
@ UNLIT_BLEND_MULTIPLY2X
Definition: OgreHlmsUnlitPrerequisites.h:69
GLenum getGlTarget(void) const
Definition: OgreGL3PlusTextureBuffer.h:78
void removeAllWorkspaceDefinitions(void)
~D3D11HardwareOcclusionQuery()
Object destructor.
Command object for setting profiles.
Definition: OgreGLSLESCgProgram.h:44
~DefaultHardwareBufferManagerBase()
static CmdGreenAdjust msGreenCmd
Definition: OgreColourFaderAffector.h:134
Specialised AnimationTrack for dealing with generic animable values.
Definition: OgreAnimationTrack.h:269
static ArrayMaskI TestFlags4(ArrayMaskI a, ArrayInt b)
Definition: OgreMathlibC.h:176
virtual void setFullscreen(bool fullScreen, unsigned int widthPt, unsigned int heightPt)
Alter fullscreen mode options.
Definition: OgreRenderWindow.h:115
~GL3PlusDefaultHardwareVertexBuffer()
size_t getVboPoolIndex(void)
Definition: OgreD3D11BufferInterfaceBase.h:52
@ CB_SET_TEXTURE_BUFFER_PS
Definition: OgreCbCommon.h:54
void setUseRayBoxDistanceCalculation(bool rb)
Sets whether to use an accurate ray / box intersection to determine distance from a terrain tile,...
Definition: OgreTerrain.h:2038
unsigned short getNumSubMeshes(void) const
Gets the number of sub meshes which comprise this mesh.
void getVector(Real x, Real y, Real z, Vector3 *outVec) const
Translate a vector into world space based on the alignment options.
~STLAllocator()
dtor
Definition: OgreMemorySTLAllocator.h:107
@ UNLIT_BLEND_GRAIN_MERGE
Definition: OgreHlmsUnlitPrerequisites.h:75
virtual void freeInternalResources(void)
Frees internal texture resources for this texture.
float getGreenAdjust1(void) const
Gets the green adjustment to be made per second to particles.
Real getIterationInterval(void) const
Gets a 'iteration interval' on this particle system.
Definition: OgreParticleSystem.h:427
void freeTagPoint(TagPoint *tagPoint)
Frees a TagPoint that already attached to a bone.
virtual void resourceGroupScriptingEnded(const String &groupName)=0
This event is fired when a resource group finished parsing scripts.
FunctionType getFunctionType() const
get function type.
PbsMobileShaderCreationData()
Definition: OgrePbsMobileShaderCreationData.h:65
FastArray< ReadRequests > ReadRequestsArray
Definition: OgreVertexArrayObject.h:197
GLSL ES Language program processor class.
Definition: OgreShaderGLSLESProgramProcessor.h:47
virtual bool getDynamic() const
Gets whether this object is marked as dynamic.
Definition: OgreManualObject.h:178
virtual void regressFrame(void)
@ BY_DISTANCE
Definition: OgreTerrainAutoUpdateLod.h:70
void setMaterialName(const String &name, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
update the material name in use
uint64 getMicroseconds()
Returns microseconds since initialisation or last reset.
int getNumFaceGroups(void) const
Returns the number of faces contained in this leaf node.
@ PF_ASTC_RGBA_10X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 10x5)
Definition: OgrePixelFormat.h:277
Specialised AnimationTrack for dealing with node transforms.
Definition: OgreAnimationTrack.h:330
void setWorkQueue(WorkQueue *queue)
Replace the current work queue with an alternative.
bool useCompression
If enabled, it allows up to 50% smaller index buffers by storing once shared faces with frame shiftin...
Definition: OgreLodConfig.h:152
Real getDetailMapWeight(uint8 detailMap) const
static int8 floatToSnorm8(float v)
Definition: OgreBitwise.h:422
bool isDirty() const
True if this parameter set is dirty (values have been modified, but the render system has not updated...
Definition: OgreGpuProgramParams.h:694
@ PF_X8R8G8B8
32-bit pixel format, 8 bits for red, 8 bits for green, 8 bits for blue like PF_A8R8G8B8,...
Definition: OgrePixelFormat.h:84
IdString getName(void) const
Definition: OgreCompositorNodeDef.h:108
bool canHandleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
WorkQueue::RequestHandler override.
void setIteratePerLight(bool enabled, bool onlyForOneLightType=true, Light::LightTypes lightType=Light::LT_POINT)
Sets whether or not this pass should iterate per light or number of lights which can affect the objec...
void _unlinkRenderable(Renderable *renderable)
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
This is a listener for the compiler.
Definition: OgreScriptCompiler.h:364
virtual void _restoreManualHardwareResources()
Notifies the scene manager that hardware resources should be restored.
Ogre::MapIterator< PropertyMap > PropertyIterator
Definition: OgreProperty.h:302
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:980
Vector3 mC5
Definition: OgreVolumeDualGridGenerator.h:50
bool getInheritParentEntityOrientation(void) const
Returns true if this TagPoint is affected by orientation applied to the parent entity.
VertexElement2VecVec convertToV2(void)
Definition: OgreGL3PlusUavBufferPacked.h:40
@ FBT_COLOUR
Definition: OgreCommon.h:342
IdString getName(void) const
Definition: OgreSkeletonAnimation.h:118
@ M_POSES
Definition: OgreMeshFileFormat.h:146
@ None
No alpha blending. Default.
Definition: OgreHlmsPbsDatablock.h:193
uint8 getAreaLightsRoundMultiple(void) const
Definition: OgreHlms.h:483
ArrayMaskR contains(const ArrayVector3 &v) const
Tests whether the given point contained by this box.
uint32 meshIndex
This index is set to 0 by default.
Definition: OgreRenderOperation.h:56
const Vector3 & getNormal(void) const
Returns the polygon normal.
TRect & merge(const TRect &rhs)
Definition: OgreCommon.h:769
Class for providing backwards-compatibility for loading version 1.4 of the .mesh format.
Definition: OgreMeshSerializerImpl.h:264
virtual bool isSyntaxSupported(const String &syntaxCode) const
Returns whether a given syntax code (e.g.
void seek(size_t pos)
Repositions the read point to a specified byte.
@ RSC_TEXTURE_2D_ARRAY
TEX_TYPE_2D_ARRAY is supported.
Definition: OgreRenderSystemCapabilities.h:201
static const IdString DetailOffsetsN2
Definition: OgreHlmsPbsMobile.h:134
virtual void shutdown()=0
Perform any tasks the plugin needs to perform when the system is shut down.
Real getPointAttenuationLinear(void) const
Returns the linear coefficient of point attenuation.
@ GCT_INT1
Definition: OgreGpuProgramParams.h:89
virtual bool frameStarted(const FrameEvent &evt)
Called when a frame is about to begin rendering.
void setAffectsVisibleZone(bool affects)
Marks a light as affecting a visible zone.
Definition: OgrePCZLight.h:87
Vertex * vertex[3]
Definition: OgreLodData.h:116
void setActiveDomainShader(GLSLShader *domainGpuProgram)
Set the active domain(evaluation) shader for the next rendering state.
RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
VertexReductionMethod
Type of the reduction.
Definition: OgreLodConfig.h:59
HlmsUnlitMobileDatablock OverlayUnlitDatablock
Definition: OgreOverlayPrerequisites.h:81
void fillBuffer(Ogre::v1::VertexData *data)
virtual void releaseVertexBufferCopy(const HardwareVertexBufferSharedPtr &bufferCopy)
Manually release a vertex buffer copy for others to subsequently use.
Definition: OgreHardwareBufferManager.h:514
virtual RenderSystemCapabilities * createRenderSystemCapabilities() const =0
Query the real capabilities of the GPU and driver in the RenderSystem.
virtual Animation * getAnimation(const String &name) const
Returns the named vertex Animation object.
void addResourceLocation(const String &name, const String &locType, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, bool recursive=false)
Adds a location to the list of searchable locations for a Resource type.
Real getShadowFarClipDistance() const
Get the far clip plane distance to be used by the shadow camera, if this light casts texture shadows.
Definition: OgreLight.h:466
virtual void read(Vector4 *vec, size_t count=1)
static PropertyType getTypeForValue(const ColourValue &val)
Definition: OgreProperty.h:167
SkeletonInstance(const SkeletonDef *skeletonDef, BoneMemoryManager *boneMemoryManager)
PropertyIterator getPropertyIterator()
Get an iterator over the available properties.
void setFragmentProgramConstantIntCount(ushort c)
The number of integer constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:720
Implementation of HardwareBufferManager for D3D9.
Definition: OgreD3D9HardwareBufferManager.h:38
void _setRawAutoConstant(size_t physicalIndex, AutoConstantType acType, size_t extraInfo, uint16 variability, size_t elementSize=4)
As setAutoConstant, but sets up the auto constant directly against a physical buffer index.
void discardFrameBuffer(unsigned int buffers)
Instructs the viewport to 'discard' the buffers.
void setPreferDepthTexture(bool preferDepthTexture)
Whether this RT should be attached to a depth texture, or a regular depth buffer.
#define OGRE_MAX_TEXTURE_COORD_SETS
Define number of texture coordinate sets allowed per vertex.
Definition: OgreConfig.h:73
Defines a PipelineStateObject as required by Vulkan, Metal & DX12.
Definition: OgreHlmsPso.h:160
void _setVaoManager(VaoManager *vaoManager)
@ UpperDistance
Definition: OgreArrayMemoryManager.h:372
This struct represents a token, which is an ID'd lexeme from the parsing input stream.
Definition: OgreScriptLexer.h:63
#define OGRE_HLMS_NUM_SAMPLERBLOCKS
Definition: OgreHlmsManager.h:55
FastArray< PbsBakedTexture > PbsBakedTextureArray
Definition: OgreHlmsPbsDatablock.h:182
TexturePtr getTexture(uint8 texType) const
std::deque< T, A >::const_iterator const_iterator
Definition: OgrePrerequisites.h:603
Specialisation of ParticleSystemRenderer to render particles using a BillboardSet.
Definition: OgreBillboardParticleRenderer.h:53
void unregisterThread()
Unregister an additional thread which may make calls to rendersystem-related objects.
virtual void _updateTransforms(void)
Updates all the derived transforms in the skeleton.
@ ID_LIGHT_SCISSOR
Definition: OgreScriptCompiler.h:683
@ ID_COMPOSITOR_NODE
Definition: OgreScriptCompiler.h:819
@ CNT_RBRACE
Definition: OgreScriptCompiler.h:57
@ SHADER_GEN_VERTEX
Definition: OgreQuake3Types.h:122
void saveJob(const HlmsComputeJob *job, String &outString)
virtual void removeAndDestroyAllChildren(void)
Removes and destroys all children of this node.
Definition: OgreMetalRenderTexture.h:39
const String & getShaderCachePath(void) const
Get shader cache path.
Definition: OgreGLES2Support.h:90
void useCustomRenderSystemCapabilities(RenderSystemCapabilities *capabilities)
Requests active RenderSystem to use custom RenderSystemCapabilities.
GLenum cullMode
Definition: OgreGLES2HlmsPso.h:50
static const IdString BlendModeIdx1
Definition: OgreHlmsUnlitMobile.h:126
virtual void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
Copy data from another buffer into this one.
Definition: OgreHardwareBuffer.h:286
bool isHidden(void) const
RenderWindow::isHidden
Definition: OgreGLXWindow.h:64
TerrainSlotDefinition def
Definition used to load the terrain.
Definition: OgreTerrainGroup.h:328
void setHighQuality(bool highQuality)
Sets the quality of the Hlms.
void updateUniforms(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)
Updates program pipeline object uniforms using named and indexed parameter data from GpuProgramParame...
Terrain * getTerrain() const
Get ultimate parent terrain.
virtual bool isHeld() const
Returns whether this page was 'held' in the last frame, that is was it either directly needed,...
void _calcBoundsFromVertexBuffer(VertexData *vertexData, AxisAlignedBox &outAABB, Real &outRadius, bool updateOnly=false)
Calculates.
@ ACT_WORLDVIEWPROJ_MATRIX
view matrices.
Definition: OgreGpuProgramParams.h:975
virtual void writeSourceCode(std::ostream &os, Program *program)
ID3D11Texture3D * GetTex3D()
Definition: OgreD3D11Texture.h:82
String doGet(const void *target) const
static ArchiveManager & getSingleton(void)
Override standard Singleton retrieval.
Definition: OgreTextureDefinition.h:130
void setLoadingListener(ResourceLoadingListener *listener)
Sets a new loading listener.
virtual SceneNode * createSceneNodeImpl(void)
Creates a specialized OctreeNode.
@ SPC_POSITION_LIGHT_SPACE0
Position in light space index 0-7.
Definition: OgreShaderParameter.h:93
@ MeshesV1
Definition: OgreSceneFormatBase.h:65
virtual void setClipPlanesImpl(const PlaneList &clipPlanes)
Internal method used to set the underlying clip planes when needed.
String atlasTextureName
Definition: OgreShaderExTextureAtlasSampler.h:64
virtual void _notifyParticleResized(void)
Optional callback notified when particles are resized individually.
Definition: OgreParticleSystemRenderer.h:82
virtual void removeListener(Listener *lis)
Remove a listener on this resource.
NSView * ogreView() const
Definition: OgreOSXCocoaWindow.h:75
IdString(const std::string &string)
Definition: OgreIdString.h:118
static const size_t MaterialSizeInGpu
Definition: OgreHlmsUnlitDatablock.h:290
GLES2FBOManager * getManager()
Definition: OgreGLES2FrameBufferObject.h:83
D3D11DynamicBuffer * getDynamicBuffer(void) const
Definition: OgreD3D11BufferInterface.h:58
@ BB_FLAG_VERTEX
Definition: OgreBufferPacked.h:95
bool operator<(const VertexElement2 &_r) const
Warning: Beware a VertexElement2Vec shouldn't be sorted.
Definition: OgreVertexBufferPacked.h:70
void getRenderOperation(RenderOperation &op, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
void _notifyOrigin(const String &origin)
Notify this particle system of it's origin.
Definition: OgreParticleSystem.h:530
bool allowWriteAfterWrite
Definition: OgreCompositorPassDef.h:152
Plugin instance for Cg Program Manager.
Definition: OgreCgPlugin.h:39
Real getPointSize(void) const
Gets the point size of the pass.
void unbind(RenderTarget *target)
Unbind a certain render target.
Definition: OgreGLES2FBORenderTexture.h:82
TerrainLayerSampler(const String &aliasName, PixelFormat fmt)
Definition: OgreTerrainMaterialGenerator.h:120
RenderTexture * createRenderTexture(const String &name, unsigned int width, unsigned int height, TextureType texType=TEX_TYPE_2D, PixelFormat internalFormat=PF_X8R8G8B8, const NameValuePairList *miscParams=0)
static ProgramWriterManager * getSingletonPtr()
Override standard Singleton retrieval.
virtual const String & getFsaaHint() const
const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this class.
@ TU_DYNAMIC
same as HardwareBuffer::HBU_DYNAMIC
Definition: OgreTexture.h:53
@ SPC_POSTOLIGHT_VIEW_SPACE1
Definition: OgreShaderParameter.h:148
virtual_l2 void detachObject(MovableObject *obj)
Detaches an object by pointer.
void setInnerSize(Real x, Real y)
Sets the size of the clear space inside the area from where NO particles are emitted.
void updateZoneData(void)
void setBoundsPaddingFactor(Real paddingFactor)
Sets the factor by which the bounding box of an entity is padded.
virtual bool frameRenderingQueued(const FrameEvent &evt)
Called after all render targets have had their rendering commands issued, but before render windows h...
Definition: OgreFrameListener.h:116
@ ID_NOT_EQUAL
Definition: OgreScriptCompiler.h:678
static void getBitMasks(PixelFormat format, uint64 rgba[4])
Gives the masks for the R, G, B and A component.
unsigned short _getSchemeIndex(void) const
Internal method for getting the scheme index.
TextureFrameControllerValue(TextureUnitState *t)
GLuint getDepthBuffer() const
Definition: OgreGLES2DepthBuffer.h:68
virtual void _releaseManualHardwareResources()
@ SPC_LIGHTDIRECTION_WORLD_SPACE1
Definition: OgreShaderParameter.h:178
#define OGRE_THREAD_WORKER_INHERIT
Definition: OgreThreadDefinesBoost.h:78
@ VSOCP_MEDIUM
Definition: OgreShaderPrerequisites.h:89
bool isHardwareFilteringSupported(TextureType ttype, PixelFormat format, int usage, bool preciseFormatOnly=false)
Returns whether this render system has hardware filtering supported for the texture format requested ...
StaticGeometry * getParent(void) const
Definition: OgreStaticGeometry.h:401
PagedWorld * createWorld(const String &name=BLANKSTRING)
Create a new PagedWorld instance.
void FromEulerAnglesXYZ(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
Real getHorizontalTexelOffset(void)
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
Alignment terrainAlign
The alignment of the terrain.
Definition: OgreTerrain.h:330
v1::RenderOperation * renderOp
General render operation structure, fallback if nothing else is available.
Definition: OgreSceneQuery.h:113
Real getVolumeSpaceToWorldSpaceFactor(void) const
Gets a factor to come from volume coordinate to world coordinate.
int mNumElements
Definition: OgreQuake3Level.h:118
void setShadowNearClipDistance(Real nearClip)
Set the near clip plane distance to be used by the shadow camera, if this light casts texture shadows...
Definition: OgreLight.h:434
virtual void setSourceFile(const String &filename)
Sets the filename of the source assembly for this program.
void _setBlendMaskData(const float *blendMaskData)
Set the blend mask data (might be dangerous)
virtual ~LodWorkQueueInjectorListener()
Definition: OgreLodWorkQueueInjectorListener.h:41
virtual void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)=0
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
T get(void) const
Definition: OgreAtomicObject.h:63
Vector2 randomDeviant(Radian angle) const
Generates a new random vector which deviates from this vector by a given angle in a random direction.
Definition: OgreVector2.h:511
void bindPassIterationParameters(GpuProgramParametersSharedPtr params)
Execute the pass iteration param binding functions for this shader.
void readData(size_t offset, size_t length, void *pDest)
Reads data from the buffer and places it in the memory pointed to by pDest.
static void shutdown(void)
Static method to shutdown and unregister the ETC codec.
void updatePoseReference(ushort poseIndex, Real influence)
Update the influence of a pose reference.
ImageBlur2D separableBlur_sRGB_XXXA8888
Definition: OgreImageDownsampler.h:205
String getName() const
See ParticleEmitterFactory.
Definition: OgreEllipsoidEmitterFactory.h:49
IdString getName(void) const
Definition: OgreCompositorNode.h:157
@ RSC_HWRENDER_TO_TEXTURE
Supports hardware render-to-texture (bigger than framebuffer)
Definition: OgreRenderSystemCapabilities.h:115
Timer * getTimer()
Retrieves the timer for the profiler.
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreGL3PlusDepthTexture.h:108
void removeCamera(Camera *c)
Tells the paging system to stop tracking a given camera.
T * constructN(T *basePtr, size_t count)
Utility function for constructing an array of objects with placement new, without using new[] (which ...
Definition: OgreMemoryAllocatorConfig.h:373
const String & getName() const
Get the name of this strategy.
Definition: OgreLodStrategy.h:109
bool getBuildParametersFromReflection(void) const
Definition: OgreGpuProgram.h:295
Entity * getManualLodLevel(size_t index) const
Gets a pointer to the entity representing the numbered manual level of detail.
virtual bool getUseIdentityWorldMatrix(void) const
Overriden from Renderable.
uint32 getRenderQueueId(void) const
Definition: OgreVertexArrayObject.h:102
virtual void _makeOrthoMatrix(const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
Builds an orthographic projection matrix suitable for this render system.
Definition: OgreNULLRenderSystem.h:151
void setLightMask(uint32 lightMask)
Set a bitwise mask which will filter the lights affecting this object.
static const String & getProgramName(Light::LightTypes lightType, bool finite, bool debug)
virtual void setUseVertexColours(bool use)
Sets whether vertex colour information should be included in the final buffers generated.
@ ANT_UNKNOWN
Definition: OgreScriptCompiler.h:78
@ V1_LEGACY
This is the slowest mode.
Definition: OgreRenderQueue.h:92
void _initialize(void)
Internal function that initializes a lot of structures that can't be done in the constructor due to h...
HardwareOcclusionQuery * createHardwareOcclusionQuery(void)
Create an object for performing hardware occlusion queries.
size_t rowPitchAlwaysBytes(void) const
Returns rowPitch, but always in bytes.
@ BLOCK_MACRO
Definition: OgreHlmsDatablock.h:46
@ GCT_MATRIX_DOUBLE_4X3
Definition: OgreGpuProgramParams.h:105
Real getAdjust(void) const
Gets the scale adjustment to be made per second to particles.
void _load(void)
Load this usage (and ensure program is loaded)
virtual void deinitGPUProfiling(void)
void addPoseReference(ushort poseIndex, Real influence)
Add a new pose reference.
std::deque< T, A >::iterator iterator
Definition: OgrePrerequisites.h:602
Vector2()
Default constructor.
Definition: OgreVector2.h:60
virtual void setCustomShadowReceiverMaterials(const SkinningType skinningType, const MaterialPtr &receiver1Weight, const MaterialPtr &receiver2Weight, const MaterialPtr &receiver3Weight, const MaterialPtr &receiver4Weight)
Sets the list of custom shadow receiver materials.
bool _validateDevice()
Validate the device for this window.
void _writeRawConstants(size_t physicalIndex, const uint *val, size_t count)
Write a series of unsigned integer values into the underlying integer constant buffer at the given ph...
virtual void cameraDestroyed(Camera *cam)
Called when the camera is being destroyed.
Definition: OgreCamera.h:102
VertexElement2(VertexElementType type, VertexElementSemantic semantic)
Definition: OgreVertexBufferPacked.h:49
virtual bool getInterpolatedKeyFrame(const AnimationTrack *t, const TimeIndex &timeIndex, KeyFrame *kf)=0
Get an interpolated keyframe for this track at the given time.
void setLodTransition(float t)
Manually set the current LOD transition state, intended for internal use only.
void doSet(void *target, const String &val)
virtual bool _prepareProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to prepare page content procedurally.
Real mSpreadThreshold
Definition: OgreInstantRadiosity.h:158
eTexturePlayMode
Enum for type of texture play mode.
Definition: OgreExternalTextureSource.h:61
@ HBU_WRITE_ONLY
Indicates the application will never read the contents of the buffer back, it will only ever write da...
Definition: OgreHardwareBuffer.h:98
Definition: OgreSceneFormatImporter.h:39
static const IdString BlendModeIndex9
Definition: OgreUnlitProperty.h:118
@ ACT_FOV
This variable provides the field of view as a floating point value.
Definition: OgreGpuProgramParams.h:1256
@ VpShadow
Definition: OgreCommon.h:78
virtual void _notifyBillboardRotated(void)
Internal callback used by Billboards to notify their parent that they have been rotated.
static String FACTORY_TYPE_NAME
Definition: OgreItem.h:270
static CommandBufferExecuteFunc execute_setConstantBufferPS
Definition: OgreCommandBuffer.h:75
bool prepare(StreamSerialiser &stream)
Prepare terrain data from saved data.
Template version of cache based on static array.
Definition: OgreDataStream.h:44
@ PFF_INTEGER
This is an integer format.
Definition: OgrePixelFormat.h:386
void removeQueryFlags(uint32 flags)
As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this o...
Wrap-around class that contains multiple ArrayMemoryManager, one per hierarchy depth.
Definition: OgreBoneMemoryManager.h:57
void _updateDirtyBatchesThread(size_t threadIdx)
Called by SceneManager every frame from multiple threads.
RenderToVertexBufferSharedPtr createRenderToVertexBuffer(void)
Create a render to vertex buffer.
virtual ~IntersectionSceneQuery()
Pose * getPose(const String &name)
Retrieve an existing Pose by name.
HRESULT As(ComPtr< U > *res) const ASSUME_NOEXCEPT
Definition: OgreComPtr.h:237
void removeRenderable(Renderable *renderable)
@ SBF_ONE_MINUS_SOURCE_ALPHA
Definition: OgreBlendMode.h:245
AllocatedObject< SceneCtlAlignPolicy > SceneCtlAlignedObject
Definition: OgreMemoryAllocatorConfig.h:288
void setNormalMapWeight(Real weight)
@See setDetailNormalWeight. This is the same, but for the main normal map.
DeformFunc deformFunc
Definition: OgreQuake3Shader.h:108
Definition of a property of an object.
Definition: OgreProperty.h:133
Separate SceneQuery class to query for pairs of objects which are possibly intersecting one another.
Definition: OgreSceneQuery.h:505
@ BoolFalse
Definition: OgreTextureDefinition.h:68
Real valueAngleUnits() const
Definition: OgreMath.h:768
Definition: OgreX11EGLSupport.h:80
bool isLanguageSupported(const String &lang)
Returns whether a given high-level language is supported.
Vertex(const Vector3 &v, const Vector3 &n)
Convenience constructor.
Definition: OgreVolumeMeshBuilder.h:68
virtual void destroyContent(PageContent *coll)
Destroy a PageContent within this page.
const String & getPreprocessorDefines(void) const
Sets the preprocessor defines use to compile the program.
Definition: OgreGLSLShader.h:167
void removeAnimation(const String &name)
Removes an Animation from this skeleton.
virtual void _setIndirectBuffer(IndirectBufferPacked *indirectBuffer)
TextureDefinition(IdString _name)
Definition: OgreTextureDefinition.h:121
FastArray< VisibleObjectsPerRq > VisibleObjectsPerThreadArray
Definition: OgreSceneManager.h:134
MeshChunkID
Definition of the OGRE .mesh file format.
Definition: OgreMeshFileFormat.h:57
@ ID_INCLUDE
Definition: OgreScriptCompiler.h:642
virtual Vector3 getComputeGroupDimensions(void) const
Returns the number of process groups dispatched by this compute program.
Definition: OgreGpuProgram.h:376
void removeReferenceCount(void)
Decreases the reference count by one.
RenderSystem * getRenderSystem(void) const
Definition: OgreHlms.h:765
Listener interface so you can be notified of Camera events.
Definition: OgreCamera.h:88
virtual void abortAllRequests()=0
Abort all previously issued requests.
size_t find(const LwConstString *val, size_t pos=0) const
Definition: OgreLwConstString.h:115
PageContentCollection * createContentCollection(const String &typeName)
Create a new instance of PageContentCollection using the registered factories.
uint8 getRenderQueueGroup(void) const
Gets the queue group for this entity, see setRenderQueueGroup for full details.
@ ParentNode
Definition: OgreBoneArrayMemoryManager.h:62
Billboard * createBillboard(const Vector3 &position, const ColourValue &colour=ColourValue::White)
Creates a new billboard and adds it to this set.
void setSpotlightOuterAngle(const Radian &val)
Sets the angle covered by the spotlights outer cone.
static const IdString UvCount5
Definition: OgreHlms.h:795
This class is the 'core' class for paging terrain, that will integrate with the larger paging system ...
Definition: OgreTerrainPaging.h:71
Class for serializing Materials to / from a .material script.
Definition: OgreMaterialSerializer.h:62
void setGLBufferBinding(GLint binding)
const Any & getData() const
Get the user details of this request.
Definition: OgreWorkQueue.h:112
bool hasProperty(const String &name) const
Reports whether this property set contains a named property.
GLenum getGLES2TextureTarget(void) const
void setSamplerblock(const HlmsSamplerblock &samplerblock)
Set samplerblock for every texture unit in every Pass.
const ContentFactoryMap & getContentFactories() const
Get a reference to the registered strategies.
GeneralAllocatedObject RootAlloc
Definition: OgreMemoryAllocatorConfig.h:326
Real _deriveShadowFarClipDistance(const Camera *maincam) const
Derive a shadow camera far distance from either the light, or from the main camera if the light doesn...
Factory object for creating BillboardSet instances.
Definition: OgreBillboardSet.h:838
ElementType
Definition: OgreShaderParams.h:56
const Capsule & getCapsule() const
Returns an updated capsule of the portal for intersection test.
virtual void performCleanup(uint16 level, const MemoryPoolVec &basePtrs, size_t const *elementsMemSizes, size_t startInstance, size_t diffInstances)
Called when too many nodes were destroyed in a non-LIFO fashion.
AtomicObject()
Definition: OgreAtomicObject.h:55
Definition: OgreGLXGLSupport.h:39
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
void clear(unsigned int buffers=FBT_COLOUR|FBT_DEPTH, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)
Instructs the viewport to clear itself, without performing an update.
@ ACT_SURFACE_DIFFUSE_COLOUR
Surface diffuse colour, as set in Pass::setDiffuse.
Definition: OgreGpuProgramParams.h:1009
const CompositorPassVec & _getPasses() const
Definition: OgreCompositorNode.h:263
bool isPointInside(const Vector3 &point) const
Determines if a point is inside the polygon.
ChunkTreeSharedData(const ChunkParameters *params)
Constructor.
Definition: OgreVolumeChunk.h:125
bool intersects(const AxisAlignedBox &box) const
Returns whether or not this sphere intersects a box.
Definition: OgreSphere.h:84
StreamSerialiser * _writePageStream(PageID pageID, PagedWorldSection *section)
Get a serialiser set up to write Page data for the given PageID.
void reposition(int left, int top)
RenderWindow::reposition
virtual Archive * createInstance(const String &name, bool readOnly)=0
Creates a new object.
uint8 getShadowMapLightTypeMask(uint32 shadowMapIdx) const
Do not call this if isShadowMapIdxActive == false or isShadowMapIdxInValidRange == false.
static bool findFirstAppearance(const GeometryVec &geom, const VertexData *vertexBuffer, size_t &outVaoIdx)
Predefined type.
Definition: OgreIteratorRange.h:186
Interface of the NVIDIA stereo driver.
Definition: OgreD3D9StereoDriverNVIDIA.h:44
const TexturePtr & getLightmap() const
Get access to the lightmap, if enabled (as requested by the material generator)
Definition: OgreTerrain.h:1088
Command object for setting optimisation level.
Definition: OgreD3D9HLSLProgram.h:76
TerrainLayerSamplerElementList elements
Definition: OgreTerrainMaterialGenerator.h:134
uint8 getMaxLayers() const
Get the maximum number of layers supported with the current options.
ProcessResourceNameScriptCompilerEvent(ResourceType resourceType, const String &name)
Definition: OgreScriptCompiler.h:523
Definition: OgrePCPlane.h:54
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgreNode.h:775
@ BBO_CENTER
Definition: OgreBillboardSet.h:62
ParameterType
List of parameter types available.
Definition: OgreStringInterface.h:48
@ FFP_PS_SAMPLING
Definition: OgreShaderFFPRenderState.h:59
ushort getNumVertexTextureUnits(void) const
Get the number of vertex texture units supported.
Definition: OgreRenderSystemCapabilities.h:795
Real getShadowRenderingDistance(void) const
Gets the distance at which batches are no longer casting shadows.
Class for providing backwards-compatibility for loading version 1.41 of the .mesh format.
Definition: OgreMeshSerializerImpl.h:246
float vOffset
Definition: OgreHlmsUnlitMobileDatablock.h:78
HlmsJson(HlmsManager *hlmsManager, HlmsJsonListener *listener)
@ ACT_TEXTURE_MATRIX
Provides the current transform matrix of the texture unit (index determined by setAutoConstant call),...
Definition: OgreGpuProgramParams.h:1330
~GL3PlusDefaultHardwareCounterBuffer()
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgreNode.h:781
void setNamedConstant(const String &name, Real val)
Sets a single value constant floating-point parameter to the program.
unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
@ TEXTURE
Definition: OgreScriptCompiler.h:512
bool getVertexAnimationIncludesNormals() const
Whether the vertex animation (if present) includes normals.
virtual void _disableTextureUnitsFrom(size_t texUnit)
Disables all texture units from the given unit upwards.
void setHeight(uint32 h)
Set the height of the texture; can only do this before load();.
Definition: OgreTexture.h:245
static const IdString FresnelSeparateDiffuse
Definition: OgreHlmsPbs.h:406
static GTKGLSupport * getSingletonPtr(void)
Override standard Singleton retrieval.
Definition: OgreD3D11NullTexture.h:101
virtual void removeListener(Listener *l)
Remove a listener to the custom events that this render system can raise.
virtual bool isMicrocodeAvailableInCache(const String &source) const
Check if a microcode is available for a program in the microcode cache.
CompositorShadowMapTargetTranslator()
virtual void _firePreparingComplete(bool wasBackgroundLoaded)
Firing of preparing complete event.
static void unpackColour(float *r, float *g, float *b, float *a, PixelFormat pf, const void *src)
Unpack a colour value from memory.
bool hasShadowCasterFragmentProgram(void) const
Returns true if this pass uses a shadow caster fragment program.
Definition: OgrePass.h:200
void _setLodInfo(unsigned short numLevels)
Internal methods for loading LOD, do not use.
Real squaredLength() const
Returns the square of the length(magnitude) of the vector.
Definition: OgreVector2.h:345
bool enablePrimitiveRestart
Definition: OgreHlmsPso.h:170
void _notifySkeleton(SkeletonPtr &pSkel)
Internal notification, used to tell the Mesh which Skeleton to use without loading it.
vector< GLAtomicCounterReference >::type GLAtomicCounterReferenceList
Definition: OgreGLSLProgram.h:73
int _findnext(intptr_t id, struct _finddata_t *data)
void setSubdivision(Real factor)
uint32 getNumBlocksY(void) const
Definition: OgreIrradianceVolume.h:121
virtual void build(void)
Build the geometry.
void setDisplayMode(DisplayMode d)
Set the display mode for the overlay.
Definition: OgreProfiler.h:385
Animation * getParent() const
Returns the parent Animation object for this track.
Definition: OgreAnimationTrack.h:244
Node * getParentNode(void) const
Returns the node to which this object is attached.
Definition: OgreMovableObject.h:194
static ArrayQuaternion nlerpShortest(ArrayReal fT, const ArrayQuaternion &rkP, const ArrayQuaternion &rkQ)
@See Quaternion::nlerp
void Cmov4(ArrayMaskR mask, const ArrayVector3 &replacement)
Conditional move update.
const String & getDescription() const
Get the description of this function.
Definition: OgreShaderFunction.h:64
bool getPoseNormals() const
static const size_t SERIALIZATION_CHUNK_SIZE
The amount of items being written as one chunk during serialization.
Definition: OgreVolumeSource.h:74
CompositorShadowMapTargetTypeTranslator()
void setNumTextureUnits(ushort num)
Definition: OgreRenderSystemCapabilities.h:484
void addReference(const BasicBlock *block)
Increments the reference count for the block, despite being const.
Quaternion(Real fW, Real fX, Real fY, Real fZ)
Construct from an explicit list of values.
Definition: OgreQuaternion.h:65
static void addCubeToManualObject(ManualObject *manual, const Vector3 &c0, const Vector3 &c1, const Vector3 &c2, const Vector3 &c3, const Vector3 &c4, const Vector3 &c5, const Vector3 &c6, const Vector3 &c7, uint32 &baseIndex)
Adds a cube to a manual object rendering lines.
Definition: OgreVolumeMeshBuilder.h:235
static CmdRotationRangeEnd msRotationRangeEndCmd
Definition: OgreRotationAffector.h:112
@ RSC_MIPMAP_LOD_BIAS
Supports mipmap LOD biasing.
Definition: OgreRenderSystemCapabilities.h:129
@ PROP_SHORT
Definition: OgreProperty.h:107
virtual void allWorkspacesBeforeBeginUpdate(void)
Called from CompositorManager2 (not CompositorWorkspace) when we're about to begin updating all the w...
void setColourOperationEx(LayerBlendOperationEx op, LayerBlendSource source1=LBS_TEXTURE, LayerBlendSource source2=LBS_CURRENT, const ColourValue &arg1=ColourValue::White, const ColourValue &arg2=ColourValue::White, Real manualBlend=0.0)
Setting advanced blending options.
void logMessage(const String &message, LogMessageLevel lml=LML_NORMAL, bool maskDebug=false)
Log a message to the debugger and to log file (the default is "<code>OGRE.log</code>"),...
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
@ LB_BlendColorDodge
Definition: OgreShaderExLayeredBlending.h:65
static const IdString NumUavSlots
Definition: OgreHlmsCompute.h:206
GpuConstantDefinitionIterator getConstantDefinitionIterator(void) const
Gets an iterator over the named GpuConstantDefinition instances as defined by the user.
void setLoop(bool bLoop)
Loop setting.
Definition: OgreSkeletonAnimation.h:125
#define UNPACK(dst, x, y, z)
MapIterator< SettingsBySection > SectionIterator
Definition: OgreConfigFile.h:91
Definition: OgreX11EGLSupport.h:87
virtual HardwareIndexBufferSharedPtr getSharedIndexBuffer(uint16 batchSize, uint16 vdatasize, size_t vertexIncrement, uint16 xoffset, uint16 yoffset, uint16 numSkirtRowsCols, uint16 skirtRowColSkip)=0
Get a shared index buffer for a given number of settings.
virtual void destroyAllInstances()
Destroy all the instances that created by this factory.
VertexData * vertexData
Vertex source data.
Definition: OgreRenderOperation.h:59
virtual uint32 fillBuffersForV2(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
const AutoConstantEntry * findIntAutoConstantEntry(size_t logicalIndex)
Finds an auto constant that's affecting a given logical parameter index for integer values.
virtual bool setDrawBuffer(ColourBufferType colourBuffer)
iterator insert(iterator I, ItTy From, ItTy To)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:681
vector< unsigned >::type indexMap
Definition: OgreLod0Stripifier.h:96
size_t estimateWorldGeometry(DataStreamPtr &stream, const String &typeName=BLANKSTRING)
Specialised from SceneManager to support Quake3 bsp files.
const_iterator end() const
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:257
@ Decals
Definition: OgreSceneFormatBase.h:76
HDC getHDC() const
Definition: OgreWin32Window.h:65
v1::AnimationStateIterator getAnimationStateIterator(void)
Returns a specialised MapIterator over all animation states in the scene.
Definition: OgreSceneManager.h:2704
void loadImage(const Image &img)
overridden from Texture
const ColourValue getLightDiffuseColourWithPower(size_t index) const
@ SPC_TANGENT_OBJECT_SPACE
Tangent in object space.
Definition: OgreShaderParameter.h:246
TextureAtlasRecord(const String &texOriginalName, const String &texAtlasName, const float texPosU, const float texPosV, const float texWidth, const float texHeight, const size_t texIndexInAtlas)
Definition: OgreShaderExTextureAtlasSampler.h:47
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)
Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures at once.
Real tcModTurb[4]
Definition: OgreQuake3Shader.h:89
static const IdString Pcf3x3
Definition: OgreHlmsPbs.h:390
the standard rebind mechanism
Definition: OgreMemorySTLAllocator.h:98
unsigned int getVSyncInterval() const
Returns the vertical sync interval.
@ CAPS_CATEGORY_COUNT
Placeholder for max value.
Definition: OgreRenderSystemCapabilities.h:69
Real getRenderingDistance(void) const
Gets the distance at which batches are no longer rendered.
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
bool intersects(const Sphere &sphere) const
Intersection test with Sphere.
Definition: OgrePlaneBoundedVolume.h:96
const BoneBlendMask * getBlendMask() const
Get the current blend mask (const version, may be 0)
Definition: OgreAnimationState.h:162
const UserObjectBindings & getUserObjectBindings() const
Return an instance of user objects binding associated with this class.
Definition: OgreTechnique.h:541
void parseCapabilitiesFromArchive(const String &filename, const String &archiveType, bool recursive=true)
@ PROP_VECTOR2
Definition: OgreProperty.h:115
RenderWindow * _initialise(bool autoCreateWindow, const String &windowTitle="OGRE Render Window")
Start up the renderer using the settings selected (Or the defaults if none have been selected).
bool getDisplaySkeleton(void) const
Returns whether or not the entity is currently displaying its skeleton.
void _removeChild(const String &name)
@ ID_LINEAR
Definition: OgreScriptCompiler.h:700
FastArray(size_t reserveAmount)
Creates an array reserving the amount of elements (memory is not initialized)
Definition: OgreFastArray.h:145
Pass & operator=(const Pass &oth)
Operator = overload.
bool getShadowFilter(void) const
Definition: OgreHlmsUnlit.h:132
size_t getNumVertices(void) const
Get the number of vertices in this buffer.
Definition: OgreHardwareVertexBuffer.h:73
TexturePtr texture
Definition: OgreHlmsPbsDatablock.h:58
Definition: OgreHlms.h:94
void setSkipAnimationStateUpdate(bool skip)
Entity's skeleton's AnimationState will not be automatically updated when set to true.
Definition: OgreEntity.h:688
virtual void destroy(void)
Destroys the window.
void setDeactivateOnFocusChange(bool deactivate)
Indicates whether the window will automatically deactivate itself when it loses focus.
void unmap(const Destination &destination)
Unmaps the mapped region and copies the data to the given region. @See Destination.
Definition: OgreStagingBuffer.h:259
Segment(const Vector3 &, const Vector3 &, Real)
virtual void reposition(int left, int top)
Reposition the window.
bool lessThanExcludePassData(const HlmsPso &_r) const
Compares if this <= _r. See equalExcludePassData.
Definition: OgreHlmsPso.h:250
virtual void propertiesMergedPreGenerationStep(const String &shaderProfile, const HlmsCache &passCache, const HlmsPropertyVec &renderableCacheProperties, const PiecesMap renderableCachePieces[NumShaderTypes], const HlmsPropertyVec &properties, const QueuedRenderable &queuedRenderable)
Similar to HlmsListener::shaderCacheEntryCreated, but it gets called before creating any shader.
Definition: OgreHlmsListener.h:76
const AxisAlignedBox & getAABB() const
Get the AABB (local coords) of this node.
@ TEXGEN_BASE
Definition: OgreQuake3Types.h:127
void setRenderingDistance(Real dist)
Sets the distance at which the object is no longer rendered.
static SceneBlendFactor parseBlendFactor(const char *value)
CompareFunction alphaFunc
Definition: OgreQuake3Shader.h:92
void doSet(void *target, const String &val)
OGRE_HASH_NAMESPACE::OGRE_HASHMAP_NAME< K, V, H, E, A > type
Definition: OgrePrerequisites.h:685
virtual bool removeRenderWindow(const String &renderWindowName)=0
IntegratedPSSM3()
Class default constructor.
uint8 kernel[5]
Definition: OgreImageDownsampler.h:224
void setNamedConstant(const String &name, const Vector2 &vec)
Sets a Vector2 parameter to the program.
@ GCT_MATRIX_DOUBLE_2X2
Definition: OgreGpuProgramParams.h:98
static const IdString TexMatrixCount1
Definition: OgreUnlitProperty.h:53
static CullingMode parseCullMode(const char *value)
ThresholdVec textureArraysTresholds
Only used when packingMethod == TextureArrays.
Definition: OgreHlmsTextureManager.h:115
Definition: OgreCompositorPassComputeDef.h:54
Real getHorizontalTexelOffset(void)
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
Definition: OgreGL3PlusRenderSystem.h:501
AnimationAllocatedObject AnimationAlloc
Definition: OgreMemoryAllocatorConfig.h:297
@ CB_SET_CONSTANT_BUFFER_PS
Definition: OgreCbCommon.h:47
ConcreteNode * parent
Definition: OgreScriptCompiler.h:72
Vector3 getRelativeOrigin(void) const
Returns the current relative origin. (Only when non-permanent)
static Real getDefaultNonVisibleUpdateTimeout(void)
Get the default nonvisible timeout for all ParticleSystem instances.
Definition: OgreParticleSystem.h:464
uint32 adapterId
For multi-GPU support.
Definition: OgreHlmsPso.h:117
bool hasValidShadowMappingBuffers(void) const
Returns true if the mesh is ready for rendering with valid shadow mapping buffers Otherwise prepareFo...
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:206
void makeCeil(const ArrayVector3 &cmp)
Sets this vector's components to the maximum of its own and the ones of the passed in vector.
@ PF_ASTC_SRGB8A8_10X10_LDR
ASTC (ARM Adaptive Scalable Texture Compression 8 bits each sRGB 8 bits alpha, block size 10x10)
Definition: OgrePixelFormat.h:311
void dirtyNodeByMovingPortals(void)
Mark nodes dirty base on moving portals.
const String & getMaterialGroup(void) const
Retrieve the material group in use.
Definition: OgreManualObject.h:435
virtual ~LodWorkQueueWorker()
void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
Real getShadowFarDistance(void) const
Gets the maximum distance away from the camera that shadows by this light will be visible.
bool mAliasDepthBufferOnCopyFailure
DX10 HW (or the API) doesn't support copying depth buffers.
Definition: OgreCompositorPassDepthCopyDef.h:61
@ BlinnPhongLegacyMath
Implements traditional / the original non-PBR blinn phong:
Definition: OgreHlmsPbsDatablock.h:157
void _setViewport(Viewport *vp)
See RenderSystem.
GLES2DepthBuffer(uint16 poolId, GLES2RenderSystem *renderSystem, GLES2Context *creatorContext, GLenum depthFormat, GLenum stencilFormat, uint32 width, uint32 height, uint32 fsaa, uint32 multiSampleQuality, PixelFormat pixelFormat, bool isDepthTexture, bool isManual)
void removeTemplatesByResourceGroup(const String &resourceGroup)
Removes all templates that belong to a secific Resource Group from the ParticleSystemManager.
BoolSetting
Definition: OgreTextureDefinition.h:67
A 'canvas' which can receive the results of a rendering operation.
Definition: OgreRenderTarget.h:64
IteratorType const_iterator
Typedef to fulfill container interface.
Definition: OgreIteratorWrapper.h:83
@ ACT_TEXTURE_WORLDVIEWPROJ_MATRIX_ARRAY
Array of world/view/projection matrices of the first n texture projection frustums.
Definition: OgreGpuProgramParams.h:1152
@ GCT_BOOL2
Definition: OgreGpuProgramParams.h:112
void doSet(void *target, const String &val)
@ PASS_CUSTOM
Definition: OgreCompositorPassDef.h:60
GeometryAllocatedObject VertexDataAlloc
Definition: OgreMemoryAllocatorConfig.h:342
void setCurrentCamera(const Camera *cam)
Updates the current camera.
static uint8 getMaxMipmapCount(uint32 maxResolution)
Returns the maximum number of mipmaps given the resolution e.g.
Definition: OgreLodOutputProviderCompressedMesh.h:42
uint getKeyIndex(void) const
Definition: OgreAnimationTrack.h:100
virtual void destroySceneNode(const String &name)
Deletes a scene node by name & corresponding PCZSceneNode.
@ M_MESH
Definition: OgreMeshFileFormat.h:60
static const IdString DetailDiffuseSwizzle3
Definition: OgreHlmsPbsMobile.h:164
String doGet(const void *target) const
Vector3 interpolate(Real t) const
Returns an interpolated point based on a parametric value over the whole series.
static String eventType
Definition: OgreScriptCompiler.h:553
Class for providing backwards-compatibility for loading version 1.2 of the .mesh format.
Definition: OgreMeshSerializerImpl.h:300
@ CMPF_ALWAYS_FAIL
Definition: OgreCommon.h:97
@ LB_BlendExclusion
Definition: OgreShaderExLayeredBlending.h:60
Manages threaded compilation of scripts.
Definition: OgreScriptCompiler.h:403
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreD3D11DepthTexture.h:119
virtual void write(const String *string)
virtual void bindBufferPS(uint16 slot, size_t offset=0, size_t sizeBytes=0)=0
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
Factory class for ColourFaderAffector.
Definition: OgreColourFaderAffectorFactory2.h:39
const Matrix4 & getViewMatrix(void) const
virtual ParticleSystem * createParticleSystem(size_t quota=500, const String &resourceGroup=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Create a blank particle system.
const String & getEntryPoint(void) const
Gets the entry point defined for this program.
Definition: OgreGLSLESCgProgram.h:72
void addUavBuffer(uint32 slotIdx, IdString bufferName, ResourceAccess::ResourceAccess access, size_t offset=0, size_t sizeBytes=0)
virtual void _render(const CbDrawCallStrip *cmd)=0
bool hasEnabledAnimationState(void) const
Tests if exists enabled animation state in this set.
Definition: OgreAnimationState.h:251
virtual void _setRenderOperation(const v1::CbRenderOp *cmd)=0
@ REAL
Definition: OgreAnimable.h:79
Real skyBoxDistance
Definition: OgreSceneManager.h:325
virtual void postqueueMovableObjectLodChanged(const MovableObjectLodChangedEvent &evt)
Called after a movable object's LOD has changed.
Definition: OgreLodListener.h:143
static const IdString UvAtlas2
Definition: OgreHlmsUnlitMobile.h:145
virtual void addNode(Node *n)
Add a node to be tracked.
void parseScript(DataStreamPtr &stream, const String &groupName)
Parse a script file.
virtual unsigned long getResponseProcessingTimeLimit() const
Get the time limit imposed on the processing of responses in a single frame, in milliseconds (0 indic...
Definition: OgreWorkQueue.h:456
static GLenum getGLInternalFormat(PixelFormat format, bool hwGamma)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format.
IdString getRenderTargetName() const
Definition: OgreCompositorPassDef.h:218
virtual ~NodeMemoryManager()
const TexturePtr & getEmissiveTexture(void) const
void copyToTexture(TexturePtr &target)
overridden from Texture
Real volume(void) const
Calculate the volume of this box.
Definition: OgreAxisAlignedBox.h:626
bool getReceiveDynamicShadowsDepth() const
Whether to use depth shadows (default false).
Definition: OgreTerrainMaterialGeneratorA.h:137
void setEmitting(bool v)
This is used to turn on or off particle emission for this system.
static const IdString Colour
Definition: OgreHlms.h:782
~UnifiedHighLevelGpuProgram()
TexCoordDirection
The direction in which texture coordinates from elements of the chain are used.
Definition: OgreBillboardChain.h:155
static void _removeRenderWindow(RenderWindow *window)
@ UNLIT_BLEND_DIFFERENCE
Definition: OgreHlmsUnlitPrerequisites.h:76
SimpleMatrixAf4x3(Real m00, Real m01, Real m02, Real m03, Real m10, Real m11, Real m12, Real m13, Real m20, Real m21, Real m22, Real m23)
Definition: C/OgreArrayMatrixAf4x3.h:198
static const IdString ForwardPlusCoversEntireTarget
Definition: OgreHlms.h:836
Definition: OgreX11EGLWindow.h:38
bool isContainer() const
Overridden from OverlayElement.
Definition: OgreOverlayContainer.h:119
SubMesh * createSubMesh(const String &name)
Creates a new SubMesh and gives it a name.
static const ArrayReal fSqEpsilon
Definition: OgreMathlibC.h:53
void setNormaliseNormals(bool normalise)
TexturePtr getTerrainNormalMap() const
Get the (global) normal map texture.
Definition: OgreTerrain.h:1559
Real getHorizontalTexelOffset(void)
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
Definition: OgreGLES2RenderSystem.h:433
void CmovRobust(ArrayMaskR mask, const ArrayVector3 &replacement)
Conditional move update.
virtual int getExecutionOrder() const
virtual PageStrategyData * createData()=0
Create a PageStrategyData instance containing the data specific to this PageStrategy.
@ MEMCATEGORY_RESOURCE
Other resources.
Definition: OgreMemoryAllocatorConfig.h:172
void setCurrentLod(int lod)
Manually set the current LOD, intended for internal use only.
v1::HardwareVertexBufferSharedPtr getGlobalInstanceVertexBuffer() const
Returns the global instance vertex buffer.
PixelFormat getFormat(void) const
GLXFBConfig selectFBConfig(const int *minAttribs, const int *maxAttribs)
Select an FBConfig given a list of required and a list of desired properties.
virtual void resourcePrepareStarted(const ResourcePtr &resource)
This event is fired when a declared resource is about to be prepared.
Definition: OgreResourceGroupManager.h:127
@ PF_X24_S8_UINT
Depth texture format. 8 bits for stencil.
Definition: OgrePixelFormat.h:342
GLuint getBufferName(void) const
Definition: OgreGLES2StagingBuffer.h:121
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
@ TT_SCALE_U
Definition: OgreTextureUnitState.h:115
virtual int32 getPageRangeMinX() const
get the index range of all Pages (values outside this will be ignored)
bool hasScalingShearingSupport()
Only applicable for dual quaternion skinning.
void doSet(void *target, const String &val)
virtual void beginUpdate(size_t sectionIndex)
Start the definition of an update to a part of the object.
static bool isSubroutine(GpuConstantType c)
Definition: OgreGpuProgramParams.h:309
GLES2DefaultHardwareIndexBuffer(IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage)
void transformAffine(const ArrayMatrix4 &matrix)
Transforms the box according to the matrix supplied.
T & operator*() const
Definition: OgreThreadDefinesSTD.h:74
virtual void _buildMapBoneByHandle(const Skeleton *source, BoneHandleMap &boneHandleMap) const
Build the bone handle map to use with Skeleton::_mergeSkeletonAnimations.
bool getEnabled() const
Check if portal is enabled.
Definition: OgrePortalBase.h:159
void setConstBuffer(uint8 slotIdx, ConstBufferPacked *constBuffer)
Sets a const/uniform bufferat the given slot ID.
virtual void bindBufferCS(uint16 slot)=0
FrustumPlane
Worldspace clipping planes.
Definition: OgreFrustum.h:71
Plane(const Vector3 &rkNormal, const Vector3 &rkPoint)
virtual void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer=FB_AUTO)
Copies the current contents of the render target to a pixelbox.
void resize(unsigned int widthPt, unsigned int heightPt)
Overridden - see RenderWindow.
size_type max_size() const
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:294
static const IdString BlendModeIdx9
Definition: OgreHlmsUnlitMobile.h:134
void removeFactory(HighLevelGpuProgramFactory *factory)
Remove a factory object for high-level programs of a given language.
@ ACT_TIME_0_1_PACKED
Vector of "Time0_1", "SinTime0_1", "CosTime0_1", "TanTime0_1".
Definition: OgreGpuProgramParams.h:1198
Real getBoundingRadius() const
Get the bounding radius of this node.
void unlockDeviceAccess()
Singleton that is used to propagate device state changed notifications.
Definition: OgreD3D11DeviceResource.h:61
@ CB_DRAW_CALL_STRIP
Definition: OgreCbCommon.h:45
virtual void prepare(bool backgroundThread=false)
Prepares the resource for load, if it is not already.
IndexBufferInfoList mIndexBufferInfoList
Definition: OgreLodData.h:157
static const IdString UsePrePassMsaa
Definition: OgreHlms.h:828
void _makeOrthoMatrix(const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
See RenderSystem.
virtual void _renderSingleObject(Renderable *pRend, const MovableObject *pMovableObject, bool casterPass, bool dualParaboloid)
void _memoryRebased(void)
Internal use. Called from BoneMemoryManager's rebases (i.e. cleanups, grows)
Factory class for Unified programs.
Definition: OgreUnifiedHighLevelGpuProgram.h:168
GLuint getGLID(bool &outIsFsaa)
Returns the GL Id of the texture.
Definition: OgreGL3PlusTexture.h:70
RenderTexture implementation for D3D9.
Definition: OgreD3D9Texture.h:223
void setBottomRightBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the bottom-right corner of the border.
bool pointIntersectsNode(long x, long y)
Returns true if the given point is in the terrain area that this node references.
LodValueIterator getLodValueIterator(void) const
Gets an iterator over the list of values transformed by the LodStrategy at which each LOD comes into ...
Node(const Transform &transformPtrs)
Don't use this constructor unless you know what you're doing.
static const int HlmsTypeMask
Definition: OgreHlms.h:901
void removeWorldSectionFactory(PagedWorldSectionFactory *f)
Remove a PagedWorldSectionFactory implementation.
StringVector atlasNamesPerMip
Definition: OgreHlmsTexturePack.h:61
static FontManager * getSingletonPtr(void)
Override standard Singleton retrieval.
void _setTextureUnitFiltering(size_t unit, FilterType ftype, FilterOptions filter)
virtual void copyFrom(const SubRenderState &rhs)
const String & getFactoryTypeName() const
Definition: OgrePCZoneFactory.h:57
static const int RendarebleHlmsTypeMask
Definition: OgreHlms.h:900
@ VET_BYTE4_SNORM
Definition: OgreVertexElements.h:104
@ VAT_POSE
Pose animation is made up of a single delta pose keyframe.
Definition: OgreAnimationTrack.h:596
TextureSourceTranslator()
void setTextureUScale(Real value)
As setTextureScale, but sets only U value.
Areas of Interest are defined by both AABB and distance (can be 0).
Definition: OgreInstantRadiosity.h:181
@ MIP_UNLIMITED
Generate mipmaps up to 1x1.
Definition: OgreTexture.h:109
SkeletonPtr pSkeleton
Definition: OgreSkeleton.h:469
virtual void remove(const ResourcePtr &r)
Remove a single resource.
void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
virtual void bindBufferHS(uint16 slot)
uint8 mCustomParameter
Only valid when using low level materials.
Definition: OgreRenderable.h:455
virtual void lodUpdateImpl(const size_t numNodes, ObjectData t, const Camera *camera, Real bias) const =0
void clearFrameData(void)
Clears temporary buffers and other data that needs to live every frame.
virtual void applyRebase(uint16 level, const MemoryPoolVec &newBasePtrs, const PtrdiffVec &diffsList)=0
Called when the manager already grew it's memory pool to honour more node requests.
void setInnerSizeX(Real x)
Sets the x component of the area inside the ellipsoid which doesn't emit particles.
@ RSC_TEXTURE_COMPRESSION_ATC
Supports compressed textures in the ATC format.
Definition: OgreRenderSystemCapabilities.h:144
static const IdString DualParaboloidMapping
Definition: OgreHlms.h:814
unsigned int getLastQuerysPixelcount()
Definition: OgreD3D11HardwareOcclusionQuery.h:78
bool getUseMinPixelSize() const
Returns whether to use min display size calculations.
Definition: OgreCamera.h:671
const_reverse_iterator rbegin() const
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:277
@ ID_PSSM_SPLIT_BLEND
Definition: OgreScriptCompiler.h:953
@ ID_CONNECT_EXTERNAL
Definition: OgreScriptCompiler.h:817
ResourceCreateOrRetrieveResult createOrRetrieve(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *params=0, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexBufferShadowed=true, bool indexBufferShadowed=true)
Create a new mesh, or retrieve an existing one with the same name if it already exists.
virtual void reloadAll(Resource::LoadingFlags flags)
Caused all currently loaded resources to be reloaded.
size_t getDepth(void) const
Gets the depth of the texture.
virtual ~SharedPtrInfo()
Definition: OgreSharedPtr.h:60
void setSourceRenderable(Renderable *source)
Set the source renderable of this object.
Definition: OgreRenderToVertexBuffer.h:118
Default implementation of SphereSceneQuery.
Definition: OgreSceneManager.h:3264
HlmsDiskCache(HlmsManager *hlmsManager)
In D3D11, const buffers can't be bound by offset.
Definition: OgreD3D11CompatBufferInterface.h:56
virtual const String & getLanguage(void) const =0
Get the name of the language this factory creates programs for.
void _setCustomCullCamera(Camera *camera)
Definition: OgreCompositorPassScene.h:98
bool hasEnded(void) const
Returns true if the animation has reached the end and is not looping.
AbstractNode * parent
Definition: OgreScriptCompiler.h:97
Listener()
Definition: OgreResource.h:84
static Degree Sqrt(const Degree &fValue)
Square root function.
Definition: OgreMath.h:439
const AnimationList & getAnimations() const
Returns a const version of the animation list.
Definition: OgreSceneManager.h:2702
ImageDownsampler2D downscale2x_sRGB_A8
Definition: OgreImageDownsampler.h:184
UavBufferPacked * getUavBuffer(uint8 slotIdx) const
ID3D11Buffer * getD3DIndexBuffer(void) const
Get the D3D-specific index buffer.
virtual void processResponses()
Process the responses in the queue.
bool hasCompileError(void) const
Did this program encounter a compile error when loading?
void setHomeZone(PCZone *zone)
virtual const Vector3 & getInitialScale(void) const
Gets the initial position of this OldNode, see setInitialState for more info.
void setBoundsAutoUpdated(bool autoUpdate, Real stopIn=0.0f)
Sets whether the bounds will be automatically updated for the life of the particle system.
virtual void destroyInstance(MovableObject *obj)=0
Destroy an instance of the object.
size_t startLightIdx
Definition: OgreSceneManager.h:242
virtual ~OldNodeAnimationTrack()
Destructor.
void _setRenderTarget(RenderTarget *target, uint8 viewportRenderTargetFlags)
Set current render target to target, enabling its GL context if needed.
static void startup(void)
Static method to startup and register the ASTC codec.
bool useVertexNormals
Use vertex normals to improve quality.
Definition: OgreLodConfig.h:155
void initialiseFromRenderSystemCapabilities(RenderSystemCapabilities *caps, RenderTarget *primary)
See RenderSystem.
HlmsJsonUnlit(HlmsManager *hlmsManager)
Entity * generateWithManualObject(SceneManager *sceneManager, const String &name, const String &material)
Generates an entity via a ManualObject.
map< String, PCZone * >::type ZoneMap
Definition: OgrePCZone.h:67
IDXGISwapChainN * _getSwapChain()
Get the swapchain details.
Definition: OgreD3D11RenderWindow.h:115
XWMHints * XAllocWMHints()
virtual ~StaticGeometry()
Destructor.
IDirect3DVertexBuffer9 * getD3D9VertexBuffer(void)
Get D3D9-specific vertex buffer.
iterator insert(iterator pos, const T &t)
Definition: OgreCommon.h:587
UniformParameterPtr resolveAutoParameterInt(GpuProgramParameters::AutoConstantType autoType, size_t data, size_t size=0)
Resolve uniform auto constant parameter with associated int data of this program.
bool intersects(const AxisAlignedBox &box) const
Intersection test with AABB.
Definition: OgrePlaneBoundedVolume.h:65
Abstract IsoSurface.
Definition: OgreVolumeIsoSurface.h:42
virtual void setListener(Listener *listener)
Sets a listener for this Node.
static PropertyType getTypeForValue(const int &val)
Definition: OgreProperty.h:158
ClipResult
Generic result of clipping.
Definition: OgreCommon.h:919
void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
Definition: OgreBorderPanelOverlayElement.h:337
bool isAnchored(void)
Definition: OgrePCZSceneNode.h:96
bool isFullScreen() const
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
Writes data to the buffer from an area of system memory; note that you must ensure that your buffer i...
const_reverse_iterator rend() const
Definition: OgreCommon.h:514
unsigned int * pint
Definition: OgreLodData.h:131
void setActiveGeometryShader(GLSLShader *geometryGpuProgram)
Set the active geometry shader for the next rendering state.
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
virtual const String & getTargetLanguage() const
Return the target language of this processor.
Definition: OgreShaderGLSLESProgramProcessor.h:60
PCZFrustum::Visibility getVisibility(const AxisAlignedBox &bound)
void _notifyNeedsRecompile(void)
Tells the technique that it needs recompilation.
BuildLightListRequest()
Definition: OgreSceneManager.h:244
OrientationMode getViewportOrientationMode(void) const
Gets the orientation mode of the destination viewport.
ImageDownsamplerCube downscale2x_X8_cube
Definition: OgreImageDownsampler.h:79
Implementation without lighting or skeletal animation specfically designed for OpenGL 3+,...
Definition: OgreHlmsUnlit.h:57
All variables are read-only for the worker threads.
Definition: OgreSceneManager.h:155
static const uint32_t Seed
Definition: OgreIdString.h:97
@ MEMCATEGORY_GENERAL
General purpose.
Definition: OgreMemoryAllocatorConfig.h:162
static const String & getPointLightExtruderVs_glslesFinite(void)
Get FINITE extruder program source for point lights, compatible with glsles.
Definition: OgreShadowVolumeExtrudeProgram.h:289
virtual void _makeProjectionMatrix(Real left, Real right, Real bottom, Real top, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
Builds a perspective projection matrix for the case when frustum is not centered around camera.
Definition: OgreNULLRenderSystem.h:149
void setGreenAdjust(float green)
Sets the green adjustment to be made per second to particles.
Function * getEntryPointFunction()
Get the entry point function of this program.
Definition: OgreShaderProgram.h:145
@ FFT_INTERNAL
Definition: OgreShaderFunction.h:53
unsigned int line
Definition: OgreScriptCompiler.h:95
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create uniform buffer.
Definition: OgreHardwareBufferManager.h:464
bool isBlendIndicesGpuRedundant() const
Returns whether blend indices information needs to be passed to the GPU see setBlendIndicesGpuRedunda...
Definition: OgreRoot.h:1066
String doGet(const void *target) const
static const IdString UvDetail2
Definition: OgreHlmsPbsMobile.h:145
static DXGI_FORMAT getFormat(v1::HardwareIndexBuffer::IndexType itype)
Get index type.
const String & getLanguage(void) const
Overridden from GpuProgram.
void copyContentsToMemory(const Box &src, const PixelBox &dst, FrameBuffer buffer)
Copies the current contents of the render target to a pixelbox.
StagingStallType
Definition: OgreStagingBuffer.h:38
void throwIfFailed(HRESULT hr, const char *desc, const char *src)
virtual void unmap(UnmapOptions unmapOption, size_t flushStartElem=0, size_t flushSizeElem=0)
void _initParticle(Particle *pParticle)
See ParticleEmitter.
virtual unsigned int _getFaceCount(void) const
Reports the number of tris rendered since the last _beginGeometryCount call.
Technique * createTechnique(void)
Creates a new Technique for this Material.
D3D9GpuProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
@ ID_INVERSE_SAWTOOTH
Definition: OgreScriptCompiler.h:794
float getLocalRadius(void) const
See getLocalAabb and getWorldRadius.
uint32 getLightMask() const
Get a bitwise mask which will filter the lights affecting this object.
void install()
Perform the plugin initial installation sequence.
ArrayMatrixAf4x3()
Definition: C/OgreArrayMatrixAf4x3.h:74
Definition: OgrePrerequisites.h:655
void resetAllNumPassesLeft(void)
Resets the number of passes left for every pass (.
uint32 getIndexToContiguousShadowMapTex(size_t shadowMapIdx) const
ArrayReal getMaxComponent() const
Returns the biggest value between x, y, z; max( x, y, z )
uint32 length
Length of the chunk data in bytes, excluding the header of this chunk (stored)
Definition: OgreStreamSerialiser.h:99
Resource location entry.
Definition: OgreResourceGroupManager.h:287
void destroy(HighLevelGpuProgram *prog)
IdString mCameraName
Definition: OgreCompositorPassQuadDef.h:110
virtual Light * getLight(const String &name) const
Returns a pointer to the named Light which has previously been added to the scene.
void removeAllEffects(void)
Removes all effects applied to this texture layer.
virtual NodeMemoryManager * getDefaultNodeMemoryManager(SceneMemoryMgrTypes sceneType)
As Node::getDebugRenderable, except scaling is automatically determined.
@ PF_ASTC_RGBA_6X6_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 6x6)
Definition: OgrePixelFormat.h:269
ConstMapIterator< OldNodeTrackList > OldNodeTrackIterator
Definition: OgreAnimation.h:401
Real getMinDistance() const
Definition: OgreShadowCameraSetup.h:82
void setParallaxCorrectedCubemap(ParallaxCorrectedCubemap *pcc)
Definition: OgreHlmsPbs.h:280
@ TEX_TYPE_2D
2D texture, used in combination with 2D texture coordinates (default)
Definition: OgreTexture.h:93
virtual void setTerrainWorldSize(Real newWorldSize)
Set the world size of terrain.
size_t getSize() const
Returns the number of elements in the parameter (for arrays).
Definition: OgreShaderParameter.h:347
const TexturePtr & getTexture(uint8 slotIdx) const
bool getVisible(void) const
Gets this object whether to be visible or not, if it has a renderable component.
virtual void setVisible(bool visible, bool cascade=true)
Makes all objects attached to this node become visible / invisible.
bool StripLod0Vertices(const v1::MeshPtr &mesh, bool stableVertexOrder=false)
Definition: OgreLod0Stripifier.h:307
std::basic_stringstream< char, std::char_traits< char >, std::allocator< char > > _StringStreamBase
Definition: OgrePrerequisites.h:555
Definition: OgreGLES2NullTexture.h:91
bool exists(const String &filename)
Find out if the named file exists (note: fully qualified filename required)
void regressFrame(void)
Performs the opposite of.
bool ToEulerAnglesXZY(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
String validateConfig()
Make sure all the extra options are valid.
void nodeDestroyed(Transform &outTransform, size_t depth)
Releases current memory.
bool _fireFrameEnded()
Method for raising frame ended events.
OperationType getOperationType() const
What type of primitives does this object generate?
Definition: OgreRenderToVertexBuffer.h:80
@ GPU_NVIDIA
Definition: OgreRenderSystemCapabilities.h:290
Predefined controller value for getting / setting the frame number of a texture layer.
Definition: OgrePredefinedControllers.h:77
@ PF_R8G8_UINT
16-bit pixel format, 8 bits red (unsigned int), 8 bits blue (unsigned int).
Definition: OgrePixelFormat.h:162
TimeIndex _getTimeIndex(Real timePos) const
Internal method used to convert time position to time index object.
void postDeltaCalculation(const Rect &rect)
Notify the node (and children) that deltas have finished being calculated.
void setConfigOptions(const String &name, const String &value)
@ CB_SET_PSO
Definition: OgreCbCommon.h:60
virtual void _suppressRenderStateChanges(bool suppress)
Indicates to the SceneManager whether it should suppress changing the RenderSystem states when render...
Matrix3(const Matrix3 &rkMatrix)
Definition: OgreMatrix3.h:80
virtual void apply(const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)
Applies an animation track to the designated target.
void setFrom(Vector3 from)
Setter for the from-part of this cell.
Definition: OgreVolumeOctreeNode.h:157
UniformParameterPtr getParameterByAutoType(GpuProgramParameters::AutoConstantType autoType)
Get parameter by a given auto constant type.
uint32 mMipmapBias
Definition: OgreInstantRadiosity.h:219
static const IdString NumShadowMapTextures
Definition: OgreHlms.h:816
virtual bool preRender(SceneManager *sm, RenderSystem *rsys)
Called just prior to the Renderable being rendered.
Definition: OgreRenderable.h:114
const value_type * const_pointer
Definition: OgreMemorySTLAllocator.h:88
PCZSceneManagerFactory()
Definition: OgrePCZSceneManager.h:384
void sort(TContainer &container, TFunction func)
Main sort function.
Definition: OgreRadixSort.h:246
void _writeRawConstant(size_t physicalIndex, bool val)
Write a single boolean parameter to the program.
bool pullOcclusionQuery(unsigned int *NumOfFragments)
void flush(size_t ticket, size_t start, size_t count)
Flushes the region of the given ticket. start is 0-based.
For D3D11, most (if not all) buffers, can be treated with the same code.
Definition: OgreD3D11BufferInterfaceBase.h:42
void getPointFromSelfOrNeighbour(long x, long y, Vector3 *outpos) const
Get a Vector3 of the world-space point on the terrain, aligned as per options.
SkeletonInstance * createSkeletonInstance(const SkeletonDef *skeletonDef, size_t numWorkerThreads)
Creates an instance of a skeleton based on the given definition.
virtual void read(Ray *ray, size_t count=1)
@ MESH_VERSION_1_4
OGRE version v1.4+.
Definition: OgreMeshSerializer.h:57
GL3PlusTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, GL3PlusSupport &support)
T & back()
Definition: OgreFastArray.h:342
static const IdString UvDiffuseSwizzle13
Definition: OgreUnlitProperty.h:105
Definition: OgreX11EGLSupport.h:86
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
Write the given sub-render state instance using the material serializer.
Definition: OgreShaderSubRenderState.h:289
virtual const String & getMovableType(void) const
Returns the type name of this object.
size_t mGlobalIndex
Index in the vector holding this MO reference (could be our parent node, or a global array tracking a...
Definition: OgreMovableObject.h:143
ProgramSet()
Class default constructor.
ConstVectorIterator< ObjectVec > ConstObjectIterator
Definition: OgreSceneNode.h:61
virtual const String & getLanguage(void) const
Returns a string that specifies the language of the gpu programs as specified in a material script.
void unbind(void)
Unbind the shader in OpenGL.
virtual uint32 getWidth() const
Specialisation of HardwareBufferManagerBase to emulate hardware buffers.
Definition: OgreDefaultHardwareBufferManager.h:159
Vector2 uvLength
Definition: OgreCompositorShadowNodeDef.h:60
@ PROP_UNSIGNED_INT
Definition: OgreProperty.h:110
virtual void removeKeyFrame(unsigned short index)
Removes a KeyFrame by it's index.
type::const_iterator const_iterator
Definition: OgrePrerequisites.h:726
virtual void requestOptions(Terrain *terrain)=0
Request the options needed from the terrain.
virtual void removeBuffer(IdString name)
Remove a buffer. Buffer can come from an input channel, or a locally defined one.
void setBlendblock(const HlmsBlendblock *blendblock, bool casterBlock=false)
Sets the blendblock from the given pointer that was already retrieved from the HlmsManager.
@ SPC_COLOR_DIFFUSE
Diffuse color.
Definition: OgreShaderParameter.h:270
PropertyType propType
Definition: OgreProperty.h:265
@ SHADOW_NODE_CASTER_PASS
Definition: OgreCompositorPassSceneDef.h:69
void destroySceneManager(SceneManager *sm)
Destroy an instance of a SceneManager.
virtual String getName() const =0
Returns the name of the factory, the name which identifies the particle affector type this factory cr...
Real getViewportAspectRatio(void) const
float b
Definition: OgreColourValue.h:76
GenFunc
Definition: OgreQuake3Types.h:119
@ M_POSE
Definition: OgreMeshFileFormat.h:147
bool getPassFogStates(void) const
Returns whether a fragment program wants fog state to be passed through fixed pipeline low level API ...
@ LB_BlendLinearDodge
Definition: OgreShaderExLayeredBlending.h:67
ConcreteNodeType type
Definition: OgreScriptCompiler.h:70
size_t mGlobalIndex
Index in the vector holding this node reference (could be our parent node, or a global array tracking...
Definition: OgreNode.h:184
void _makeProjectionMatrix(const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
See RenderSystem.
void validateDevice(bool forceDeviceElection=false)
VertexPass
Definition: OgreCommon.h:76
Log(const String &name, bool debugOutput=true, bool suppressFileOutput=false)
virtual void setFlipCullingOnNegativeScale(bool n)
Set whether to automatically flip the culling mode on objects whenever they are negatively scaled.
Definition: OgreSceneManager.h:3060
virtual DepthBuffer * _createDepthBufferFor(RenderTarget *renderTarget, bool exactMatchFormat)=0
Creates a DepthBuffer that can be attached to the specified RenderTarget.
static void getChildrenDimensions(const Vector3 &from, const Vector3 &to, Vector3 ¢er, Vector3 &width, Vector3 &height, Vector3 &depth)
Gets the center and width / height / depth vector of the children of a node.
Definition: OgreVolumeOctreeNode.h:97
virtual void _notifyBuffer(BufferPacked *buffer)
Definition: OgreBufferInterface.h:58
MetalDepthTextureTarget(MetalDepthTexture *ultimateTextureOwner, const String &name, v1::HardwarePixelBuffer *buffer, uint32 zoffset)
const_pointer data() const
data - Return a pointer to the vector's buffer, even if empty().
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:312
@ SPC_POSTOLIGHT_TANGENT_SPACE0
Light vector in tangent space index 0-7.
Definition: OgreShaderParameter.h:157
@ SPC_POSTOLIGHT_WORLD_SPACE2
Definition: OgreShaderParameter.h:139
@ ID_PASS
Definition: OgreScriptCompiler.h:614
map< Hash, Microcode >::type MicrocodeMap
Definition: OgreGpuProgramManager.h:72
@ LB_BlendScreen
Definition: OgreShaderExLayeredBlending.h:61
void removeAffector(unsigned short index)
Removes an affector from the system.
@ PF_R8G8B8_UINT
24-bit pixel format, 8 bits red (unsigned int), 8 bits blue (unsigned int), 8 bits green (unsigned in...
Definition: OgrePixelFormat.h:164
uint32 *RESTRICT_ALIAS mLightMask
The light mask defined for this movable.
Definition: OgreObjectData.h:101
InstanceBatch * _getOwner() const
Definition: OgreInstancedEntity.h:225
Abstract class defining the density function.
Definition: OgreVolumeSource.h:40
bool prepare(const String &filename)
Prepare the terrain from a standalone file.
String originalTextureName
Definition: OgreShaderExTextureAtlasSampler.h:63
EntityFactory()
Definition: OgreEntity.h:744
virtual void _initParticle(Particle *pParticle)
Method called to allow the affector to initialize all newly created particles in the system.
Definition: OgreParticleAffector.h:95
SubMesh * getSubMesh(unsigned short index) const
Gets a pointer to the submesh indicated by the index.
void setDimensions(Real width, Real height)
Sets the width and height for this billboard.
virtual const String & getFunctionAtomType()
Definition: OgreShaderFunctionAtom.h:201
~D3D9HardwareVertexBuffer()
void removeQueryFlags(uint32 flags)
Definition: OgreTerrain.h:2019
@ OPT_DEFAULT
default - no optimisation in debug mode, OPT_1 in release mode
Definition: OgreD3D9HLSLProgram.h:150
@ SPC_POSTOLIGHT_TANGENT_SPACE5
Definition: OgreShaderParameter.h:162
static void gaussFilterY(float *RESTRICT_ALIAS dstData, float *RESTRICT_ALIAS srcData, size_t texWidth, size_t texHeight, size_t texDepth, const float *RESTRICT_ALIAS kernel, int kernelStart, int kernelEnd)
virtual StagingStallType uploadWillStall(size_t sizeBytes)
Returns true if our next call to @map() with the same parameters will stall.
bool getAlphaTestShadowCasterOnly(void) const
virtual ~ETCCodec()
Definition: OgreETCCodec.h:60
This class allows you to plug in new ways to define the camera setup when rendering and projecting sh...
Definition: OgreShadowCameraSetup.h:67
virtual void beginGPUSampleProfile(const String &name, uint32 *hashCache)
Degree operator*(Real f) const
Definition: OgreMath.h:125
Class representing a general-purpose OldNode an articulated scene graph.
Definition: OgreOldNode.h:65
GpuProgramParametersSharedPtr getTessellationDomainProgramParameters(void) const
Gets the Tessellation Domain program parameters used by this pass.
Implement a sub render state which performs hardware skinning.
Definition: OgreShaderExLinearSkinning.h:50
void reserve(uint8 activeActorSlot, PlanarReflectionActor *actor)
Reserves a particular slot (i.e.
RenderSysAllocatedObject BufferAlloc
Definition: OgreMemoryAllocatorConfig.h:300
void _markTransformSharingDirty()
Tells that the list of entity instances with shared transforms has changed.
Definition: OgreInstanceBatch.h:355
~GLSLESProgramManagerCommon(void)
static StringVector getExtensions(void)
Gets the file extension list for the registered codecs.
SkeletonPtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new skeleton.
FastArray< MovableObject * > MovableObjectArray
@See SceneManager::cullFrustum
Definition: OgreMovableObject.h:268
GLAtomicCounterReferenceList::iterator GLAtomicCounterReferenceIterator
Definition: OgreGLSLProgram.h:74
virtual ~GpuSharedParameters()
virtual void setHlmsPassProperties(Hlms *hlms)
vector< SkeletonAnimation * >::type ActiveAnimationsVec
Definition: OgreSkeletonInstance.h:39
MemoryDataStream(const String &name, void *pMem, size_t size, bool freeOnClose=false, bool readOnly=false)
Wrap an existing memory chunk in a named stream.
vector< Terrain * >::type TerrainList
Definition: OgreTerrainGroup.h:420
#define HS_MAX_WEIGHT_COUNT
Definition: OgreShaderExHardwareSkinning.h:35
void importNamedConstants(DataStreamPtr &stream, GpuNamedConstants *pDest)
virtual void setFsaaResolveDirty(void)
Null buffers never resolve; only colour buffers do.
Definition: OgreGLES2NullTexture.h:107
A class that represents an atomic code section of shader based program function.
Definition: OgreShaderFunctionAtom.h:47
MultiRenderTarget for GL ES 2.x.
Definition: OgreGLES2FBOMultiRenderTarget.h:41
Definition: OgreVaoManager.h:45
Definition: OgreMeshLodGenerator.h:46
uint8 getBakedTextureIdx(PbsTextureTypes texType) const
Returns the index to mBakedTextures.
map< size_t, GpuLogicalIndexUse >::type GpuLogicalIndexUseMap
Definition: OgreGpuProgramParams.h:570
Cache-friendly container of 4x4 matrices represented as a SoA array.
Definition: C/OgreArrayMatrix4.h:70
const Ogre::String getWritablePath(const Ogre::String &filename) const
Find a path where the given filename can be written to.
Definition: OgreFileSystemLayer.h:110
@ ANIMBLEND_CUMULATIVE
Animations are applied by calculating a weighted cumulative total.
Definition: OgreSkeleton.h:53
GLenum getGLFormat()
Definition: OgreGLES2HardwarePixelBuffer.h:80
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create uniform buffer.
bool hasDefaultParameters(void) const
Returns true if default parameters have been set up.
float getBlendValue(size_t x, size_t y)
Get a single value of blend information, in image space.
static PropertyType getTypeForValue(const long &val)
Definition: OgreProperty.h:160
DataStreamListPtr openResources(const String &pattern, const String &groupName=DEFAULT_RESOURCE_GROUP_NAME)
Open all resources matching a given pattern (which can contain the character '*' as a wildcard),...
static const IdString PsoClipDistances
Definition: OgreHlms.h:812
@ CNT_COLON
Definition: OgreScriptCompiler.h:58
Class for loading & managing textures.
Definition: OgreTextureManager.h:61
virtual void destroyHardwareOcclusionQuery(HardwareOcclusionQuery *hq)
Destroy a hardware occlusion query object.
virtual void _getClippingRegion(RealRect &clippingRegion)
Gets the clipping region of the element.
virtual ~VertexDeclaration()
Grid3DPageStrategy(PageManager *manager)
virtual const Camera * getLodCamera() const
Get a pointer to the camera which should be used to determine LOD settings.
int release
Definition: OgreRenderSystemCapabilities.h:250
Command object for setting the output operation type (geometry shader only)
Definition: OgreGLSLShader.h:88
virtual void _startLegacyV1Rendering(void)
May override the current VertexArrayObject!
bool isClosed() const
Indicates whether the window has been closed by the user.
Definition: OgreD3D11RenderWindow.h:64
static const IdString TexMatrixCount7
Definition: OgreUnlitProperty.h:59
void copyFromTemplate(OverlayElement *templateOverlay)
void start()
Start anything special.
void _initAnimationState(AnimationStateSet *animSet)
Initialise an animation set suitable for use with this mesh.
virtual void triangleRemoved(LodData *data, LodData::Triangle *tri)
void _setVertexTexture(size_t unit, const TexturePtr &tex)
See RenderSystem.
Any mData
Data associated with the result of the process.
Definition: OgreWorkQueue.h:132
const GlyphInfo & getGlyphInfo(CodePoint id) const
Gets the information available for a glyph corresponding to a given code point, or throws an exceptio...
#define OGRE_ALLOC_T(T, count, category)
Allocate a block of memory for a primitive type, and indicate the category of usage.
Definition: OgreMemoryAllocatorConfig.h:455
@ HLMS_COMPUTE
Definition: OgreHlmsCommon.h:179
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
@ M_GEOMETRY_VERTEX_BUFFER_DATA
Definition: OgreMeshFileFormat.h:224
GL3PlusNullPixelBuffer(GL3PlusNullTexture *parentTexture, const String &baseName, uint32 width, uint32 height, uint32 Null, PixelFormat format)
bool isReferenceViewEnabled() const
Determine if use of the reference view is enabled.
static const IdString UvDiffuse14
Definition: OgreUnlitProperty.h:89
bool isTextureLoadFailing() const
Tests if the texture associated with this unit has failed to load.
Definition: OgreTextureUnitState.h:959
virtual void bindBufferVS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
Technique(Material *parent)
Constructor.
void setTime(Real time)
Sets the animation to a particular time.
Definition: OgreSkeletonAnimation.h:98
reverse_iterator rbegin()
Definition: OgreCommon.h:506
@ RSC_TESSELLATION_DOMAIN_PROGRAM
Supports hardware tessellation domain programs.
Definition: OgreRenderSystemCapabilities.h:186
MemoryDataStream(const String &name, DataStream &sourceStream, bool freeOnClose=true, bool readOnly=false)
Create a named stream which pre-buffers the contents of another stream.
virtual void applyDeltaValue(const Quaternion &)
Apply delta value.
Definition: OgreAnimable.h:210
void removeInjectorListener()
Definition: OgreLodWorkQueueInjector.h:63
void _notifyManager(HlmsManager *manager)
Definition: OgreHlms.h:425
void setVSyncInterval(unsigned int interval)
Set the vertical sync interval.
void addPoseWeight(const Ogre::String &poseName, float w)
void setColour(const ColourValue &diffuse)
Sets a new colour value. Asserts if mHasColour is false.
virtual ~ForwardClustered()
virtual void bindBufferDS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
@ ID_UAV_BUFFER
Definition: OgreScriptCompiler.h:930
void setDefaultAtlasingAttributes(IndexPositionMode mode, ushort offset, bool autoAdjustBorders)
Set the default attributes concerning atlas texture processing.
PropertyBase * getProperty(const String &name) const
Gets the property object for a given property name.
void destroyInstance(SceneManager *instance)
Destroy an instance of a SceneManager.
Real x
X coordinate of the position.
Definition: OgreVolumeMeshBuilder.h:45
map< uint16, DepthBufferVec >::type DepthBufferMap
Definition: OgreRenderSystem.h:55
@ PF_ASTC_RGBA_10X10_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 10x10)
Definition: OgrePixelFormat.h:283
uint16 SceneTypeMask
Bitmask containing scene types.
Definition: OgreSceneManager.h:3309
bool crossedPortal(const PortalBase *otherPortal)
Check if portal crossed over portal.
virtual void initCollapseCosts(LodData *data)
This is called after the LodInputProvider has initialized LodData.
static bool allBitsSet(bool mask0[1], bool mask1[1])
Returns true if alls bit in mask0[i] and mask1[i] are set.
size_t calculateSize(void) const
bool mPaused
Definition: OgreParallaxCorrectedCubemap.h:64
Definition: OgreHlmsDatablock.h:53
ForwardPlusMethods
Definition: OgreForwardPlusBase.h:56
static String frgProgramName
Definition: OgreShadowVolumeExtrudeProgram.h:222
virtual void materialEventRaised(MaterialSerializer *ser, MaterialSerializer::SerializeEvent event, bool &skip, const Material *mat)
@ ID_MIN
Definition: OgreScriptCompiler.h:665
bool getDebugPssmSplits(void) const
Definition: OgreHlmsPbs.h:254
const String & getName() const
Get the name of the shared parameter set.
Definition: OgreGpuProgramParams.h:844
const String & getFriendlyName(void) const
See RenderSystem.
Command object for red adjust (see ParamCommand).
Definition: OgreColourInterpolatorAffector.h:61
static unsigned short getTypeCount(VertexElementType etype)
Utility method which returns the count of values in a given type.
virtual void _checkNodeAgainstPortals(PCZSceneNode *, Portal *)=0
(recursive) Check the given node against all portals in the zone
void setCurrentRenderSystem(RenderSystem *renderSystem)
PixelBox(uint32 width, uint32 height, uint32 depth, PixelFormat pixelFormat, void *pixelData=0)
Constructor providing width, height and depth.
Definition: OgrePixelBox.h:70
RenderSysAllocatedObject ViewportAlloc
Definition: OgreMemoryAllocatorConfig.h:344
The PageManager is the entry point through which you load all PagedWorld instances,...
Definition: OgrePageManager.h:135
void setBackwardsCompatibility(bool compat)
Sets whether backwards compatibility mode should be enabled.
Definition: OgreD3D9HLSLProgram.h:192
Definition: OgreGLSLShaderManager.h:41
static Vector3 calculateBasicFaceNormalWithoutNormalize(const Vector3 &v1, const Vector3 &v2, const Vector3 &v3)
Calculate a face normal without normalize, no w-information.
ExternalTextureSourceManager()
Constructor.
@ ID_LIGHT
Definition: OgreScriptCompiler.h:962
static const IdString DetailDiffuseSwizzle2
Definition: OgreHlmsPbsMobile.h:163
Base class that users can derive from in order to implement custom passes for the compositor.
Definition: OgreCompositorPassProvider.h:74
const String & getResourceGroup() const
Get the resource group to use when loading / saving.
Definition: OgreTerrain.h:677
virtual void getRenderOperation(v1::RenderOperation &op, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
static const uint32 TERRAINLAYERSAMPLER_CHUNK_ID
Definition: OgreTerrain.h:284
void stopSharingTransform()
ProfileSessionListener should be used to visualize profile results.
Definition: OgreProfiler.h:356
static Real Cos(Real fValue, bool useTables=false)
Cosine function.
Definition: OgreMath.h:331
uint16 currentPreparedLod
Definition: OgreTerrainLodManager.h:70
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
void _update(Real timeElapsed)
Updates the particles in the system based on time elapsed.
virtual void removeAndDestroyChild(SceneNode *sceneNode)
This method removes and destroys the child and all of its children.
void setSpecularColour(Real red, Real green, Real blue)
Sets the colour of the specular light given off by this source.
const Matrix4 * _getBoneMatrices(void) const
Internal method for retrieving bone matrix information.
Definition: OgreEntity.h:477
@ SOP_INCREMENT
Increase the stencil value by 1, clamping at the maximum value.
Definition: OgreCommon.h:118
@ BP_TYPE_INDIRECT
Definition: OgreBufferPacked.h:89
void clearNodeFromVisitedZones(void)
virtual void setOrientation(const Quaternion &q)
Sets the orientation of this OldNode via a quaternion.
static const IdString GLES
Definition: OgreHlms.h:862
@ PFF_COMPRESSED
This format is compressed.
Definition: OgrePixelFormat.h:374
Vector3 getRight(void) const
Gets the camera's right vector.
A sphere.
Definition: OgreVolumeCSGSource.h:43
IdString const * uvSourceSwizzle
Definition: OgreUnlitProperty.h:132
void getPositionAlign(const Vector3 &TSpos, Alignment align, Vector3 *outWSpos) const
Convert a position from terrain basis space to world space based on a specified alignment.
String doGet(const void *target) const
SkeletonDef const * skeletonDef
Definition: OgreSkeletonAnimManager.h:49
void enableProfile(const String &profileName)
Enables a previously disabled profile.
@ GVA_BOTTOM
Definition: OgreOverlayElement.h:83
void registerHlms(Hlms *provider, bool deleteOnExit=true)
Registers an HLMS provider.
const AutoConstantEntry * findUnsignedIntAutoConstantEntry(size_t logicalIndex)
Finds an auto constant that's affecting a given logical parameter index for unsigned integer values.
void _setCameraInProgress(Camera *camera)
Definition: OgreSceneManager.h:2040
IntersectionSceneQuery * createIntersectionQuery(uint32 mask=0xFFFFFFFF)
Creates an IntersectionSceneQuery for this scene manager.
PCZ implementation of AxisAlignedBoxSceneQuery.
Definition: OgrePCZSceneQuery.h:58
@ ShaderBased
Any SM 2.0+.
Definition: OgreInstanceManager.h:70
size_t find(const char *value, size_t pos=0) const
Definition: OgreHlmsCommon.h:79
uint32 getRtIndex(void) const
Definition: OgreCompositorPassDef.h:219
void setColourTop(const ColourValue &col)
Sets the colour of the top of the letters.
HlmsCompute(AutoParamDataSource *autoParamDataSource)
virtual IntersectionSceneQuery * createIntersectionQuery(uint32 mask=QUERY_ENTITY_DEFAULT_MASK)
Creates an IntersectionSceneQuery for this scene manager.
void addToSwitchingFullscreenCounter()
Definition: OgreD3D11RenderSystem.h:211
VertexArrayObject * vao
Definition: OgreCbDrawCall.h:37
Definition: OgreVertexShadowMapHelper.h:125
_OgreExport friend std::ostream & operator<<(std::ostream &o, const StaticFaceGroup &s)
Definition: OgreStaticFaceGroup.h:113
~GL3PlusHardwareCounterBuffer()
void unlock(void)
Override HardwareBuffer to turn off all shadowing.
void setBillboardRotationType(BillboardRotationType rotationType)
Sets billboard rotation type.
WireBoundingBox(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager)
const Plane & getDerivedPlane() const
Get the portal plane in world coordinates.
Definition: OgrePortalBase.h:141
bool operator<=(const Degree &d) const
Definition: OgreMath.h:132
const String & getType(void) const
Get the type of the object to be created.
#define _OgrePropertyExport
Definition: OgrePropertyPrerequisites.h:58
@ PBSM_DETAIL1
Definition: OgreHlmsPbsPrerequisites.h:64
void _updateFromShadow(void)
See HardwareBuffer.
bool isMorphAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform morph animation.
const Aabb & getAabb(void) const
Get the axis-aligned bounding box for this mesh.
virtual void flushUAVs(void)
Forces to take effect all the queued UAV binding requests.
void prepareForShadowVolume(void)
This method prepares the mesh for generating a renderable shadow volume.
ID3D11Buffer * getVboName(void) const
Definition: OgreD3D11DynamicBuffer.h:80
Pass * getPass(void)
Don't make this const (useful for compile-time multithreading errors) Pointer can be null if using HL...
Definition: OgreCompositorPassQuad.h:108
@ TEXTURE_INPUT
Definition: OgreTextureDefinition.h:60
virtual ~UserObjectBindings()
Class destructor.
bool queryResult(MovableObject *first)
Self-callback in order to deal with execute which returns collection.
unsigned char data[1]
Definition: OgreQuake3Types.h:219
String doGet(const void *target) const
ushort getMaximumResolution3D(void) const
Maximum resolution (width or height)
Definition: OgreRenderSystemCapabilities.h:742
Definition: OgreOSXCocoaWindow.h:42
bool intersects(const Vector3 &v) const
Tests whether the vector point is within this box.
Definition: OgreAxisAlignedBox.h:672
void _applyBaseKeyFrame(const KeyFrame *base)
Internal method to re-base the keyframes relative to a given keyframe.
CompositorTargetDef(IdString renderTargetName, uint32 rtIndex, CompositorNodeDef *parentNodeDef)
Definition: OgreCompositorPassDef.h:210
TextureVec textures
Definition: OgreCompositorChannel.h:60
const vector< Real >::type & getPssmBlends(size_t shadowMapIdx) const
bool rectContainsNode(const Rect &rect)
Returns true if the given rectangle completely contains the terrain area that this node references.
const valueType & getValue() const
Returns the native value of this parameter.
Definition: OgreShaderParameter.h:589
static PropertyType getTypeForValue(const bool &val)
Definition: OgreProperty.h:168
TexBufferPacked * globalLightListBuffer
Definition: OgreForwardPlusBase.h:65
ArrayRay()
Definition: OgreArrayRay.h:42
map< String, PropertyDef >::type PropertyDefMap
Map from property name to shared definition.
Definition: OgreProperty.h:184
bool hasCustomParameter(size_t index) const
Checks whether a custom value is associated with this Renderable at the given index.
Definition: OgreRenderable.h:277
Quaternion Exp() const
Apply to unit-length quaternion.
static float saturate(float t)
Definition: OgreMath.h:367
@ SPC_POSTOLIGHT_WORLD_SPACE5
Definition: OgreShaderParameter.h:142
virtual void writeSourceCode(std::ostream &os, Program *program)
Vector2 midPoint(const Vector2 &vec) const
Returns a vector at a point half way between this and the passed in vector.
Definition: OgreVector2.h:426
virtual v1::Animation * getAnimation(const String &name) const
Looks up an Animation object previously created with createAnimation.
static const int MacroblockShift
Definition: OgreRenderQueue.h:269
VertexElementType getColourVertexElementType(void) const
See RenderSystem.
void setCompositeMapDistance(Real c)
Set the distance at which to start using a composite map if present.
Definition: OgreTerrain.h:1965
PCZSceneNode * mAssociatedNode
Definition: OgrePCZone.h:306
This plugin subclass of ParticleAffector allows you to alter the colour of particles.
Definition: OgreColourFaderAffector2.h:44
static FORCEINLINE uint16 bswap16(uint16 arg)
Returns value with reversed bytes order.
Definition: OgreBitwise.h:54
void fromString(const String &versionString)
Definition: OgreRenderSystemCapabilities.h:265
CbTexture(uint16 _texUnit, bool _bEnabled, Texture *_texture, const HlmsSamplerblock *_samplerBlock=0)
A staging buffer is a buffer that resides on the GPU and be written to/from both CPU & GPU However th...
Definition: OgreStagingBuffer.h:76
GpuLogicalIndexUseMap map
Map from logical index to physical buffer location.
Definition: OgreGpuProgramParams.h:577
NodeAnimationTrack * createNodeTrack(void)
Creates a NodeAnimationTrack for animating a OldNode.
static const int DepthShift
Definition: OgreRenderQueue.h:273
Real timeSinceLastFrame
Elapsed time in seconds since the last event of the same type, i.e.
Definition: OgreFrameListener.h:60
bool isManual() const
Manual DepthBuffers are cleared in RenderSystem's destructor.
@ PF_PVRTC2_2BPP
PVRTC (PowerVR) Version 2, 2 bpp.
Definition: OgrePixelFormat.h:154
ParticleSystemRenderer * _createRenderer(const String &rendererType, SceneManager *sceneManager)
Internal method for creating a new renderer from a factory.
virtual HardwareOcclusionQuery * createHardwareOcclusionQuery(void)
Create an object for performing hardware occlusion queries.
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
TextureDefinition * addTextureDefinition(const String &name)
Creates a TextureDefinition with a given name, must be unique.
bool getUseTextures(void) const
Definition: OgreInstantRadiosity.h:334
void clearDelegatePrograms()
Remove all delegate programs.
void addQueryFlags(uint32 flags)
As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this ob...
Definition: OgreTerrain.h:2016
void setManualValue(int32 value)
void setAmbient(Real red, Real green, Real blue)
Sets the ambient colour reflectance properties for every Pass in every Technique.
void _setViewMatrix(const Matrix4 &m)
Sets the view transform matrix.
@ TID_LBRACKET
Definition: OgreScriptLexer.h:48
void setDatablockOrMaterialName(String materialName, String groupName)
First tries to see if an HLMS datablock exist with the given name, if not, tries to search among low ...
void _initParticle(Particle *pParticle)
See ParticleEmitter.
@ ID_FAIL_OP
Definition: OgreScriptCompiler.h:916
void waitForPendingUserScalableTask()
Blocks until the the task from processUserScalableTask finishes.
Vector3 position
Definition: OgreStaticGeometry.h:167
virtual TexturePtr loadImage(const String &name, const String &group, const Image &img, TextureType texType=TEX_TYPE_2D, int numMipmaps=MIP_DEFAULT, Real gamma=1.0f, bool isAlpha=false, PixelFormat desiredFormat=PF_UNKNOWN, bool hwGammaCorrection=false)
Loads a texture from an Image object.
@ PF_BYTE_RGBA
4 byte pixel format, 1 byte for red, 1 byte for green, 1 byte for blue, and one byte for alpha
Definition: OgrePixelFormat.h:105
uint16 maxBatchSize
Maximum batch size (along one edge) in vertices; must be 2^n+1 and <= 65.
Definition: OgreTerrain.h:338
void getBonesPerDepth(vector< size_t >::type &out) const
static const SimpleMatrixAf4x3 IDENTITY
Definition: C/OgreArrayMatrixAf4x3.h:284
static String toString(Radian val, unsigned short precision=6, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts a Radian to a String.
Definition: OgreStringConverter.h:78
virtual void queueBindUAV(uint32 slot, TexturePtr texture, ResourceAccess::ResourceAccess access=ResourceAccess::ReadWrite, int32 mipmapLevel=0, int32 textureArrayIndex=0, PixelFormat pixelFormat=PF_UNKNOWN)
Queues the binding of an UAV to the binding point/slot.
SceneManager * getSceneManager(void) const
@ PBSM_EMISSIVE
Definition: OgreHlmsPbsPrerequisites.h:71
virtual void getInterpolatedKeyFrame(const TimeIndex &timeIndex, KeyFrame *kf) const
Gets a KeyFrame object which contains the interpolated transforms at the time index specified.
MappingState getMappingState(void) const
Definition: OgreStagingBuffer.h:184
void setSkeletonName(const String &skelName)
Sets the name of the skeleton this Mesh uses for animation.
virtual void startDeflate(size_t avail_in=0)
Start (un)compressing data.
MaterialPtr clone(const String &newName, bool changeGroup=false, const String &newGroup=BLANKSTRING) const
Creates a new copy of this material with the same settings but a new name.
void fillIrradianceVolume(IrradianceVolume *volume, Vector3 cellSize, Vector3 volumeOrigin, Real lightMaxPower, bool fadeAttenuationOverDistance)
const std::int64_t m_LocalID
Definition: OgreThreadDefinesSTD.h:80
@ SHADER_NOMIPMAPS
Definition: OgreQuake3Types.h:90
static Boolean _getDictionaryBoolean(CFDictionaryRef dict, const void *key)
void setGLBufferBinding(GLint binding)
bool hasOldNodeTrack(unsigned short handle) const
Does a track exist with the given handle?
static const int TextureShift
Definition: OgreRenderQueue.h:272
Real getScrollX(void) const
Gets the current X scroll value.
virtual void destroyVertexBufferBinding(VertexBufferBinding *binding)
Destroys a VertexBufferBinding.
Definition: OgreHardwareBufferManager.h:493
static const IdString BlendModeIndex5
Definition: OgreUnlitProperty.h:114
void addAnimationsFromSkeleton(const String &skelName, const String &groupName)
Add all animation clips found in skelName.
Sphere getAsSphere(size_t index) const
Prefer using.
Definition: C/OgreArraySphere.h:87
virtual ~ParticleSystemRenderer()
Destructor.
Definition: OgreParticleSystemRenderer.h:57
AbstractNodeList children
Definition: OgreScriptCompiler.h:132
@ DEFORM_FUNC_AUTOSPRITE
Definition: OgreQuake3Types.h:139
String doGet(const void *target) const
Wrapper class for operating as an STL container allocator.
Definition: OgreMemorySTLAllocator.h:65
Abstract class defining the interface to be implemented by creators of ParticleAffector subclasses.
Definition: OgreParticleAffectorFactory.h:56
virtual String getDataType() const =0
Returns the type of the data that supported by this codec as a String.
static TextureManager * getSingletonPtr(void)
Override standard Singleton retrieval.
static PropertyType getTypeForValue(const unsigned short &val)
Definition: OgreProperty.h:157
@ Uav
Definition: OgreResourceTransition.h:54
~GL3PlusHardwarePixelBuffer()
@ TEXCALC_ENVIRONMENT_MAP_REFLECTION
Definition: OgreRenderSystem.h:68
virtual void unload()=0
Unload - will be called in main thread.
RemapInfo()
Definition: OgreLod0Stripifier.h:66
ArrayVector3 midPoint(const ArrayVector3 &vec) const
Returns a vector at a point half way between this and the passed in vector.
@ M_SUBMESH_M_GEOMETRY_VERTEX_DECLARATION
Definition: OgreMeshFileFormat.h:89
Managing constant and texture buffers for sending shader parameters is a very similar process to most...
Definition: OgreHlmsBufferManager.h:72
static D3D11_BLEND_OP get(SceneBlendOperation sbo)
return a D3D11 equivalent for a Ogre SceneBlendOperation value
void setEndPoint(const Vector3 &newEndpoint)
virtual ~RibbonTrail()
destructor
static void scale(const PixelBox &src, const PixelBox &dst)
Definition: OgreImageResampler.h:55
~D3D11RenderWindowSwapChainBased()
Definition: OgreD3D11RenderWindow.h:111
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
static const IdString UvDiffuseSwizzle10
Definition: OgreUnlitProperty.h:102
static const String & getDirectionalLightExtruderVs_glslDebug(void)
Get extruder program source for debug directional lights, compatible with glsl.
Definition: OgreShadowVolumeExtrudeProgram.h:270
@ ID_MATERIAL
Definition: OgreScriptCompiler.h:609
EllipsoidEmitter(ParticleSystem *psys)
See AreaEmitter.
Abstract class containing any additional data required to be associated with a particle to perform th...
Definition: OgreParticle.h:54
void exportMesh(const Mesh *pMesh, const String &filename, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the file specified, in the latest format.
bool operator()(const IdObject &left, const IdObject &right)
Definition: OgreId.h:81
IDirect3DDevice9 * getD3D9Device()
void setPreprocessorDefines(const String &defines)
Sets the preprocessor defines use to compile the program.
Definition: OgreGLSLShader.h:165
Negates the given volume.
Definition: OgreVolumeCSGSource.h:337
ChunkParameters(void)
Constructor.
Definition: OgreVolumeChunk.h:96
void detachFromParent(void)
Detaches an object from a parent SceneNode if attached.
static void toLowerCase(String &str)
Lower-cases all the characters in the string.
static const IdString SignedIntTex
Definition: OgreHlmsPbsMobile.h:104
~Grid2DPageStrategyData()
ID3D11Query * createFence(void)
virtual void regressFrame(void)
@ ID_DECREMENT
Definition: OgreScriptCompiler.h:919
SceneNode * getParentSceneNode(void) const
Gets the parent of this SceneNode.
virtual Real getFogStart(void) const
Returns the fog start distance for the scene.
virtual const VertexElement * findElementBySemantic(VertexElementSemantic sem, unsigned short index=0) const
Finds a VertexElement with the given semantic, and index if there is more than one element with the s...
virtual void _detachDepthBuffer()
Detaches DepthBuffer without notifying it from the detach.
D3D11MultiRenderTarget(const String &name)
void doSet(void *target, const String &val)
SubMesh * createSubMesh(size_t index=~0u)
Creates a new SubMesh.
void doSet(void *target, const String &val)
void setComputeProgramConstantBoolCount(ushort c)
The number of boolean constants compute programs support.
Definition: OgreRenderSystemCapabilities.h:923
virtual void _checkNodeAgainstPortals(PCZSceneNode *, Portal *)
(recursive) Check the given node against all portals in the zone
void _computeBoneBoundingRadius()
Compute the bone bounding radius by looking at the vertices, vertex-bone-assignments,...
GpuConstantType constType
Data type.
Definition: OgreGpuProgramParams.h:149
@ SM_DIRECTION
Sort by direction of the camera.
Definition: OgreCommon.h:335
@ OT_PATCH_1_CONTROL_POINT
Patch control point operations, used with tessellation stages.
Definition: OgreHlmsPso.h:60
virtual ~GL3PlusDepthTexture()
@ ReadWrite
Definition: OgreResourceTransition.h:115
SceneMemoryMgrTypes
The types of NodeMemoryManager & ObjectMemoryManagers.
Definition: OgreCommon.h:445
void setTimeAdjust(size_t index, Real time)
static const int HlmsTypeBits
Definition: OgreHlms.h:891
D3D11BufferInterface(size_t vboPoolIdx, ID3D11Buffer *d3dBuffer, D3D11DynamicBuffer *dynamicBuffer)
size_t getVertexCount(size_t poly) const
Returns the number of vertices for a polygon.
void doSet(void *target, const String &val)
void(* unspecified_bool_type)(SharedPtr ***)
Definition: OgreSharedPtr.h:300
void setBox(const AxisAlignedBox &box)
Sets the size of the box you wish to query.
DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
const SubMeshNameMap & getSubMeshNameMap(void) const
Gets a reference to the optional name assignments of the SubMeshes.
Definition: OgreMesh.h:909
virtual void destroyAllManualObjects(void)
Removes & destroys all ManualObjects from the SceneManager.
@ BuildInstantRadiosity
Only used for importing.
Definition: OgreSceneFormatBase.h:70
SceneCtlAllocatedObject SceneMgtAlloc
Definition: OgreMemoryAllocatorConfig.h:330
vector< v1::HardwareCounterBufferSharedPtr >::type GLCounterBufferList
Definition: OgreGLSLProgram.h:78
static size_t getMaxMipmaps(size_t width, size_t height, size_t depth, PixelFormat format)
Returns the maximum number of Mipmaps that can be generated until we reach the mininum format possibl...
bool operator<(const VertexBoneAssignment &_r) const
Definition: OgreVertexBoneAssignment.h:81
bool isLoaded(void) const
Is this loaded?
virtual const SkyDomeGenParameters & getSkyDomeGenParameters(void) const
Get the parameters used to generate the current SkyDome, if any.
Definition: OgreSceneManager.h:2400
virtual void _setRenderTarget(RenderTarget *target, uint8 viewportRenderTargetFlags)
Set current render target to target, enabling its device context if needed.
bool getPassTransformStates(void) const
Overridden.
std::pair< size_t, size_t > getTextureDimensions(unsigned int frame=0) const
Returns the width and height of the texture in the given frame.
@ ID_READ
Definition: OgreScriptCompiler.h:933
RenderTarget * getFinalTarget(void) const
Returns the RenderTarget we're rendering to.
const ColourValue & getLightDiffuseColour(size_t index) const
@ ID_RECEIVE_SHADOWS
Definition: OgreScriptCompiler.h:626
MeshSerializer(VaoManager *vaoManager)
bool has(const T &item)
Definition: OgreVectorSetImpl.h:100
virtual void _setNullDatablock(void)
Sets the datablock to a null pointer.
GpuProgramParameters(const GpuProgramParameters &oth)
Copy constructor.
virtual Animation * getAnimation(const String &name, const LinkedSkeletonAnimationSource **linker) const
Returns the named Animation object.
const VertexBoneAssignmentList & getBoneAssignments()
Gets a const reference to the list of bone assignments.
Definition: OgreSubMesh.h:194
void setConstant(size_t index, const float *val, size_t count)
Sets a multiple value constant floating-point parameter to the program.
void doSet(void *target, const String &val)
Definition: OgreTerrainLodManager.h:61
@ FILTER_BICUBIC
Definition: OgreImage.h:456
AxisAlignedBox(Extent e)
Definition: OgreAxisAlignedBox.h:97
GL3PlusSupport()
Definition: OgreGL3PlusSupport.h:44
Represents a convex volume bounded by planes.
Definition: OgrePlaneBoundedVolume.h:50
MemoryTypes
Definition: OgreArrayMemoryManager.h:290
Definition of a parameter supported by a StringInterface class, for introspection.
Definition: OgreStringInterface.h:67
@ GPU_ARM
Definition: OgreRenderSystemCapabilities.h:302
void doSet(void *target, const String &val)
@ VET_FLOAT4
Definition: OgreVertexElements.h:75
Ogre::Real getValue(void) const
void removeLodLevels(void)
Internal methods for loading LOD, do not use.
This is technique requires true instancing hardware support.
Definition: OgreInstanceBatchHW.h:64
AutoConstantIterator getAutoConstantIterator(void) const
Gets an iterator over the automatic constant bindings currently in place.
GL3PlusFBORenderTexture(GL3PlusFBOManager *manager, const String &name, const GL3PlusSurfaceDesc &target, bool writeGamma, uint fsaa)
@ SPC_NORMAL_VIEW_SPACE
Normal in view space.
Definition: OgreShaderParameter.h:109
void * getTopLeftFrontPixelPtr() const
Return a data pointer pointing to top left front pixel of the pixel box.
const Vector3 & getPosition(void) const
Retrieves the camera's position.
FastArray< InstancedEntity * > InstancedEntityArray
Definition: OgreInstanceBatch.h:96
virtual void destroyAllWireAabbs(void)
Removes & destroys all WireAabbs.
PageContentCollection(PageContentCollectionFactory *creator)
D3D11HLSLProgram * vertexShader
Definition: OgreD3D11HlmsPso.h:52
@ ID_UNLIMITED
Definition: OgreScriptCompiler.h:728
virtual void _placeBarriersAndEmulateUavExecution(BoundUav boundUavs[64], ResourceAccessMap &uavsAccess, ResourceLayoutMap &resourcesLayout)
Emulates the execution of a UAV to understand memory dependencies, and adds a memory barrier / resour...
virtual void _hlmsMacroblockCreated(HlmsMacroblock *newBlock)
Definition: OgreRenderSystem.h:801
static const IdString DiffuseMapCount0
Definition: OgreHlmsUnlitMobile.h:108
unsigned short targetBufferIndex
Definition: OgreVertexIndexData.h:97
void setPrimitiveRange(uint32 primStart, uint32 primCount)
Limits the range of triangle primitives that is rendered.
Real scale
Definition: OgreSkeleton.h:470
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
Allows the rendering of a wireframe bounding box.
Definition: OgreWireBoundingBox.h:50
virtual const Sphere & getWorldBoundingSphere(bool derive=false) const
Retrieves the worldspace bounding sphere for this object.
CompositorPassDef * addPass(CompositorPassType passType, IdString customId=IdString())
virtual bool getCastsShadows(void) const
Method which reports whether this renderable would normally cast a shadow.
Rectangle2DFactory()
Definition: OgreRectangle2D.h:106
void extractUniformsFromProgram(GLuint programObject, const GpuConstantDefinitionMap *vertexConstantDefs, const GpuConstantDefinitionMap *fragmentConstantDefs, GLUniformReferenceList &uniformList, GLUniformBufferList &uniformBufferList)
Populate a list of uniforms based on an OpenGL program object.
virtual void bindBufferDS(uint16 slot)
static const Vector2 NEGATIVE_UNIT_Y
Definition: OgreVector2.h:588
static const uint32 TERRAINLAYERDECLARATION_CHUNK_ID
Definition: OgreTerrain.h:282
static CmdScope msScopeCmd
Definition: OgreDirectionRandomiserAffector.h:97
ConstMapIterator< GpuConstantDefinitionMap > GpuConstantDefinitionIterator
Definition: OgreGpuProgramParams.h:473
void cleanerFlat(char *dstPtr, size_t indexDst, char *srcPtr, size_t indexSrc, size_t numSlots, size_t numFreeSlots, size_t elementsMemSize)
virtual void _autogenerateMipmaps(void)
Tells the API to let the HW autogenerate mipmaps.
Definition: OgreNULLTexture.h:77
virtual void setCellRangeMinY(int32 minY)
Set the index range of all cells (values outside this will be ignored)
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, const TextureUnitState *srcTextureUnit, const TextureUnitState *dstTextureUnit)
Write the given sub-render state instance using the material serializer.
Definition: OgreShaderSubRenderState.h:300
void registerComputeHlms(HlmsCompute *provider)
String doGet(const void *target) const
Command object for setting delegate (can set more than once)
Definition: OgreUnifiedHighLevelGpuProgram.h:68
void setIgnoreMissingParams(bool state)
Tells the program whether to ignore missing parameters or not.
Definition: OgreGpuProgramParams.h:2051
const MaterialPtr & getMaterial(void) const
See Renderable.
GLES2DepthTexture(bool shareableDepthBuffer, ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, GLES2Support &support)
virtual void abortRequest(RequestID id)
Abort a previously issued request.
virtual void destroyRenderTexture(const String &name)
Destroys a render texture.
UniformParameterPtr getParameterByName(const String &name)
Get parameter by a given name.
virtual size_t _asyncDownload(BufferPacked *source, size_t srcOffset, size_t srcLength)
Copies the GPU data in BufferPacked to the StagingBuffer so that it can be later read by the CPU usin...
A 3D box aligned with the x/y/z axes.
Definition: OgreAxisAlignedBox.h:54
virtual void _mergeSkeletonAnimations(const Skeleton *source, const BoneHandleMap &boneHandleMap, const StringVector &animations=StringVector())
Merge animations from another Skeleton object into this skeleton.
LodCollapseCostProfiler(LodProfile &profile, LodCollapseCostPtr &costCalculator)
Definition: OgreLodCollapseCostProfiler.h:45
Image()
Standard constructor.
SharedPtr< AbstractNode > AbstractNodePtr
Definition: OgreScriptCompiler.h:86
@ UO_KEEP_PERSISTENT
When unmapping, unmap() will keep persistent buffers mapped.
Definition: OgreBufferPacked.h:79
ConstEnabledAnimationStateIterator getEnabledAnimationStateIterator(void) const
Get an iterator over all the enabled animation states in this set.
Real getDetailNormalWeight(uint8 detailNormalMapIdx) const
Returns the detail normal maps' weight.
Controller< Real > * createFrameTimePassthroughController(const ControllerValueRealPtr &dest)
Creates a new controller use frame time source and passthrough controller function.
virtual ushort getDesiredFloatBitDepth(void) const
gets desired bit depth for float pixel format textures.
@ PCF_3x3
Good quality. Still quite fast on most modern hardware.
Definition: OgreHlmsPbs.h:69
Real getWidth(void) const
Gets the width (local x size) of the emitter.
void read(T *pT, size_t count=1)
Catch-all method to read primitive types.
Definition: OgreStreamSerialiser.h:298
@ OT_PATCH_31_CONTROL_POINT
Definition: OgreHlmsPso.h:90
Locking helper.
Definition: OgreHardwareBuffer.h:356
DXGI_SAMPLE_DESC getD3dSampleDesc(void) const
Definition: OgreD3D11Texture.h:90
vector< RenderTexture * >::type BoundSufaceList
Definition: OgreRenderTexture.h:120
void setExcludeNode(SceneNode *excludeNode)
set node to exclude from query
Definition: OgrePCZSceneQuery.h:123
LodCollapseCostOutside(LodCollapseCostPtr costCalculator, Real outsideWeight, Real outsideWalkAngle)
HlmsUnlit(Archive *dataFolder, ArchiveVec *libraryFolders)
@ ACT_VIEWPORT_SIZE
Packed of "ViewportWidth", "ViewportHeight", "ViewportWidthInverse", "ViewportHeightInverse".
Definition: OgreGpuProgramParams.h:1238
static const IdString DetailNormalSwizzle2
Definition: OgreHlmsPbsMobile.h:168
Specialisation of HardwareVertexBuffer for OpenGL.
Definition: OgreGL3PlusHardwareVertexBuffer.h:39
CompositorPassClearDef(CompositorTargetDef *parentTargetDef)
By default clear all buffers.
Definition: OgreCompositorPassClearDef.h:78
Real getNearClipDistance() const
void setGLMapBufferThreshold(const size_t value)
Definition: OgreGL3PlusHardwareBufferManager.h:157
Definition: OgreD3D11NullTexture.h:37
bool unique() const
Definition: OgreSharedPtr.h:283
@ ID_CUBIC_NORMAL
Definition: OgreScriptCompiler.h:779
virtual void bindBufferCS(uint16 slot)
EdgeList edges
The edges themselves.
Definition: OgreEdgeListBuilder.h:117
void setDevice(D3D9Device *device)
ID3D11DeviceN * get()
Definition: OgreD3D11Device.h:60
virtual const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
const BoundSufaceList & getBoundSurfaceList() const
Get a list of the surfaces which have been bound.
Definition: OgreRenderTexture.h:122
ManualCullingMode cullMode
Definition: OgreQuake3Shader.h:110
Vector3 getPlanePoint(void) const
Gets the plane point of the deflector plane.
virtual void unmap(UnmapOptions unmapOption, size_t flushStartElem=0, size_t flushSizeElem=0)
String doGet(const void *target) const
virtual bool _prepareProceduralPage(Page *page)
Give a section the opportunity to prepare page content procedurally.
Time index object used to search keyframe at the given position.
Definition: OgreAnimationTrack.h:54
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:170
Specialisation of GLSLProgram to provide support for separable programs via the OpenGL program pipeli...
Definition: OgreGLSLSeparableProgram.h:74
Definition: OgreLodConfig.h:126
virtual void destroyStaticGeometry(const String &name)
Remove & destroy a StaticGeometry instance.
void setRenderQueueSubGroup(uint8 subGroup)
void doSet(void *target, const String &val)
static ArrayMaskR CompareGreaterEqual(ArrayReal a, ArrayReal b)
Returns the result of "a >= b".
Definition: OgreMathlibC.h:263
SceneBlendFactor getColourBlendFallbackDest(void) const
Get the multipass fallback for colour blending operation destination factor.
void setSkeletalAnimationIncluded(bool value)
Sets whether a vertex program includes the required instructions to perform skeletal animation.
Definition: OgreShaderProgram.h:166
UniformParameterPtr resolveAutoParameterReal(GpuProgramParameters::AutoConstantType autoType, Real data, size_t size=0)
Resolve uniform auto constant parameter with associated real data of this program.
virtual void beginProfileEvent(const String &eventName)=0
This marks the beginning of an event for GPU profiling.
_OgreTerrainExport friend std::ostream & operator<<(std::ostream &o, const LoadLodRequest &r)
Definition: OgreTerrainLodManager.h:73
SharedPtr< TerrainMaterialGenerator > TerrainMaterialGeneratorPtr
Definition: OgreTerrainMaterialGenerator.h:414
SubMesh * getSubMesh(void) const
Accessor method to read mesh data.
void freeMemory()
Delete all the memory held by this image, if owned by this image (not dynamic)
static const IdString UvDetailNm1
Definition: OgreHlmsPbsMobile.h:149
void _destroyInternalResources()
This utility class is used to hold the information used to generate the matrices and other informatio...
Definition: OgreAutoParamDataSource.h:60
static void toQuotedStr(TextureAddressingMode value, String &outString)
PCPlane(const Plane &plane)
Alternative constructor.
bool isDepthBuffered() const
Returns true if this window use depth buffer.
@ VET_DOUBLE4
Definition: OgreVertexElements.h:90
const char * XDisplayName(char *name)
GLXFBConfig getFBConfigFromDrawable(GLXDrawable drawable, unsigned int *width, unsigned int *height)
Get the GLXFBConfig used to create a GLXDrawable.
ConstTerrainIterator getTerrainIterator() const
Get an iterator over the defined terrains (const)
static const IdString UvDetail0
Definition: OgreHlmsPbs.h:369
@ GCT_SAMPLERCUBE
Definition: OgreGpuProgramParams.h:75
vector< SkeletonAnimation >::type SkeletonAnimationVec
Definition: OgreSkeletonInstance.h:37
@ SPC_LIGHTDIRECTION_TANGENT_SPACE3
Definition: OgreShaderParameter.h:200
@ FT_IMAGE
Loaded from an image created by an artist.
Definition: OgreFont.h:49
virtual PixelFormat getSupportedAlternative(PixelFormat format)
Get the closest supported alternative format.
const FilterSeparableKernel c_filterSeparableKernels[1]
uint16 divisor
Definition: OgreHlmsTextureManager.h:283
void remove(const IdString &name)
Will remove the SkeletonDef from our lists, but the memory pointer may not actually be deleted,...
@ SceneSettings
Definition: OgreSceneFormatBase.h:66
bool operator<(const QueuedRenderable &_r) const
Definition: OgreRenderQueue.h:59
bool load(StreamSerialiser &stream)
Load world data from a serialiser (returns true if successful)
void setName(const String &name)
Definition: OgreSkeletonAnimationDef.h:91
Portal * getTargetPortal()
Get the connected portal (if any)
Definition: OgrePortal.h:64
static const IdString UvDetailNm2
Definition: OgreHlmsPbs.h:376
Definition: OgreTerrainLodManager.h:78
@ ID_INCREMENT_WRAP
Definition: OgreScriptCompiler.h:920
CSGNoiseSource(const Source *src, Real *frequencies, Real *amplitudes, size_t numOctaves)
Constructor with current time as seed.
SuperClass::size_type size_type
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:455
bool getEnableIncludeHeader(void) const
::EGLConfig selectGLConfig(const EGLint *minAttribs, const EGLint *maxAttribs)
const Real & getSplitFadePoint() const
Returns the calculated split fade point.
Definition: OgreShadowCameraSetupPSSM.h:126
ResourceLayout::Layout newLayout
Definition: OgreResourceTransition.h:125
virtual unsigned int getWidth(void) const
Overridden - see RenderWindow.
GLES2DepthTextureTarget(GLES2DepthTexture *ultimateTextureOwner, const String &name, v1::HardwarePixelBuffer *buffer, uint32 zoffset)
bool requiresTextureFlipping() const
Definition: OgreD3D9Texture.h:232
D3D11RenderTexture(const String &name, v1::D3D11HardwarePixelBuffer *buffer, uint32 zoffset, bool writeGamma, uint fsaa, const String &fsaaHint, D3D11Device &device)
Options class which just stores default options for the terrain.
Definition: OgreTerrain.h:1912
virtual ForwardPlusMethods getForwardPlusMethod(void) const =0
void _makeProjectionMatrix(Real left, Real right, Real bottom, Real top, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
See RenderSystem.
D3D11VideoMode(const D3D11VideoMode &ob)
@ SPC_LIGHTDIRECTION_TANGENT_SPACE7
Definition: OgreShaderParameter.h:204
SharedPtr< GpuNamedConstants > GpuNamedConstantsPtr
Definition: OgrePrerequisites.h:350
vector< Submesh >::type submesh
Contains every generated indexBuffer from every submesh. submeshCount*lodLevelCount buffers.
Definition: OgreLodBuffer.h:79
ConcreteNodeListPtr parse(const ScriptTokenListPtr &tokens)
const MaterialPtr & getMaterial()
Gets the material generated for this font, as a weak reference.
Definition: OgreFont.h:386
Portal-Connected Zone datastructure for managing scene nodes.
Definition: OgrePCZone.h:82
NULLTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
Definition: OgreNULLTexture.h:51
virtual void discardFrameBuffer(unsigned int buffers)
Instructs the viewport to 'discard' the buffers.
uint32 slotIdx
Definition: OgreCompositorPassComputeDef.h:86
void _setProperty(IdString key, int32 value)
For debugging stuff. I.e. the Command line uses it for testing manually set properties.
Definition: OgreHlms.h:748
virtual void createDefinedTexture(const String &sMaterialName, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)=0
Creates a texture into an already defined material or one that is created new (it's up to plugin to u...
static D3D11_TEXTURE_ADDRESS_MODE get(TextureAddressingMode tam)
return a D3D11 equivalent for a Ogre TextureAddressingMode value
ArrayQuaternion Log(void) const
virtual void _clearNodeLists(short nodeListTypes)
Remove all nodes from the node reference list and clear it.
@ ACT_TRANSPOSE_PROJECTION_MATRIX
Provides transpose of projection matrix.
Definition: OgreGpuProgramParams.h:938
void addGPUVendorRule(const GPUVendorRule &rule)
Add a rule which manually influences the support for this technique based on a GPU vendor.
SceneBlendFactor mDestBlendFactorAlpha
Definition: OgreHlmsDatablock.h:175
bool hasMinGLVersion(int major, int minor) const
Check if GL Version is supported.
Aabb()
Definition: C/OgreAabb.h:83
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
A factory that enables creation of FFPLighting instances.
Definition: OgreShaderFFPLighting.h:225
void setCubemapProbe(CubemapProbe *probe)
Manually set a probe to affect this particular material.
Simple class for loading / saving GpuNamedConstants.
Definition: OgreGpuProgramParams.h:542
virtual void _resourceTransitionDestroyed(ResourceTransition *resTransition)
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
ID3D11UnorderedAccessView * _bindBufferCommon(size_t offset, size_t sizeBytes)
static size_t getMemorySize(uint32 width, uint32 height, uint32 depth, int32 xdim, int32 ydim, PixelFormat fmt)
virtual void destroyAllItems(void)
Removes & destroys all Items.
GeneralAllocatedObject ArchiveAlloc
Definition: OgreMemoryAllocatorConfig.h:298
void *(OGRE_THREAD_CALL_CONVENTION * THREAD_ENTRY_POINT)(void *lpThreadParameter)
Definition: OgreThreads.h:126
void doSet(void *target, const String &val)
unsigned int getHeight() const
Definition: OgreD3D9VideoMode.h:54
v1::HardwarePixelBufferSharedPtr getBuffer(size_t face, size_t mipmap)
Return hardware pixel buffer for a surface.
virtual const String & getType() const
bool queryResult(SceneQuery::WorldFragment *fragment, Real distance)
Self-callback in order to deal with execute which returns collection.
static const IdString RoughnessMap
Definition: OgreHlmsPbsMobile.h:109
static Matrix4 convertD3DXMatrix(const D3DXMATRIX &mat)
AbstractNodeList values
Definition: OgreScriptCompiler.h:152
Radian mRotation
Current rotation value.
Definition: OgreParticle.h:84
virtual Real getHoldRadius() const
Get the Holding radius.
Definition: OgreGrid2DPageStrategy.h:171
static CmdBlueAdjust2 msBlueCmd2
Definition: OgreColourFaderAffector2.h:191
virtual void loadTerrain(long x, long y, bool synchronous=false)
Load a specific terrain slot based on the definition that has already been supplied.
@ BCT_SUBROUTINE
Definition: OgreGpuProgramParams.h:57
GLuint getGLBufferId(void) const
Definition: OgreGLES2HardwareVertexBuffer.h:82
const Request * getRequest() const
Get the request that this is a response to (NB destruction destroys this)
Definition: OgreWorkQueue.h:138
virtual void setColourChange(size_t chainIndex, const ColourValue &valuePerSecond)
Enables / disables fading the trail using colour.
Frame Buffer Object abstraction.
Definition: OgreGL3PlusFrameBufferObject.h:42
@ OR_DEGREE_180
Definition: OgreFrustum.h:52
virtual void _hlmsSamplerblockDestroyed(HlmsSamplerblock *block)
size_t capacity() const
Definition: OgreFastArray.h:180
DistanceLodSphereStrategy()
Default constructor.
virtual void _setProgramsFromHlms(const HlmsCache *hlmsCache)
uint16 requestedLod
Definition: OgreTerrainLodManager.h:72
Definition: OgreCompositorPassComputeDef.h:85
Box()
Parameterless constructor for setting the members manually.
Definition: OgreCommon.h:841
const String * findAliasName(const TextureLocation &textureLocation) const
Finds the alias name of a texture given its TextureLocation.
bool checkExtension(const String &ext) const
Check if an extension is available.
void _setViewport(Viewport *vp)
See RenderSystem.
BufferLicenseType
Definition: OgreHardwareBufferManager.h:165
virtual void setRenderOperation(const RenderOperation &rend)
void _makeProjectionMatrix(Real left, Real right, Real bottom, Real top, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
Builds a perspective projection matrix for the case when frustum is not centered around camera.
static DWORD get(HardwareBuffer::Usage usage)
return the combination of D3DUSAGE values for Ogre buffer usage
Command object for getting/setting external micro code (void*)
Definition: OgreD3D9GpuProgram.h:51
virtual void getRenderOperation(RenderOperation &op)
Get the render operation for this buffer.
@ ACT_TIME
provides current elapsed time
Definition: OgreGpuProgramParams.h:1169
void _setProjectionMatrix(const Matrix4 &m)
Sets the projection transform matrix.
void setUseCount(unsigned value)
Definition: OgreSharedPtr.h:291
VectorIterator< ObjectVec > ObjectIterator
Definition: OgreSceneNode.h:60
SharedPtr< GLES2Texture > GLES2TexturePtr
Definition: OgreGLES2Prerequisites.h:159
@ CAPS_CATEGORY_GL
Definition: OgreRenderSystemCapabilities.h:66
virtual void setZoneGeometry(const String &filename, PCZSceneNode *parentNode)
Called by PCZSM during setZoneGeometry()
Information about the position and size of a glyph in a texture.
Definition: OgreFont.h:142
const Vector3 & getLightMapDirection() const
Get the shadow map light direction to use (world space)
Definition: OgreTerrain.h:1951
vector< QueuedSubMesh * >::type QueuedSubMeshList
Definition: OgreStaticGeometry.h:173
static Vector3 calculateTangentSpaceVector(const Vector3 &position1, const Vector3 &position2, const Vector3 &position3, Real u1, Real v1, Real u2, Real v2, Real u3, Real v3)
Calculates the tangent space vector for a given set of positions / texture coords.
InstantRadiosity(SceneManager *sceneManager, HlmsManager *hlmsManager)
void log(Log *l)
Debugging method.
void _destroyEmitter(ParticleEmitter *emitter)
Internal method for destroying an emitter.
void _setMipmapping(bool doMipmapGen, bool HWMipmaps)
Function to set mipmap generation.
virtual WireAabb * createWireAabb(void)
Create an WireAabb.
@ RSC_TEXTURE_3D
Supports 3d (volume) textures.
Definition: OgreRenderSystemCapabilities.h:121
bool operator==(const ColourValue &rhs) const
LayerBlendOperationEx operation
The operation to be applied.
Definition: OgreBlendMode.h:145
virtual Matrix3 getLocalAxes(void) const
Gets a matrix whose columns are the local axes based on the OldNodes orientation relative to it's par...
_OgreVolumeExport friend std::ostream & operator<<(std::ostream &o, const ChunkRequest &r)
Stream operator <<.
Definition: OgreVolumeChunkHandler.h:83
virtual void setUp(const Vector3 &up)
Sets the notional up vector of the emitter.
SharedPtr< D3D9Texture > D3D9TexturePtr
Definition: OgreD3D9Prerequisites.h:101
@ SPC_LIGHTDIRECTION_VIEW_SPACE0
Light direction in view space index 0-7.
Definition: OgreShaderParameter.h:187
D3D11HLSLProgram * _getBoundComputeProgram() const
virtual AbstractNode * clone() const =0
Returns a new AbstractNode which is a replica of this one.
int cluster_count
Definition: OgreQuake3Types.h:217
iterator find(const T &item)
Definition: OgreVectorSetImpl.h:106
bsp_leaf_t * mLeaves
Definition: OgreQuake3Level.h:129
Vector3 collapseMax(void) const
Takes each Vector and returns one returns a single vector.
void _load(void)
Internal method for loading this pass.
bool positionEquals(const Vector3 &rhs, Real tolerance=1e-03) const
Returns whether this vector is within a positional tolerance of another vector.
Definition: OgreVector3.h:750
uint16 _getInputLayoutId(HlmsManager *hlmsManager, OperationType opType)
VertexDeclaration do not store OperationType, which is why we cache just the base 10 bits.
static const Quaternion IDENTITY
Definition: OgreQuaternion.h:318
virtual void endCurrent()
See GL3PlusContext.
size_t getConstBufferSize(void) const
Returns the amount of bytes that fillConstBufferData is going to fill.
@ OT_LINE_STRIP
A strip of connected lines, 1 vertex per line plus 1 start vertex.
Definition: OgreHlmsPso.h:52
bool isVisible(const Vector3 &vert, FrustumPlane *culledBy=0) const
Tests whether the given vertex is visible in the Frustum.
Provides numeric solvers for Ogre.
Definition: OgreNumerics.h:52
virtual ~AnimationContainer()
Definition: OgreAnimation.h:60
SharedPtr< GpuLogicalBufferStruct > GpuLogicalBufferStructPtr
Definition: OgrePrerequisites.h:351
virtual void _setHlmsSamplerblock(uint8 texUnit, const HlmsSamplerblock *samplerblock)
@See HlmsSamplerblock.
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
VertexBoneAssignment(const v1::VertexBoneAssignment &c)
Definition: OgreVertexBoneAssignment.h:74
void removeSoftwareAnimationRequest(bool normalsAlso)
Removes a request for software animation.
Ogre::Vector3 mCenter
Definition: C/OgreAabb.h:80
static const IdString DetailMap0
Definition: OgreHlmsPbs.h:334
@ ACT_FRAME_TIME
provides the scaled frame time, returned as a floating point value.
Definition: OgreGpuProgramParams.h:1215
@ TU_STATIC_WRITE_ONLY
same as HardwareBuffer::HBU_STATIC_WRITE_ONLY
Definition: OgreTexture.h:57
static ParameterPtr createInTexcoord3(int index, Parameter::Content content)
SceneManager * _getCurrentSceneManager(void) const
Returns the scene manager currently being used to render a frame.
Visibility
Visibility types.
Definition: OgreOctreeCamera.h:64
virtual KeyFrame * _clone(AnimationTrack *newParent) const
Clone a keyframe (internal use only)
virtual void detachDepthBuffer()
Implementation of a Quaternion, i.e.
Definition: OgreQuaternion.h:57
virtual void setVolumeVisible(const bool visible)
Sets whether the volume mesh is visible.
TextureAtlasAttib(IndexPositionMode _posMode=ipmRelative, ushort _posOffset=1, bool _autoBorderAdjust=true)
Definition: OgreShaderExTextureAtlasSampler.h:224
static const IdString ShadowCaster
Definition: OgreHlms.h:820
RaySceneQuery(SceneManager *mgr)
void Orthonormalize()
Gram-Schmidt orthonormalization (applied to columns of rotation matrix)
Texture surface.
Definition: OgreGLES2TextureBuffer.h:39
A factory that enables creation of NormalMapLighting instances.
Definition: OgreShaderExNormalMapLighting.h:406
unsigned int getHeight() const
void calculateCell(PageID inPageID, int32 *x, int32 *y, int32 *z)
static ParameterPtr createOutTexcoord3(int index, Parameter::Content content)
virtual DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
BSP specialisation of IntersectionSceneQuery.
Definition: OgreBspSceneManager.h:227
static GLuint getAttributeIndexFor(VertexElementSemantic semantic)
PolygonMode
The polygon mode to use when rasterising.
Definition: OgreCommon.h:312
const String & getName() const
Definition: OgreHardwareUniformBuffer.h:62
static GLSLSeparableProgramManager & getSingleton(void)
virtual void setCommonUpVector(const Vector3 &vec)
Use this to specify the common up-vector given to billboards of type BBT_PERPENDICULAR_SELF or BBT_PE...
const SharedPtr< ControllerFunction< T > > & getFunction(void) const
Returns a pointer to the function object used by this controller.
Definition: OgreController.h:210
virtual void finalize(LodData *data)
Definition: OgreLodOutputProviderBuffer.h:46
size_t calculateSize(void) const
@ MESH_VERSION_1_8
OGRE version v1.8+.
Definition: OgreMeshSerializer.h:53
const TexturePtr & getLayerBlendTexture(uint8 index) const
Get a blend texture with a given index.
void _markBuffersUsedForAnimation(void)
Mark just this vertex data as animated.
void getTerrainPositionAlign(Real x, Real y, Real z, Alignment align, Vector3 *outTSpos) const
Convert a position from world space to terrain basis space based on a specified alignment.
bool getShareableDepthBuffer(void) const
Definition: OgreMetalDepthTexture.h:48
ThreadGroupsBasedOn
Definition: OgreHlmsComputeJob.h:52
uint16 getReferenceCount(void) const
Definition: OgreStagingBuffer.h:292
HashedVector< T > & operator=(const HashedVector< T > &rhs)
Definition: OgreCommon.h:547
const Vector4 & getSceneDepthRange() const
WriteBarrier
Definition: OgreResourceTransition.h:65
virtual ~GLES2RenderTexture()
GLSLESShader * pixelShader
Definition: OgreGLES2HlmsPso.h:64
virtual void _resumeRendering(RenderContext *context)
Resume rendering of the frame.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:184
GL3PlusHardwareBufferManagerBase as a Singleton.
Definition: OgreGL3PlusHardwareBufferManager.h:109
Real skyPlaneScale
Definition: OgreSceneManager.h:316
virtual void setCurrent()
See GL3PlusContext.
bool getStoreParityInW() const
Gets whether to store tangent space parity in the W of a 4-component tangent or not.
Definition: OgreTangentSpaceCalc.h:116
void set(const Vector3 &cameraPos, const Aabb &area, const Vector3 &areaInnerRegion, const Matrix3 &orientation, const Aabb &probeShape)
Sets cubemap probe's parameters.
void setCullingFrustum(Frustum *frustum)
Tells the camera to use a separate Frustum instance to perform culling.
Definition: OgreCamera.h:601
StringVectorPtr find(const String &pattern, bool recursive=true, bool dirs=false)
Find all file or directory names matching a given pattern in this archive.
@ CNT_LBRACE
Definition: OgreScriptCompiler.h:56
static void destroyVaos(VertexArrayObjectArray &vaos, VaoManager *vaoManager, bool destroyIndexBuffer=true)
@ MESH_VERSION_2_1
OGRE version v2.0+.
Definition: OgreMesh2Serializer.h:65
void set(const T &v)
Definition: OgreAtomicObject.h:69
Real base
Definition: OgreTextureUnitState.h:139
Overlay * getByName(const String &name)
Retrieve an Overlay by name.
ImageBlur2D separableBlur_Signed_XA88
Definition: OgreImageDownsampler.h:138
const TextureVec & getContiguousShadowMapTex(void) const
Definition: OgreCompositorShadowNode.h:280
Factory class for GLSL ES programs.
Definition: OgreGLSLESShaderFactory.h:40
const float * getDeltaData() const
Get a pointer to all the delta data for this terrain.
@ PROP_UNSIGNED_SHORT
Definition: OgreProperty.h:108
static const IdString BlendModeIdx13
Definition: OgreHlmsUnlitMobile.h:138
static const IdString DebugPssmSplits
Definition: OgreHlmsPbs.h:320
unsigned int _getNumRenderedBatches(void) const
Internal method to retrieve the number of visible batches in the last render.
void deleteResource(const String &filename, const String &groupName=DEFAULT_RESOURCE_GROUP_NAME, const String &locationPattern=BLANKSTRING)
Delete a single resource file.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:107
static FilterOptions parseFilterOptions(const char *value)
AntiPortalList mAntiPortals
Definition: OgrePCZone.h:251
static const IdString DiffuseMapCount6
Definition: OgreHlmsUnlitMobile.h:114
Manager/factory for RenderTextures.
Definition: OgreGL3PlusRenderTexture.h:70
bool mVplUseIntensityForMaxRange
When true, mVplIntensityRangeMultiplier will be used and each VPL will have a dynamic max range (can'...
Definition: OgreInstantRadiosity.h:216
virtual void _hlmsPipelineStateObjectCreated(HlmsPso *newPso)
float getAlphaAdjust1(void) const
Gets the alpha adjustment to be made per second to particles.
void setMinimumY(Real y)
Definition: OgreAxisAlignedBox.h:202
Vector3 projectVector(const Vector3 &v) const
Project a vector onto the plane.
virtual void computeVertexCollapseCost(LodData *data, LodData::Vertex *vertex, Real &collapseCost, LodData::Vertex *&collapseTo)
Called by initVertexCollapseCost and updateVertexCollapseCost, when the vertex minimal cost needs to ...
String doGet(const void *target) const
void setManualValue(const float *value, uint32 numValues)
Factory object for creating ParticleSystem instances.
Definition: OgreParticleSystemManager.h:392
HlmsBlendblock const * blendblock
Definition: OgreHlmsPso.h:175
bool isLoaded(void) const
Returns true if the Resource has been loaded, false otherwise.
@ GCT_INT4
Definition: OgreGpuProgramParams.h:92
Implementation of HardwareBufferManager for OpenGL.
Definition: OgreGL3PlusHardwareBufferManager.h:43
@ RSC_TEXTURE_COMPRESSION_DXT
Supports compressed textures in the DXT/ST3C formats.
Definition: OgreRenderSystemCapabilities.h:138
void _removeChild(OverlayElement *elem)
Definition: OgreOverlayContainer.h:91
@ FinalMat
Definition: OgreBoneArrayMemoryManager.h:64
SharedPtrInfoDeleteT(T *o)
Definition: OgreSharedPtr.h:87
@ NormalSort
Definition: OgreRenderQueue.h:114
HardwareOcclusionQuery()
Object public member functions.
virtual void setMode(Grid2DMode mode)
Set the grid alignment mode.
bool getEnableAnimationMatrix(uint8 textureUnit) const
void reset(T *rep)
Definition: OgreSharedPtr.h:317
void setBlendWeightsGpuRedundant(bool redundant)
Sets whether blend weights information needs to be passed to the GPU.
Definition: OgreRoot.h:1074
virtual void _setTextureCS(uint32 slot, bool enabled, Texture *texPtr)=0
Binds a regular texture to a Compute Shader.
Real getNonVisibleUpdateTimeout(void) const
Gets when the particle system should stop updating after it hasn't been visible for a while.
Definition: OgreParticleSystem.h:455
void setZOrder(uint16 zorder)
Alters the Z-order of this overlay.
Definition: OgreNULLVaoManager.h:51
virtual ~GLSLShaderManager()
const Polygon & getPolygon(size_t poly) const
Returns a polygon.
size_t mrtIndex
Index in case of MRT. Ignored if textureSource isn't mrt.
Definition: OgreCompositorPassQuadDef.h:58
virtual void _setProjectionMatrix(const Matrix4 &m)=0
Sets the projection transform matrix.
Abstract class representing a loadable resource (e.g.
Definition: OgreResource.h:78
bool contains(const Aabb &other) const
Tests whether another box contained by this box.
static String type
The type.
Definition: OgreShaderExTriplanarTexturing.h:138
size_t getStart(void) const
Definition: OgreHlmsCommon.h:124
void stopSharingSkeletonInstance()
Stops sharing the OldSkeletonInstance with other entities.
PropertyBase(PropertyDef *def)
Constructor.
Definition: OgreProperty.h:192
void prepareForShadowVolume(void)
Modifies the vertex data to be suitable for use for rendering shadow geometry.
uint32 bytesPerElement
Definition: OgreTextureDefinition.h:134
SmallVector(unsigned Size, const T &Value=T())
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:914
virtual void destroyEntity(v1::Entity *ent)
Removes & destroys an Entity from the SceneManager.
@ Clear
Definition: OgreResourceTransition.h:53
void doSet(void *target, const String &val)
Definition: OgreD3D11TexBufferPacked.h:40
void setScissorTest(bool enabled, size_t left=0, size_t top=0, size_t right=800, size_t bottom=600)
static bool isFloatingPoint(PixelFormat format)
Shortcut method to determine if the format is floating point.
static ArrayMaskI TestFlags4(ArrayInt a, ArrayInt b)
Test if "a AND b" will result in non-zero, returning 0xffffffff on those cases.
Definition: OgreMathlibC.h:171
const Vector3 getCenterLeftTop(void) const
Gets the center of the corners 4, 7.
Definition: OgreVolumeOctreeNode.h:382
Definition: OgrePCZoneFactory.h:64
#define OGRE_COPY_DEBUG_STRING(_Expression)
Definition: OgreIdString.h:42
bool getEnabled(void) const
Returns if this instance is enabled. @See setEnabled.
Definition: OgreCompositorNode.h:175
void _setName(IdString newName)
Do not call directly.
Definition: OgreTextureDefinition.h:153
virtual int getExecutionOrder() const
Definition: OgreGLXUtils.h:39
~GL3PlusHardwareIndexBuffer()
void * lock(size_t offset, size_t length, LockOptions options)
Lock the buffer for (potentially) reading / writing.
@ BBO_TOP_CENTER
Definition: OgreBillboardSet.h:59
@ PROP_VECTOR4
Definition: OgreProperty.h:117
static uint32 shrinkVertexBuffer(uint8 *dstData, const VertexElement2 *vertexElements[3], FastArray< uint32 > &vertexConversionLut, bool hasIndexBuffer, const uint8 *srcData[3], const size_t srcOffset[3], const size_t srcBytesPerVertex[3], uint32 numVertices)
Copies the contents from srcData into dstData, but shrinking it by removing duplicated vertices.
void finaliseHeightDeltas(const Rect &rect, bool cpuData)
Finalise the height deltas.
virtual const String & getType(void) const =0
Gets the type of this renderer - must be implemented by subclasses.
virtual RenderSystemContext * _pauseFrame(void)
Pause rendering for a frame.
bool XQueryExtension(Display *nativeDisplayType, char *name, int *dummy0, int *dummy2, int *dummy3)
virtual Terrain * getTerrain(long x, long y) const
Get the terrain instance at a given slot, if loaded.
This plugin subclass of ParticleAffector allows you to alter the rotation of particles.
Definition: OgreRotationAffector.h:45
void showNodeBoxes(bool show)
Tells the manager whether to draw the axis-aligned boxes that surround nodes in the Bsp tree.
TerrainLayerSamplerElement()
Definition: OgreTerrainMaterialGenerator.h:89
FilterOptions mMinFilter
Definition: OgreHlmsSamplerblock.h:66
Vector3 getEmissive(void) const
GpuProgramUsage(const GpuProgramUsage &rhs, Pass *newparent)
Copy constructor.
void bindToFramebuffer(GLenum target=GL_FRAMEBUFFER)
static const IdString BlendModeIndex4
Definition: OgreUnlitProperty.h:113
Singleton(void)
Definition: OgreSingleton.h:78
virtual void queueBindUAV(uint32 slot, TexturePtr texture, ResourceAccess::ResourceAccess access=ResourceAccess::ReadWrite, int32 mipmapLevel=0, int32 textureArrayIndex=0, PixelFormat pixelFormat=PF_UNKNOWN)=0
Queues the binding of an UAV to the binding point/slot.
InstancingThreadedCullingMethod getInstancingThreadedCullingMethod() const
Definition: OgreSceneManager.h:1906
const HlmsSamplerblock * getBlendCubemapTrilinearSamplerblock(void)
Definition: OgreParallaxCorrectedCubemap.h:224
void _clearSliceRTT(size_t zoffset)
Notify TextureBuffer of destruction of render target.
Definition: OgreGL3PlusTextureBuffer.h:63
Ogre::Radian angleTo(const Ogre::Vector2 &other) const
Gets the oriented angle between 2 vectors.
Definition: OgreVector2.h:573
@ ERR_FILE_NOT_FOUND
Definition: OgreException.h:114
bool isUpdate
Whether this is an update of an existing tree.
Definition: OgreVolumeChunkHandler.h:75
Vector3 updateTo
If an existing chunktree is to be partially updated, set this to the front upper right point of the (...
Definition: OgreVolumeChunk.h:89
void save(StreamSerialiser &stream)
Save node to a stream.
virtual Real getMinimumDepthInputValue(void)
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
virtual void setPosition(const Vector3 &pos)
Sets the position of the OldNode relative to it's parent.
void initialiseContext(RenderWindow *primary)
void _checkNodeAgainstPortals(PCZSceneNode *, Portal *)
(recursive) check the given node against all portals in the zone
This optional class allows you to receive per-result callbacks from SceneQuery executions instead of ...
Definition: OgreSceneQuery.h:179
virtual ~GLES2DepthTexture()
void * geometry
Custom geometry block, only applicable for WFT_CUSTOM_GEOMETRY.
Definition: OgreSceneQuery.h:111
char const * data
Data is already offseted. To get the vertex location, perform (data - offset);.
Definition: OgreVertexArrayObject.h:189
virtual void destroyAllDecals(void)
size_t offset
Definition: OgreVertexArrayObject.h:190
@ ID_LAST_RENDER_QUEUE
Definition: OgreScriptCompiler.h:878
void setOctant(Octree *o)
Sets the Octree in which this OctreeNode resides.
Definition: OgreOctreeNode.h:84
FileHandleDataStream(FILE *handle, uint16 accessMode=READ)
Create stream from a C file handle.
int mNumLeafBrushes
Definition: OgreQuake3Level.h:159
GeneralAllocatedObject ImageAlloc
Definition: OgreMemoryAllocatorConfig.h:311
map< uint32, TerrainSlot * >::type TerrainSlotMap
Packed map, signed 16 bits for each axis from -32767 to +32767.
Definition: OgreTerrainGroup.h:460
void clear()
Reset the calculation object.
virtual uint16 getChannel(const String &channelName)
Get a channel ID for a given channel name.
bool caseSensitive
Definition: OgreTechnique.h:108
EmscriptenEGLContext(EGLDisplay eglDisplay, const EGLSupport *glsupport, ::EGLConfig fbconfig, ::EGLSurface drawable)
virtual void getMetrics(unsigned int &width, unsigned int &height, unsigned int &colourDepth, int &left, int &top) const
Overloaded version of getMetrics from RenderTarget, including extra details specific to windowing sys...
vector< Node * >::type NodeVec
Definition: OgreNode.h:74
void doSet(void *target, const String &val)
size_t getFrameLastUpdated() const
Get the frame in which this shared parameter set was last updated.
Definition: OgreGpuProgramParams.h:714
virtual void _cancelDownload(size_t offset, size_t sizeBytes)
Releases memory assigned to a download that hasn't been mapped yet, to make space for another _asyncD...
AllocatedObject< AnimationAllocPolicy > AnimationAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:280
Represents a history of each profile during the duration of the app.
Definition: OgreProfiler.h:263
Ogre::RenderWindow * window
Definition: OgreOSXCocoaTouchView.h:37
void _removeAllBarriers(void)
const CompositorWorkspace * getWorkspace(void) const
Returns our parent workspace.
Definition: OgreCompositorNode.h:345
@ BBO_BOTTOM_LEFT
Definition: OgreBillboardSet.h:64
virtual bool queryIsTransferDone(void)
VectorImpl::pointer pointer
Definition: OgreCommon.h:478
VertexDataBindChoice
Identify which vertex data we should be sending to the renderer.
Definition: OgreEntity.h:645
virtual bool isCompatible(RenderTarget *renderTarget, bool exactFormatMatch) const
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is,...
IndexType
Definition: OgreHardwareIndexBuffer.h:51
@ RSC_VERTEX_FORMAT_UBYTE4
Supports the VET_UBYTE4 vertex element type.
Definition: OgreRenderSystemCapabilities.h:111
bool isAffine() const
Check whether or not the matrix is affine matrix.
Real getTextureVScale(void) const
Get texture vscale value.
void setBillboardOrigin(BillboardOrigin origin)
Sets the point which acts as the origin point for all billboards in this set.
Definition: OgreBillboardParticleRenderer.h:143
UnifiedHighLevelGpuProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Constructor, should be used only by factory classes.
Structure recording a queued submesh for the build.
Definition: OgreStaticGeometry.h:162
@ PF_BC4_SNORM
DDS (DirectDraw Surface) BC4 format (signed normalised)
Definition: OgrePixelFormat.h:212
ID3D11Buffer * vertexBufferVbo
Definition: OgreD3D11VaoManager.h:98
virtual void _setBindingType(TextureUnitState::BindingType bindigType)
Set texture unit binding type.
CompositorWorkspace * addWorkspace(SceneManager *sceneManager, RenderTarget *finalRenderTarget, Camera *defaultCam, IdString definitionName, bool bEnabled, int position=-1, const UavBufferPackedVec *uavBuffers=0, const ResourceLayoutMap *initialLayouts=0, const ResourceAccessMap *initialUavAccess=0, const Vector4 &vpOffsetScale=Vector4::ZERO, uint8 vpModifierMask=0x00, uint8 executionMask=0xFF)
Main function to start rendering.
IncludeOrExclude
Directive used to manually control technique support based on the inclusion or exclusion of some fact...
Definition: OgreTechnique.h:87
virtual OldNode * removeChild(const String &name)
Drops the named child from this OldNode.
Degree operator/(Real f) const
Definition: OgreMath.h:128
virtual void buildDiffList(uint16 level, const MemoryPoolVec &basePtrs, PtrdiffVec &outDiffsList)=0
Called when the manager needs to grow it's memory pool to honour more node requests.
const Vector4 & getCustomParameter(size_t index) const
Gets the custom value associated with this Renderable at the given index.
Definition: OgreRenderable.h:286
TransformsToTexture(float *RESTRICT_ALIAS dstPtr, size_t floatsPerEntity, size_t entitiesPerPadding, size_t widthFloatsPadding)
Definition: OgreInstanceBatchHW_VTF.h:70
@ ID_2D_ARRAY
Definition: OgreScriptCompiler.h:840
InstanceBatchIterator getInstanceBatchIterator(const String &materialName, SceneMemoryMgrTypes sceneType) const
Get non-updateable iterator over instance batches for given material.
map< LwConstString, const HlmsMacroblock * >::type macroblocks
Definition: OgreHlmsJson.h:75
ID3D11Buffer * mIndexBuffer
Definition: OgreD3D11VertexArrayObject.h:43
@ NO_INTERSECT
Definition: OgrePortalBase.h:164
FFPVertexShaderStage
Definition: OgreShaderFFPRenderState.h:44
IntersectionSceneQuery * createIntersectionQuery(uint32 mask)
Creates an IntersectionSceneQuery for this scene manager.
Listener * getListener(void) const
Gets the current listener for this object.
Definition: OgreMovableObject.h:536
uint32 getWidth() const
Get the width of this box.
Definition: OgreCommon.h:894
@ PF_R16G16B16A16_SNORM
64-bit pixel format, 16 bits red (signed normalised int), 16 bits blue (signed normalised int),...
Definition: OgrePixelFormat.h:244
HardwareUniformBuffer(HardwareBufferManagerBase *mgr, size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer=false, const String &name="")
Should be called by HardwareBufferManager.
GpuProgramType
Enumerates the types of programs which can run on the GPU.
Definition: OgreGpuProgram.h:49
static bool createPrefab(Mesh *mesh)
If the given mesh has a known prefab resource name (e.g "Prefab_Plane") then this prefab will be crea...
void addCodePointRange(const CodePointRange &range)
Adds a range of code points to the list of code point ranges to generate glyphs for,...
Definition: OgreFont.h:356
LinkedSkeletonAnimSourceIterator getLinkedSkeletonAnimationSourceIterator(void) const
Get an iterator over the linked skeletons used as animation sources.
Definition: OgreSceneFormatImporter.h:36
PlaneBoundedVolume getCameraToViewportBoxVolume(Real screenLeft, Real screenTop, Real screenRight, Real screenBottom, bool includeFarPlane=false)
Gets a world-space list of planes enclosing a volume based on a viewport rectangle.
void _setCurrentRenderStage(IlluminationRenderStage stage)
Definition: OgreSceneManager.h:3192
virtual void translate(const Vector3 &d, TransformSpace relativeTo=TS_PARENT)
Moves the OldNode along the Cartesian axes.
GLSLESProgramManagerCommon(void)
Definition: OgreOSXCocoaView.h:36
Definition: Vao/OgreGL3PlusVertexArrayObject.h:39
ShaderProgramWriterGLSLESFactory()
Definition: OgreShaderGLSLESProgramWriter.h:142
#define OGRE_OFFLINE_PROFILER_NAME_STR_LENGTH
Definition: OgreOfflineProfiler.h:13
void operator=(const AtomicScalar< T > &cousin)
Definition: OgreAtomicScalar.h:419
void startRendering(void)
Starts / restarts the automatic rendering cycle.
virtual VertexBufferBinding * createVertexBufferBinding(void)
Creates a new VertexBufferBinding.
SceneFlags
Definition: OgreSceneFormatBase.h:48
unsigned short uint16
Definition: OgrePlatform.h:451
bool isLocked(void) const
uint32 *RESTRICT_ALIAS visibilityMask
Copy from lights[i]->getVisibilityFlags(), this copy avoids one level of indirection.
Definition: OgreCommon.h:707
GeometryAllocatedObject EdgeDataAlloc
Definition: OgreMemoryAllocatorConfig.h:308
CategorisedAlignAllocPolicy< Ogre::MEMCATEGORY_SCENE_CONTROL > SceneCtlAlignPolicy
Definition: OgreMemoryAllocatorConfig.h:275
@ PFF_SIGNED
This integer format is signed.
Definition: OgrePixelFormat.h:388
RenderWindow * _initialise(bool autoCreateWindow, const String &windowTitle="OGRE Render Window")
Start up the renderer using the settings selected (Or the defaults if none have been selected).
virtual void execute(const Camera *lodCamera)
static CmdRedAdjust msRedCmd
Definition: OgreColourFaderAffector.h:133
KeyFrameRigVec & _getKeyFrames(void)
Definition: OgreSkeletonTrack.h:97
virtual const String & getType() const
const TextureAtlasTablePtr & getTextureAtlasTable(const String &textureName) const
Retrieve the texture atlas table information for a given texture.
AntiPortal(const String &name, const PORTAL_TYPE type=PORTAL_TYPE_QUAD)
static void Sleep(uint32 milliseconds)
Sleeps for a minimum of the specified time of milliseconds.
void doSet(void *target, const String &val)
@ SPC_TEXTURE_COORDINATE1
Definition: OgreShaderParameter.h:289
void setTexture(uint8 texUnit, TexturePtr &newTexture, const UvAtlasParams &atlasParams)
Sets a new texture for rendering.
ParallaxCorrectedCubemap(IdType id, Root *root, SceneManager *sceneManager, const CompositorWorkspaceDef *probeWorkspaceDef, uint8 reservedRqId, uint32 proxyVisibilityMask)
ValueType any_cast(const Any &operand)
Definition: OgreAny.h:401
int DefaultScreen(NativeDisplayType nativeDisplayType)
@ ID_SRC_DIFFUSE
Definition: OgreScriptCompiler.h:770
void setPaused(bool bPaused)
Pauses collection of samples.
@ VAT_NONE
No animation.
Definition: OgreAnimationTrack.h:592
PagedWorld * loadWorld(const String &filename, const String &name=BLANKSTRING)
Load a new PagedWorld from a file.
VertexBoneAssignment(uint32 _vertexIndex, uint16 _boneIndex, Real _weight)
Definition: OgreVertexBoneAssignment.h:69
uint32 getHeight(void) const
Gets the height of the image in pixels.
LodCollapserPtr collapser
Definition: OgreLodWorkQueueRequest.h:49
CompositorWorkspace * getWorkspace(void)
Returns our parent workspace.
Definition: OgreCompositorNode.h:342
void _process(LodConfig &lodConfig, LodCollapseCost *cost, LodData *data, LodInputProvider *input, LodOutputProvider *output, LodCollapser *collapser)
void reorganiseBuffers(VertexDeclaration *newDeclaration, const BufferUsageList &bufferUsage, HardwareBufferManagerBase *mgr=0)
Reorganises the data in the vertex buffers according to the new vertex declaration passed in.
T operator+=(const T &add)
Definition: OgreAtomicObject.h:101
void setMacroblock(const HlmsMacroblock ¯oblock, bool casterBlock=false)
Sets a new macroblock that matches the same parameter as the input.
Ogre::FloatRect UVRect
Definition: OgreFont.h:139
D3D11HardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, D3D11Device &device, bool useSystemMem, bool useShadowBuffer)
vector< UavBufferPacked * >::type UavBufferPackedVec
Definition: OgreCompositorManager2.h:50
OperandVector & getOperandList()
Get a list of parameters this function invocation will use in the function call as arguments.
Definition: OgreShaderFunctionAtom.h:204
@ PT_PLANE
Definition: OgreSceneManager.h:1461
bool isMatInitialised(void) const
Returns true if a material has been assigned to the submesh, otherwise returns false.
Real getValueImpl(const MovableObject *movableObject, const Camera *camera) const
bool operator==(const MapRange &rhs) const
comparison operator for equality
Definition: OgreIteratorRange.h:265
GLuint vertexBufferVbo
Definition: OgreGLES2VaoManager.h:100
virtual ~TerrainAutoUpdateLod()
Definition: OgreTerrainAutoUpdateLod.h:56
static void getBitDepths(PixelFormat format, int rgba[4])
Gives the number of bits (RGBA) for a format.
const Vector3 & getMaximum(void) const
Gets the maximum corner of the box.
Definition: OgreAxisAlignedBox.h:164
@ ID_TESSELLATION_HULL_PROGRAM_REF
Definition: OgreScriptCompiler.h:975
virtual bool postConversion(ScriptCompiler *compiler, const AbstractNodeListPtr &)
Allows vetoing of continued compilation after the entire AST conversion process finishes.
Real getFarClipDistance(void) const
Retrieves the distance from the frustum to the far clipping plane.
@ ACT_PSSM_FADE
PSSM fade point (pixel depth must be lower) in projection space.
Definition: OgreGpuProgramParams.h:1360
void doSet(void *target, const String &val)
virtual void destroyAnimationState(const String &name)
Destroys an AnimationState.
Atom mAtomState
Definition: OgreX11EGLSupport.h:162
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
virtual const Chunk * readChunkBegin()
Reads the start of the next chunk in the file.
virtual void _hlmsSamplerblockDestroyed(HlmsSamplerblock *block)
Definition: OgreRenderSystem.h:806
const String & getPageResourceGroup() const
Get the resource group that will be used to read/write files when the default load routines are used.
Definition: OgrePageManager.h:384
Definition: OgreComPtr.h:83
virtual ~OctreeZoneFactory()
Definition: OgreImageResampler.h:176
Definition: OgreHlmsBufferManager.h:56
void setRotationRangeEnd(const Radian &angle)
Sets the maximum rotation angle of particles to be emitted.
RenderTexture for GL FBO.
Definition: OgreGL3PlusFBORenderTexture.h:41
FastArray()
Definition: OgreFastArray.h:100
unsigned short ushort
Definition: OgrePrerequisites.h:129
Vector3 getViewSideVector() const
PORTAL_TYPE getType() const
Get the type of portal.
Definition: OgrePortalBase.h:110
@ OT_PATCH_16_CONTROL_POINT
Definition: OgreHlmsPso.h:75
void _setReverseBindPtr(const ArrayMatrixAf4x3 *ptr)
Definition: OgreBone.h:133
union _zzip_plugin_io zzip_plugin_io_handlers
Definition: OgreZip.h:41
size_t getMultiSourceId(void)
Definition: OgreVertexBufferPacked.h:119
virtual bool queryResult(SceneQuery::WorldFragment *fragment, Real distance)=0
Called when a world fragment is intersected by the ray.
virtual GL3PlusContext * clone() const =0
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
@ LBS_CURRENT
the colour as built up from previous stages
Definition: OgreBlendMode.h:115
virtual HlmsCache preparePassHash(const Ogre::CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager)
Called every frame by the Render Queue to cache the properties needed by this pass.
void setAnimatedTextureName(const String &name, unsigned int numFrames, Real duration=0)
Sets the names of the texture images for an animated texture.
ConstVectorIterator< AutoConstantList > AutoConstantIterator
Definition: OgreGpuProgramParams.h:1981
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Notifies the ultimate texture owner the buffer changed.
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
MapIterator< NormalsMap > NormalsIterator
An iterator over the vertex offsets.
Definition: OgrePose.h:78
void useDefaultDatablockFrom(HlmsTypes type)
Definition: OgreHlmsManager.h:274
const_reference back() const
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:341
virtual void advanceFrame(void)
VertexData * _getHardwareVertexAnimVertexData(void)
Advanced method to get the hardware morph vertex information.
RaySceneQuery * createRayQuery(const Ray &ray, uint32 mask)
Creates a RaySceneQuery for this scene manager.
size_t currentVertexCount()
Get the current count of vertices when building a new buffer.
static const IdString DetailOffsets2
Definition: OgreHlmsPbs.h:360
bool isInitialised(void)
Definition: OgreGL3PlusVertexArrayObject.h:50
Definition: OgreCompositorPassDef.h:142
unsigned short _rationaliseBoneAssignments(size_t vertexCount, VertexBoneAssignmentList &assignments)
Rationalises the passed in bone assignment list.
uint8 operationType
Definition: OgreCbDrawCall.h:92
virtual ~ArchiveManager()
Default destructor.
Vector3 transformAffine(const Vector3 &v) const
3-D Vector transformation specially for an affine matrix.
Definition: OgreMatrix4.h:684
virtual void removeAllElements(void)
Remove all elements.
@ ANT_OBJECT
Definition: OgreScriptCompiler.h:80
void exportMesh(const Mesh *pMesh, const String &filename, MeshVersion version, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the file specified, in a specific version format.
Interface definition for factories of HighLevelGpuProgram.
Definition: OgreHighLevelGpuProgramManager.h:47
@ SPC_POSTOCAMERA_WORLD_SPACE
View vector in world space.
Definition: OgreShaderParameter.h:118
virtual void setName(const String &newName)
Sets the name of the emitter.
virtual void _setTextureProjectionRelativeTo(bool enabled, const Vector3 &pos)
Notify the rendersystem that it should adjust texture projection to be relative to a different origin...
PCZ implementation of RaySceneQuery.
Definition: OgrePCZSceneQuery.h:76
virtual const AxisAlignedBox & getBoundingBox(void) const
Overridden: Retrieves the local axis-aligned bounding box for this object.
virtual void destroyAllContentCollections()
Destroy all PageContentCollections within this page.
virtual ~GL3PlusRenderToVertexBuffer()
@ SHADOWMAP_FOCUSED
Definition: OgreCompositorShadowNodeDef.h:51
bool isHardwareFilteringSupported(TextureType ttype, PixelFormat format, int usage, bool preciseFormatOnly=false)
Returns whether this render system has hardware filtering supported for the texture format requested ...
bool isClosed(void) const
Indicates whether the window has been closed by the user.
static CommandBufferExecuteFunc execute_drawV1StripNoBaseInstance
Definition: OgreCommandBuffer.h:95
Real getLength(void) const
Gets the total length of the animation.
virtual void setSource(const String &source, const String &debugFilename)
Sets the source assembly for this program from an in-memory string, while providing a path to a file,...
virtual bool isReadOnly() const
Reports whether this Archive is read-only, or whether the contents can be updated.
Definition: OgreArchive.h:132
@ ID_GREATER
Definition: OgreScriptCompiler.h:680
virtual void _destroyDepthBuffer(DepthBuffer *depthBuffer)
void extractFrom(const VertexData *sourceData)
Utility method, extract info from the given VertexData.
@ RSC_TEXTURE_COMPRESSION_VTC
Supports compressed textures in the VTC format.
Definition: OgreRenderSystemCapabilities.h:140
TempBlendedBufferInfo * _getSkelAnimTempBufferInfo(void)
Advanced method to get the temp buffer information for software skeletal animation.
D3D11VaoManager(bool supportsIndirectBuffers, D3D11Device &device, D3D11RenderSystem *renderSystem)
void makeFloor(const ArrayVector3 &cmp)
Sets this vector's components to the minimum of its own and the ones of the passed in vector.
virtual bool hasInstanceManager(IdString managerName) const
Returns whether an InstanceManager with the given name exists.
static const IdString DetailOffsetsN3
Definition: OgreHlmsPbsMobile.h:135
String doGet(const void *target) const
@ DomainShader
Definition: OgreCommon.h:368
VertexElementSemantic semantic
Definition: OgreVertexArrayObject.h:185
TextureLocation createOrRetrieveTexture(const String &aliasName, const String &texName, TextureMapType mapType, uint32 uniqueSpecialId=0, Image *imgSource=0)
See other overload.
void setIndexOfRefraction(const Vector3 &refractionIdx, bool separateFresnel)
Calculates fresnel (F0 in most books) based on the IOR.
static const IdString UvCount7
Definition: OgreHlms.h:797
PixelFormat getNativeFormat(TextureType ttype, PixelFormat format, int usage)
Gets the format which will be natively used for a requested format given the constraints of the curre...
void doSet(void *target, const String &val)
@ PT_ORTHOGRAPHIC
Definition: OgreFrustum.h:64
~EntityFactory()
Definition: OgreEntity.h:745
struct _OgreVolumeExport Ogre::Volume::DualCell DualCell
To store the generated dual cells in a vector.
Definition: OgreRenderTarget.h:78
@ StableSort
Definition: OgreRenderQueue.h:115
void enable(bool yesno)
Definition: OgrePCZSceneNode.h:117
Definition: OgreAndroidEGLSupport.h:36
void reset(bool deleteAll)
Clears the profiler statistics.
virtual void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
void _updateRenderQueue(RenderQueue *queue)
Definition: OgrePortalBase.h:199
@ PBSM_BLEND_OVERLAY
Definition: OgreHlmsPbsPrerequisites.h:88
void setPosition(const Vector3 &position)
Set the position of the billboard.
@ ACT_LIGHT_DIRECTION
A light direction in world space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1046
virtual SceneQueryResult & getLastResults(void) const
Gets the results of the last query that was run using this object, provided the query was executed us...
@ LF_INCLUDE_NON_RELOADABLE
Process non-reloadable resources too.
Definition: OgreResource.h:137
virtual ~MaterialBucket()
HlmsTextureManager::TextureMapType suggestMapTypeBasedOnTextureType(PbsTextureTypes type)
Suggests the TextureMapType (aka texture category) for each type of texture (i.e.
bool registerProgramFactory(const String &syntaxCode, CreateGpuProgramCallback createFn)
void _genMipmaps(IDirect3DBaseTexture9 *mipTex)
Internal function to update mipmaps on update of level 0.
const String & getType(void) const
Get the type of the object to be created.
virtual void getFormatsForPso(PixelFormat outFormats[OGRE_MAX_MULTIPLE_RENDER_TARGETS], bool outHwGamma[OGRE_MAX_MULTIPLE_RENDER_TARGETS]) const
Real * mUpperDistance[2]
Upper distance to still render. Ours is mUpperDistance[mIndex].
Definition: OgreObjectData.h:85
@ ACT_PSSM_BLENDS
Array of PSSM blend points (pixel depth must be lower) in projection space.
Definition: OgreGpuProgramParams.h:1355
ControllerValue wrapper class for AnimationState.
Definition: OgreAnimationState.h:276
static void shutdown(void)
Shutdown & destroy the vertex programs.
uint8 padding0[3]
Definition: OgreHlmsPso.h:120
virtual void waitForSpecificFrameToFinish(uint32 frameCount)
See VaoManager::waitForSpecificFrameToFinish.
void removeAllEmitters(void)
Removes all the emitters from this system.
General purpose response structure.
Definition: OgreWorkQueue.h:124
virtual void setUavStartingSlot(uint32 startingSlot)
In Direct3D11, UAV & RenderTargets share the same slots.
void getCameraToViewportRay(Real screenx, Real screeny, Ray *outRay) const
Gets a world space ray as cast from the camera through a viewport position.
void resetShadowFarDistance(void)
Tells the light to use the shadow far distance of the SceneManager.
void setIndexBufferPolicy(BufferType bufferType, bool shadowBuffer=false)
Sets the policy for the index buffers to be used when loading this Mesh.
HighLevelGpuProgram * create(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader)
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
static const char * EnvProbeMap
Definition: OgreHlmsPbs.h:329
Definition: OgreHlmsCommon.h:49
void setConstant(size_t index, const int *val, size_t count)
Sets a multiple value constant integer parameter to the program.
bool isCurrentShadowNodeReused(void) const
Definition: OgreSceneManager.h:2828
@ ACT_LIGHT_POSITION_OBJECT_SPACE_ARRAY
Array of light positions in object space (count set by extra param)
Definition: OgreGpuProgramParams.h:1075
void destroyRenderTarget(const String &name)
Destroys a render target of any sort.
MeshSerializerListener * getListener()
Gets the listener used to control mesh loading through the serializer.
static LogManager & getSingleton(void)
Override standard Singleton retrieval.
OperationType operationType
The render operation type used to render this submesh.
Definition: OgreSubMesh.h:78
static ParameterPtr createInColor(int index)
const String & getMovableType() const
@ INDEX_BUFFER
Definition: OgreD3D11HardwareBuffer.h:46
BufferPacked * bufferPacked
Definition: OgreCbShaderBuffer.h:40
void execute(SceneQueryListener *listener)
See RaySceneQuery.
@ LML_NORMAL
Definition: OgreLog.h:69
void _clearStateAndFlushCommandBuffer(void)
const CameraList & getCameras() const
Returns a const version of the camera list.
Definition: OgreSceneManager.h:2695
const ShaderParameterList & getLocalParameters() const
Return a list of local parameters.
Definition: OgreShaderFunction.h:140
String getName(const HlmsMacroblock *macroblock) const
void doSet(void *target, const String &val)
virtual_l2 void _setDerivedPosition(const Vector3 &pos)
Sets the final world position of the node directly.
vector< CubemapProbe * >::type CubemapProbeVec
Definition: OgreParallaxCorrectedCubemap.h:42
IDirect3DSurface9 * getDepthBuffer(D3D9RenderWindow *renderWindow)
void setInheritOrientation(bool inherit)
Tells the Bone whether it should inherit orientation from it's parent node.
SceneManager(const String &instanceName, size_t numWorkerThreads, InstancingThreadedCullingMethod threadedCullingMethod)
Constructor.
virtual unsigned short getNumBones(void) const
Returns the number of bones in this skeleton.
int getLumpSize(int lumpType)
Real getWeight(void) const
Gets the weight (influence) of this animation.
pointer data()
data - Return a pointer to the vector's buffer, even if empty().
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:307
virtual void read(Sphere *sphere, size_t count=1)
void destroyContentCollection(PageContentCollection *coll)
Destroy an instance of PageContentCollection.
bool isIndexBufferShadowed(void) const
Gets whether or not this meshes index buffers are shadowed.
Definition: OgreMesh2.h:398
virtual void write(const Vector2 *vec, size_t count=1)
static Real RadiansToAngleUnits(Real radians)
Convert from radians to the current AngleUnit .
void _writeRawConstant(size_t physicalIndex, int val)
Write a single integer parameter to the program.
static ArrayMaskR getMask(bool booleans[4])
vector< char * >::type MemoryPoolVec
Definition: OgreArrayMemoryManager.h:37
NodeMemoryManager * getTwin() const
Note the return value can be null.
Definition: OgreNodeMemoryManager.h:87
static const IdString HighQuality
Definition: OgreHlms.h:866
void addConfig(void)
Add any special config values to the system.
virtual ~KeyFrame()
Definition: OgreKeyFrame.h:65
static const IdString DiffuseMapCount8
Definition: OgreHlmsUnlitMobile.h:116
void removeWorkspace(CompositorWorkspace *workspace)
Removes the given workspace. Pointer is no longer valid after this call.
void _applyBaseKeyFrame()
Internal method to adjust keyframes relative to a base keyframe (.
Quaternion orientation
Definition: OgreStaticGeometry.h:168
size_t numBonesInLevel
Definition: OgreSkeletonDef.h:75
virtual void handleError(ScriptCompiler *compiler, uint32 code, const String &file, int line, const String &msg)
Called when an error occurred.
RenderSystem()
Default Constructor.
@ PF_ETC2_RGB8A1
ETC2 (Ericsson Texture Compression)
Definition: OgrePixelFormat.h:252
KeyFrame * _clone(AnimationTrack *newParent) const
Clone a keyframe (internal use only)
Plugin instance for GL ES 2 Manager.
Definition: OgreGLES2Plugin.h:39
Sphere(const Vector3 ¢er, Real radius)
Constructor allowing arbitrary spheres.
Definition: OgreSphere.h:62
void setCreateShaderOverProgrammablePass(bool value)
Sets whether shaders are created for passes with shaders.
Definition: OgreShaderGenerator.h:482
MeshSerializerImpl_v2_1_R0(VaoManager *vaoManager)
virtual uint32 fillBuffersForV1(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
list< BySkeletonDef >::type BySkeletonDefList
Definition: OgreSkeletonAnimManager.h:104
void setCurrentHomeZone(PCZone *zone)
Set the current home zone of the portal.
std::pair< bool, Real > intersects(const Plane &p) const
Tests whether this ray intersects the given plane.
Definition: OgreRay.h:81
virtual Real getDefaultHeight(void) const
See setDefaultDimensions - this gets 1 component individually.
void setVertexBufferPolicy(HardwareBuffer::Usage usage, bool shadowBuffer=false)
Sets the policy for the vertex buffers to be used when loading this Mesh.
D3D11Driver * item(size_t index)
does not include hidden drivers like NVPerfHUD
@ VAT_MORPH
Morph animation is made up of many interpolated snapshot keyframes.
Definition: OgreAnimationTrack.h:594
Ogre assumes that there are separate vertex and fragment programs to deal with but GLSL ES has one pr...
Definition: OgreGLSLESProgramPipelineManager.h:54
@ BBT_ORIENTED_SELF
Billboards are oriented around their own direction vector (their own Y axis) and only rotate around t...
Definition: OgreBillboardSet.h:84
void addFactory(HighLevelGpuProgramFactory *factory)
Add a new factory object for high-level programs of a given language.
bool exists(const String &filename)
Find out if the named file exists (note: fully qualified filename required)
static String getName(const HlmsSamplerblock *samplerblock)
void _setDepthBias(float constantBias, float slopeScaleBias)
See RenderSystem.
RenderWindow * _initialise(bool autoCreateWindow, const String &windowTitle="OGRE Render Window")
See RenderSystem.
void setEmissiveTexture(const TexturePtr &emissiveTex, uint16 emissiveIdx)
void _notifyStagingBufferEnteredZeroRef(StagingBuffer *stagingBuffer)
void setVertexProgramConstantFloatCount(ushort c)
The number of floating-point constants vertex programs support.
Definition: OgreRenderSystemCapabilities.h:685
virtual ~ResourceBackgroundQueue()
size_t vertexCount
Definition: OgreLodBuffer.h:50
static const IdString NormalWeightDetail3
Definition: OgreHlmsPbs.h:355
GL3PlusAsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)
virtual void startup(bool forceRestart=true)
Start up the queue with the options that have been set.
void setGeometryProgramConstantIntCount(ushort c)
The number of integer constants geometry programs support.
Definition: OgreRenderSystemCapabilities.h:705
GLSLShader * vertexShader
Definition: OgreGL3PlusHlmsPso.h:63
DepthLevelInfo()
Definition: OgreSkeletonDef.h:76
Codec specialized in loading PVRTC (PowerVR) images.
Definition: OgrePVRTCCodec.h:47
static SkeletonManager * getSingletonPtr(void)
Override standard Singleton retrieval.
SubRenderStateAccessorPtr getAccessor() const
Return the accessor object to this sub render state.
void setHidden(bool hidden)
RenderWindow::setHidden
static TerrainGlobalOptions & getSingleton(void)
Override standard Singleton retrieval.
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
void _makeProjectionMatrix(const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)
See RenderSystem.
uint32 firstVertexIndex
Definition: OgreCbDrawCall.h:46
void removeEffect(const TextureEffectType type)
Removes a single effect applied to this texture layer.
@ SPC_POSTOLIGHT_OBJECT_SPACE2
Definition: OgreShaderParameter.h:129
uint32 getWidth() const
Gets the width of this buffer.
Definition: OgreHardwarePixelBuffer.h:189
void * getDataPtr(size_t offset) const
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:92
void _notifyMoved()
Called when scene node moved.
Definition: OgrePortalBase.h:207
void swapBuffers()
Swaps the frame buffers to display the next frame.
PCZone * getCurrentHomeZone()
Get the Zone the Portal is currently "in".
Definition: OgrePortalBase.h:115
virtual void setUseAccurateFacing(bool acc)
Sets whether or not billboards should use an 'accurate' facing model based on the vector from each bi...
Definition: OgreBillboardSet.h:686
@ PF_BC6H_UF16
DDS (DirectDraw Surface) BC6H format (unsigned 16 bit float)
Definition: OgrePixelFormat.h:218
const BspNode * getRootNode(void)
Returns a pointer to the root node (BspNode) of the BSP tree.
void merge(const AxisAlignedBox &rhs)
Merges the passed in box into the current box.
Definition: OgreAxisAlignedBox.h:378
virtual void setDesiredFloatBitDepth(ushort bits)
Sets desired bit depth for float pixel format textures.
void doSet(void *target, const String &val)
@ ENDIAN_BIG
Use big endian (0x1000 is serialised as 0x10 0x00)
Definition: OgreSerializer.h:65
pointer allocate(size_type count, typename std::allocator< void >::const_pointer ptr=0)
memory allocation (elements, used by STL)
Definition: OgreMemorySTLAllocator.h:125
T * addCommand(void)
Creates/Records a command already casted to the typename.
Definition: OgreCommandBuffer.h:106
Real animFps
Definition: OgreQuake3Shader.h:95
Simple type to indicate a flush of the stream to the log.
Definition: OgreLog.h:213
LPD3DXBUFFER getMicroCode()
IdString mCameraName
Definition: OgreCompositorPassComputeDef.h:111
EdgeData * getEdgeList(void)
Overridden from MovableObject.
virtual size_t calculateMaxNumInstances(const SubMesh *baseSubMesh, uint16 flags) const =0
Some techniques have a limit on how many instances can be done.
AnimationStateSet * getAllAnimationStates(void) const
For entities based on animated meshes, gets the AnimationState objects for all animations.
void addMovableObjectFactory(MovableObjectFactory *fact, bool overrideExisting=false)
Register a new MovableObjectFactory which will create new MovableObject instances of a particular typ...
@ PCT_SHORT
Byte per component (8 bit fixed 0.0..1.0)
Definition: OgrePixelFormat.h:395
Handles the management of mesh resources.
Definition: OgreMeshManager2.h:55
PCZone * mAssociatedZone
Definition: OgrePCZone.h:305
T ** GetAddressOf() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:207
Texture * texture
Definition: OgreCbTexture.h:39
@ ID_DEPTH_VALUE
Definition: OgreScriptCompiler.h:904
virtual ConfigOptionMap & getConfigOptions(void)=0
Returns the details of this API's configuration options.
GLuint getGLProgramPipelineHandle() const
GL Program Pipeline Handle.
Definition: OgreGLSLESProgramPipeline.h:78
static OrientationMode getDefaultOrientationMode()
Get the initial orientation mode of viewports.
@ SPC_POSTOLIGHT_TANGENT_SPACE4
Definition: OgreShaderParameter.h:161
virtual void abortPendingRequestsByChannel(uint16 channel)=0
Abort all previously issued requests in a given channel.
Real lastTransitionDist
The most recently calculated transition distance.
Definition: OgreTerrainQuadTreeNode.h:144
FastArray< Real > LodValueArray
Definition: OgreMesh2.h:92
uint32 getTexBufferAlignment(void) const
Definition: OgreVaoManager.h:360
static size_t RESOURCE_SYSTEM_NUM_REFERENCE_COUNTS
The number of reference counts held per resource by the resource system.
Definition: OgreResourceGroupManager.h:272
virtual void _renderNoBaseInstance(const v1::CbDrawCallIndexed *cmd)
void setVisibilityFlags(uint32 flags)
Set the visibility flags for this terrain.
Definition: OgreTerrain.h:1359
virtual void _hlmsPipelineStateObjectDestroyed(HlmsPso *pso)
virtual void regressFrame(void)
GLES2Context * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
PCZone * getZoneByName(const String &zoneName)
Get a zone by name.
static const IdString TransparentMode
Definition: OgreHlmsPbs.h:343
const Ogre::String getConfigFilePath(Ogre::String filename) const
Search for the given config file in the user's home path.
Definition: OgreFileSystemLayer.h:74
virtual const String & getType() const
Degree(Real d=0)
Definition: OgreMath.h:105
A sampler block contains settings that go hand in hand with a texture, and thus are common to many te...
Definition: OgreGLES2HlmsSamplerblock.h:49
bool operator==(const UnlitBakedTexture &_r) const
Definition: OgreHlmsUnlitDatablock.h:56
void setSelfIllumination(Real red, Real green, Real blue)
Sets the amount of self-illumination an object has.
NOTE FOR D3D12 PORTING: The GL3Plus implementation should be used as reference, since it is much lowe...
Definition: OgreD3D11StagingBuffer.h:49
Command object for setting compilation arguments.
Definition: OgreCgProgram.h:64
Definition: OgreWin32EGLContext.h:38
SendAllAnimatedTransformsToTexture(float *RESTRICT_ALIAS dstPtr, size_t floatsPerEntity, size_t entitiesPerPadding, size_t widthFloatsPadding, const Mesh::IndexMap *indexMap)
Definition: OgreInstanceBatchHW_VTF.h:96
virtual void bindBufferHS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
void _determineAnimationTypes(void) const
Internal method which, if animation types have not been determined, scans any vertex animations and d...
virtual bool getWorkersCanAccessRenderSystem() const
Get whether worker threads will be allowed to access render system resources.
int(* XErrorHandler)(Display *, XErrorEvent *)
Definition: OgreX11EGLSupport.h:119
Definition: OgreX11EGLSupport.h:79
virtual SceneNode * getSkyDomeNode(void) const
Get the sky dome node, if enabled.
Definition: OgreSceneManager.h:2397
bool isInitialised(void)
Definition: OgreGLES2VertexArrayObject.h:50
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
Definition: OgreNULLRenderWindow.h:52
void setMaxClampedAbsoluteDensity(Real maxClampedAbsoluteDensity)
Sets the maximum absolute density value to be written into the data when combining,...
void _markBuffersUsedForAnimation(void)
Mark all vertex data as animated.
@ TS_LOCAL
Transform is relative to the local space.
Definition: OgreOldNode.h:72
virtual_l1 void tangent(const Vector3 &tan)
Add a vertex tangent to the current vertex.
D3D11RenderWindowBase(D3D11Device &device)
size_t write(const void *buf, size_t count)
Write the requisite number of bytes from the stream (only applicable to streams that are not read-onl...
void setInheritParentEntityScale(bool inherit)
Tells the TagPoint whether it should inherit scaling factors from it's parent entity.
map< unsigned short, OldNodeAnimationTrack * >::type OldNodeTrackList
Definition: OgreAnimation.h:400
PbsTextureTypes
Definition: OgreHlmsPbsPrerequisites.h:56
GLuint getShaderID(void) const
Get the OGRE assigned shader ID.
Definition: OgreGLSLShader.h:210
void setBoneMatrixLookup(bool enable, size_t maxLookupTableInstances)
Sets the state of the usage of bone matrix lookup.
Definition: OgreInstanceBatchVTF.h:173
GLuint getGLBufferId(void) const
Definition: OgreGLES2HardwareIndexBuffer.h:79
GLint getGLBufferBinding(void) const
Definition: OgreGL3PlusHardwareShaderStorageBuffer.h:69
Abstract class defining the interface to be implemented by particle affectors.
Definition: OgreParticleAffector.h:65
Handles the WorkQueue management of the chunks.
Definition: OgreVolumeChunkHandler.h:90
void build(bool parentVisible)
Build this region.
bool createShaderBasedTechnique(const String &materialName, const String &groupName, const String &srcTechniqueSchemeName, const String &dstTechniqueSchemeName, bool overProgrammable=false)
Create shader based technique from a given technique.
bool isAttributeValid(VertexElementSemantic semantic, uint index)
Is a non-standard attribute bound in the linked code?
ArrayMemoryManager(size_t const *elementsMemSize, CleanupRoutines const *initRoutines, CleanupRoutines const *cleanupRoutines, size_t numElementsSize, uint16 depthLevel, size_t hintMaxNodes, size_t cleanupThreshold=100, size_t maxHardLimit=MAX_MEMORY_SLOTS, RebaseListener *rebaseListener=0)
Constructor.
void removeTranslatorManager(ScriptTranslatorManager *man)
Removes the given translator manager from the list of managers.
SharedPtr< Mesh > MeshPtr
Definition: OgrePrerequisites.h:416
ShadowFilter getShadowFilter(void) const
Definition: OgreHlmsPbs.h:257
@ VertexShader
Definition: OgreCommon.h:364
Vector3 dst
Definition: OgreLodConfig.h:41
bool isInitialized(void) const
virtual bool getDualGridVisible(void) const
Gets whether the debug visualization entity of the dualgrid is visible.
bool unregisterProgramFactory(const String &syntaxCode)
const Vector3 getCorner4(void) const
Gets the coordinate of corner 4.
Definition: OgreVolumeOctreeNode.h:481
FFPTexturing()
Class default constructor.
virtual Camera * createCamera(const String &name, bool notShadowCaster=true, bool forCubemapping=false)
Creates a camera to be managed by this scene manager.
static const IdString DisableStage
Definition: OgreHlms.h:869
void setAutoUpdate(bool autoUpdate)
Set the auto update state of this billboard set.
virtual AxisAlignedBoxSceneQuery * createAABBQuery(const AxisAlignedBox &box, uint32 mask=QUERY_ENTITY_DEFAULT_MASK)
Creates an AxisAlignedBoxSceneQuery for this scene manager.
void updateAllAnimations()
Updates all skeletal animations in the scene.
GL3PlusUavBufferPacked(size_t internalBufStartBytes, size_t numElements, uint32 bytesPerElement, uint32 bindFlags, void *initialData, bool keepAsShadow, VaoManager *vaoManager, GL3PlusBufferInterface *bufferInterface)
uint32 firstVertexIndex
Definition: OgreCbDrawCall.h:108
bool getAutoBuildEdgeLists(void) const
Sets whether or not this Mesh should automatically build edge lists when asked for them,...
Definition: OgreMesh.h:926
Real getShadowFarDistanceSquared(void) const
IndexBufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface)
Definition: OgreIndexBufferPacked.h:45
void setListener(HlmsListener *listener)
Sets a listener to extend an existing Hlms implementation's with custom code, without having to rewri...
TargetMode getTargetMode(void) const
Get the target mode.
Definition: OgreAnimationTrack.h:667
void destroyLog(Log *log)
Closes and removes a log.
DepthBuffer * _createDepthBufferFor(RenderTarget *renderTarget, bool exactMatchFormat)
Creates a DepthBuffer that can be attached to the specified RenderTarget.
virtual bool projectSphere(const Sphere &sphere, Real *left, Real *top, Real *right, Real *bottom) const
Project a sphere onto the near plane and get the bounding rectangle.
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, uint32 lastTextureHash)
Fills the constant buffers.
TriangleList triangles
Main triangles array, stores all triangles of this edge list.
Definition: OgreEdgeListBuilder.h:126
virtual bool getUseTextureCoords(void) const
Gets whether texture coordinate information should be included in the final buffers generated.
Definition: OgreBillboardChain.h:149
void _disableAnimation(SkeletonAnimation *animation)
Internal use. Disables given animation. Input should belong to us and already being animated.
virtual void destroyInstancedEntity(v1::InstancedEntity *instancedEntity)
Removes an InstancedEntity,.
void baseVertexPointerToElement(void *pBase, void **pElem) const
Adjusts a pointer to the base of a vertex to point at this element.
Definition: OgreHardwareVertexBuffer.h:197
const PassIterator getPassIterator(void)
Gets an iterator over the passes in this Technique.
RaySceneQuery * createRayQuery(const Ray &ray, uint32 mask=0xFFFFFFFF)
Creates a RaySceneQuery for this scene manager.
bool equal(const iterator_range &other) const
comparison for equality
Definition: OgreIteratorRange.h:93
void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
size_t tell(void) const
Returns the current byte offset from beginning.
const CompositorManager2 * getCompositorManager() const
Gets the compositor manager (const version)
void _prepareForShadowMapping(bool forceSameBuffers)
virtual void setPolygonModeOverrideable(bool override)
Sets whether this pass's chosen detail level can be overridden (downgraded) by the camera setting.
Definition: OgrePass.h:594
void setMetalness(float metalness)
Sets the metalness in a metallic workflow.
bool isVSyncEnabled() const
Indicates whether vertical sync is activated for the window.
void destroyInstance(Archive *arch)
Destroys an object which was created by this factory.
Definition: OgreAPKFileSystemArchive.h:96
virtual ~GLES2RenderToVertexBuffer()
D'tor.
void setShadowMapSupportedLightTypes(uint8 types)
Definition: OgreCompositorPassDef.h:221
virtual void destroyCamera(Camera *cam)
Removes a camera from the scene.
void setIterationInterval(Real iterationInterval)
Sets a 'iteration interval' on this particle system.
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgreOldNode.h:738
D3D11StereoDriverImpl()
Definition: OgreD3D11StereoDriverImpl.h:44
FilterOptions
Filtering options for textures / mipmaps.
Definition: OgreCommon.h:236
void load(const DataStreamPtr &stream, const String &separators="\t:=", bool trimWhitespace=true)
load from a data stream
virtual void writeSourceCode(std::ostream &os, const String &targetLanguage) const =0
Abstract method that writes a source code to the given output stream in the target shader language.
ArrayQuaternion Exp(void) const
@ ID_UV
Definition: OgreScriptCompiler.h:959
bool resourceExists(const String &group, const String &filename)
Find out if the named file exists in a group.
virtual String getType() const
Returns the type of the codec as a String.
ushort getNumTextureUnits(void) const
Returns the number of texture units the current output hardware supports.
Definition: OgreRenderSystemCapabilities.h:522
@ LT_POINT
Point light sources give off light equally in all directions, so require only position not direction.
Definition: OgreLight.h:86
uint8 atlasId
What texture atlas to use.
Definition: OgreCompositorShadowNode.h:367
@ ID_TESSELLATION_HULL_PROGRAM
Suport for shader model 5.0.
Definition: OgreScriptCompiler.h:972
void unnameSubMesh(const String &name)
Removes a name from a SubMesh.
virtual Real getRSDepthRange(void) const
OpenGL depth is in range [-1;1] so it returns 2.0f; D3D11 & Metal are in range [0;1] so it returns 1....
Definition: OgreGLES2TexBufferEmulatedPacked.h:40
SharedPtr< GL3PlusTexture > GL3PlusTexturePtr
Definition: OgreGL3PlusPrerequisites.h:59
DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
int getHighestLodLoaded() const
Definition: OgreTerrain.h:1897
@ SPC_LIGHTPOSITION_TANGENT_SPACE
Light position in tangent space index 0-7.
Definition: OgreShaderParameter.h:237
bool hasIndependentShadowMappingVaos(void) const
Returns true if the shadow mapping buffers do not just reference the real buffers,...
virtual ~D3D11RenderTexture()
virtual ~RenderSystemCapabilities()
@ ACT_TIME_0_2PI
Single float value, which represents scaled time value [0..2*Pi], which repeats itself based on given...
Definition: OgreGpuProgramParams.h:1203
virtual unsigned short getNumAnimations(void) const =0
Gets the number of animations in this container.
void start(void)
Start anything special.
Utility class which defines the sub-parts of an Item.
Definition: OgreSubItem.h:63
Definition: OgreConstBufferPool.h:144
SharedPtr & operator=(const SharedPtr< Y > &r)
Definition: OgreSharedPtr.h:225
void uninstall()
Perform the final plugin uninstallation sequence.
static const IdString DiffuseMapCount14
Definition: OgreHlmsUnlitMobile.h:122
static D3DXMATRIX makeD3DXMatrix(const Matrix4 &mat)
void updatePoint(unsigned short index, const Quaternion &value)
Updates a single point in the spline.
BuildLightListRequest(size_t _startLightIdx)
Definition: OgreSceneManager.h:246
void destroyRenderWindow(RenderWindow *pWin)
See RenderSystem.
ColourValue mColour
Definition: OgreBillboard.h:86
virtual void define(TerrainGroup *terrainGroup, long x, long y)
Definition: OgreTerrainPagedWorldSection.h:161
static const IdString IdentityViewProj
Definition: OgreHlms.h:785
@ HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE
Combination of HBU_DYNAMIC, HBU_WRITE_ONLY and HBU_DISCARDABLE.
Definition: OgreHardwareBuffer.h:117
virtual ~ControllerFunction()
Definition: OgreController.h:95
virtual void beginProfileEvent(const String &eventName)
This marks the beginning of an event for GPU profiling.
NotPointerAtom * Atom
Definition: OgreX11EGLSupport.h:76
size_t offsetAfterPadding
Definition: OgreGL3PlusVaoManager.h:59
void swapBuffers()
Override needed to deal with FSAA.
Real mTotalTimeToLive
Total Time to live, number of seconds of particles natural life.
Definition: OgreParticle.h:96
virtual void destroyData(PageStrategyData *d)=0
Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
static const IdString DetailOffsetsN
Definition: OgreHlmsPbsMobile.h:131
Slot for a terrain instance, together with its definition.
Definition: OgreTerrainGroup.h:324
TContainer::iterator ContainerIter
Definition: OgreRadixSort.h:91
bool isEmpty() const
Definition: OgreAny.h:113
OctreeCamera::Visibility getVisibility(const AxisAlignedBox &bound)
Returns the visibility of the box.
virtual BoneIterator getBoneIterator(void)
Get an iterator over all the bones in the skeleton.
Transform & _getTransform()
Returns a direct access to the Transform state.
Definition: OgreNode.h:254
HlmsCache()
Definition: OgreHlmsCommon.h:190
void nodeDettached(BoneTransform &outTransform, size_t depth)
Releases current memory and requests memory from the root level.
void setAutoCalculate(bool autoCalc)
Tells the spline whether it should automatically calculate tangents on demand as points are added.
Stream(Log *target, LogMessageLevel lml, bool maskDebug)
Definition: OgreLog.h:215
~DefaultHardwareVertexBuffer()
@ FOG_EXP2
Fog density increases at the square of FOG_EXP, i.e. even quicker (fog = 1/e^(distance * density)^2)
Definition: OgreCommon.h:263
Vertex cache profiler.
Definition: OgreVertexIndexData.h:331
uint8 getRenderQueueGroup(void) const
Get the render queue group that this terrain will be rendered into.
Definition: OgreTerrain.h:1348
@ SCENE_DYNAMIC
Definition: OgreCommon.h:446
const ColourValue & getLightSpecularColour(size_t index) const
Implementation to create the ObjectData variables needed by MovableObjects.
Definition: OgreArrayMemoryManager.h:353
void setDecalsNormals(const TexturePtr &tex)
Sets the decal texture normal maps.
Definition: OgreSceneManager.h:1367
void removeAllExtraCullingPlanes(void)
Remove all extra culling planes.
ImageDownsampler2D downscale2x_Signed_X8
Definition: OgreImageDownsampler.h:114
virtual void addConfig()=0
Add any special config values to the system.
void _applyObliqueDepthProjection(Matrix4 &matrix, const Plane &plane, bool forGpuProgram)
Update a perspective projection matrix to use 'oblique depth projection'.
void destroyAntiPortal(AntiPortal *p)
Delete a anti portal instance by pointer.
Definition: OgreHlmsTexturePack.h:50
Definition: OgreGLXWindow.h:40
virtual void applyDeltaValue(int)
Apply delta value.
Definition: OgreAnimable.h:190
bool operator<(const HlmsPassPso &_r) const
Definition: OgreHlmsPso.h:131
static ThreadHandlePtr CreateThread(THREAD_ENTRY_POINT entryPoint, size_t threadIdx, void *param)
Creates and executes a new thread.
void loadImage(const String &filename, const String &groupName)
Load an image into this blend layer.
virtual const Quaternion & getOrientation() const
Returns a quaternion representing the OldNodes orientation.
vector< SceneNode * >::type NodeList
Definition: OgrePCZone.h:74
@ SpecularWorkflow
Specular workflow.
Definition: OgreHlmsPbsDatablock.h:210
void moveNext()
Moves the iterator on one element.
Definition: OgreIteratorWrapper.h:104
bool isValid(void) const
Only valid workspaces can update without crashing.
Definition: OgreCompositorWorkspace.h:167
virtual const Chunk * getCurrentChunk() const
Get the definition of the current chunk being read (if any).
virtual void flushUAVs(void)
Forces to take effect all the queued UAV binding requests.
@ NumShaderTypes
Definition: OgreCommon.h:369
bool isPoseAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform pose animation.
virtual void resourceLoadEnded(void)=0
This event is fired when the resource has been loaded.
static const Matrix3 ZERO
Definition: OgreMatrix3.h:267
virtual void endProfileEvent(void)
Ends the currently active GPU profiling event.
void setPointSize(Real ps)
Sets the point size properties for every Pass in this Technique.
D3D11DepthTexture(bool shareableDepthBuffer, ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, D3D11Device &device)
constructor
static D3DSAMPLERSTATETYPE get(FilterType ft)
return a D3D9 state type for Ogre FilterType value
static void WaitForThreads(const ThreadHandleVec &threadHandles)
virtual bool resourceExists(ResourceHandle handle)
Returns whether a resource with the given handle exists in this manager.
Definition: OgreResourceManager.h:386
virtual Real getRandomUnit()=0
When called should return a random values in the range of [0,1].
@ D3D_TEX_TYPE_NORMAL
standard texture
Definition: OgreD3D9Mappings.h:48
Definition: OgreD3D9HardwarePixelBuffer.h:41
virtual void copyFrom(const HardwareSkinningTechnique *hardSkin)
void removeAllTemplates(bool deleteTemplate=true)
Removes a specified template from the ParticleSystemManager.
virtual void setFullscreen(bool fullscreen, uint width, uint height)
Alter fullscreen mode options.
CullFrustumRequest(uint8 _firstRq, uint8 _lastRq, bool _casterPass, bool _addToRenderQueue, bool _cullingLights, const ObjectMemoryManagerVec *_objectMemManager, const Camera *_camera, const Camera *_lodCamera)
Definition: OgreSceneManager.h:181
virtual void _setTextureMatrix(size_t unit, const Matrix4 &xform)=0
Sets the texture coordinate transformation matrix for a texture unit.
Portal * createPortal(const String &name, PortalBase::PORTAL_TYPE type=PortalBase::PORTAL_TYPE_QUAD)
Create a new portal instance.
@ TEXCALC_NONE
No calculated texture coordinates.
Definition: OgreRenderSystem.h:63
String quoteWord(const String &val)
Definition: OgreMaterialSerializer.h:343
void setActiveVertexShader(GLSLShader *vertexShader)
Set the active link programs for the next rendering state.
uchar getBPP() const
Returns the number of bits per pixel.
CompositorWorkspaceListener * getListener(void) const
Definition: OgreCompositorWorkspace.h:185
virtual ~RenderSystemCapabilitiesManager()
Default destructor.
void releaseReservation(PlanarReflectionActor *actor)
Releases a reservation made with reserve().
void setTiling(Real x, Real y, ushort layer=0)
Sets the number of times textures should repeat.
void throwIfFailed(const char *desc, const char *src)
Definition: OgreD3D11Device.h:80
const_reference back() const
Definition: OgreCommon.h:569
const ShaderCodeCacheVec & getShaderCodeCache(void) const
Definition: OgreHlms.h:361
unsigned getVSyncInterval() const
Returns the vertical sync interval.
Definition: OgreD3D11RenderWindow.h:125
VertexOffsetIterator getVertexOffsetIterator(void)
Gets an iterator over all the vertex offsets.
TriangleFaceNormalList triangleFaceNormals
All triangle face normals.
Definition: OgreEdgeListBuilder.h:128
uint32 baseInstance
Definition: OgreCbDrawCall.h:51
void dirty()
Indicate that all of the blend data is dirty and needs updating.
void renderSingleObject(Renderable *pRend, const MovableObject *pMovableObject, RenderSystem *rs, bool casterPass, bool dualParaboloid)
Don't call this too often. Only renders v1 objects at the moment.
size_t offsetAfterPadding
Definition: OgreNULLVaoManager.h:59
MeshPtr manualMesh
Hard link to mesh to avoid looking up each time.
Definition: OgreMesh.h:1063
uint8 strongMacroblockBits
Definition: OgreHlmsPso.h:119
void load(const String &filename, const String &separators="\t:=", bool trimWhitespace=true)
load from a filename (not using resource group locations)
bool isHardwareFilteringSupported(TextureType ttype, PixelFormat format, int usage, bool preciseFormatOnly=false)
Returns whether this render system has hardware filtering supported for the texture format requested ...
void exportTextureMetadataCache(String &outJson)
static size_t getNumAutoConstantDefinitions(void)
Returns the number of auto constant definitions.
virtual EGLConfig * chooseGLConfig(const GLint *attribList, GLint *nElements)
void streamTo4x3(float *RESTRICT_ALIAS dst) const
Copies our 4x3 contents using memory write combining when possible.
Definition: C/OgreArrayMatrixAf4x3.h:273
uint width
Definition: OgreTextureDefinition.h:79
@ G2D_X_Z
Grid is in the X/Z plane.
Definition: OgreGrid2DPageStrategy.h:52
vector< int >::type IntConstantList
Definition of container that holds the current int constants.
Definition: OgreGpuProgramParams.h:597
Command object for scope (see ParamCommand).
Definition: OgreDirectionRandomiserAffector.h:60
virtual void _render(const v1::CbDrawCallIndexed *cmd)=0
Renders a V1 RenderOperation. Assumes _setRenderOperation has already been called.
Plane(const Vector3 &rkPoint0, const Vector3 &rkPoint1, const Vector3 &rkPoint2)
virtual void create(const String &name, unsigned widthPt, unsigned heightPt, bool fullScreen, const NameValuePairList *miscParams)
virtual void renderQueueStarted(RenderQueue *rq, uint8 queueGroupId, const String &invocation, bool &skipThisInvocation)
Event raised before a queue group is rendered.
Definition: OgreRenderQueueListener.h:73
virtual CompositorPass * addPass(const CompositorPassDef *definition, Camera *defaultCamera, CompositorNode *parentNode, const CompositorChannel &target, SceneManager *sceneManager)=0
Creates a CompositorPass from a CompositorPassDef for Compositor Pass of type 'custom'.
static String FACTORY_TYPE_NAME
Definition: OgreDecal.h:159
D3D_FEATURE_LEVEL _getFeatureLevel() const
Definition: OgreD3D11RenderSystem.h:399
Command object for red adjust (see ParamCommand).
Definition: OgreColourInterpolatorAffector.h:50
void doSet(void *target, const String &val)
virtual OverlayElement * findElementAt(Real x, Real y)
This returns a OverlayElement at position x,y.
LodInputProviderPtr input
Definition: OgreLodWorkQueueRequest.h:46
void swap(Vector3 &other)
Exchange the contents of this vector with another.
Definition: OgreVector3.h:105
AxisAlignedBox worldBounds
Pre-transformed world AABB.
Definition: OgreStaticGeometry.h:171
const VertexData * getVertexData(void) const
Get the vertex data for this geometry.
Definition: OgreStaticGeometry.h:234
Definition: OgreStagingBuffer.h:79
virtual const set< WorldFragmentType >::type * getSupportedWorldFragmentTypes(void) const
Returns the types of world fragments this query supports.
Definition: OgreSceneQuery.h:166
uint hierarchicalLvl
The hierarchical level of this profile, 0 being the root profile.
Definition: OgreProfiler.h:347
@ ID_SINE
Definition: OgreScriptCompiler.h:790
size_t getConsecutiveSize() const
Return the size (in bytes) this image would take if it was laid out consecutive in memory.
Definition: OgreGLES2HardwareOcclusionQuery.h:46
void _setDepthBias(float constantBias, float slopeScaleBias)
virtual void _callMemoryChangeListeners(void)
Internal use, notifies all attached objects that our memory pointers (i.e.
virtual void removeAllViewports(void)
Removes all viewports on this target.
virtual void notifyOnDeviceDestroy(IDirect3DDevice9 *d3d9Device)
@ IM_VTFBONEMATRIXLOOKUP
Use a limited number of skeleton animations shared among all instances.
Definition: OgreCommon.h:386
FastArray< SourceData > SourceDataArray
Definition: OgreSubMesh2.h:296
Real getCurrentTime(void) const
Gets the current animation time, in seconds. Prefer using getCurrentFrame.
Definition: OgreSkeletonAnimation.h:107
@ PCT_FLOAT32
16 bit float per component
Definition: OgrePixelFormat.h:397
static const IdString DetailOffsetsD0
Definition: OgreHlmsPbsMobile.h:127
void uninstall()
Perform the final plugin uninstallation sequence.
virtual void unload(void)
Unloads the resource; this is not permanent, the resource can be reloaded later if required.
virtual SkeletonAnimationBlendMode getBlendMode() const
Gets the animation blending mode which this skeleton will use.
void setNamedConstant(const String &name, int val)
Sets a single value constant integer parameter to the program.
uint8 getNumMipmaps(void) const
Gets the number of mipmaps to be used for this texture.
Definition: OgreTexture.h:146
@ ID_READ_BACK_AS_TEXTURE
Definition: OgreScriptCompiler.h:948
virtual Real getWidthChange(size_t chainIndex) const
Get the change in ribbon width per second.
OldNode(const String &name)
Constructor, should only be called by parent, not directly.
size_t offset
Definition: OgreD3D11VaoManager.h:49
@ ID_EXECUTION_MASK
Definition: OgreScriptCompiler.h:857
@ ID_PARAM_INDEXED_AUTO
Definition: OgreScriptCompiler.h:635
static const int MacroblockShiftTransp
Definition: OgreRenderQueue.h:276
void doSet(void *target, const String &val)
static void softwareVertexBlend(const VertexData *sourceVertexData, const VertexData *targetVertexData, const Matrix4 *const *blendMatrices, size_t numMatrices, bool blendNormals)
Performs a software indexed vertex blend, of the kind used for skeletal animation although it can be ...
unsigned long _updateWorkerThread(ThreadHandle *threadHandle)
Called from the worker thread, polls to process frustum culling requests when a sync is performed.
size_t getRowSpan(void) const
Gets the physical width in bytes of each row of pixels.
D3D9RenderTexture(const String &name, D3D9HardwarePixelBuffer *buffer, bool writeGamma, uint fsaa)
TerrainPaging(PageManager *pageMgr)
Constructor.
virtual void displayResults(const ProfileInstance &instance, ulong maxTotalFrameTime)
Here we get the real profiling information which we can use.
Definition: OgreProfiler.h:382
void setHardwareBufferManager(HardwareBufferManagerBase *bufferManager)
Sets the manager for the vertex and index buffers to be used when loading this Mesh.
Definition: OgreMesh.h:581
map< size_t, Vector3 >::type VertexOffsetMap
A collection of vertex offsets based on the vertex index.
Definition: OgrePose.h:70
static const IdString PrePass
Definition: OgreHlms.h:826
Real getSinTime_0_X(Real x) const
static const IdString TexMatrixCount0
Definition: OgreUnlitProperty.h:52
size_t _getUnsignedIntConstantPhysicalIndex(size_t logicalIndex, size_t requestedSize, uint16 variability)
Gets the physical buffer index associated with a logical unsigned int constant index.
T * Detach() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:218
static ScriptCompilerManager * getSingletonPtr(void)
Override standard Singleton retrieval.
Template class describing a simple pool of items.
Definition: OgreResourceManager.h:46
int * mElements
Definition: OgreQuake3Level.h:117
virtual void _setDerivedOrientation(const Quaternion &q)
Sets the final world orientation of the OldNode directly.
void doSet(void *target, const String &val)
void setSplitPoints(const SplitPointList &newSplitPoints)
Manually configure a new splitting scheme.
Frame Buffer Object abstraction.
Definition: OgreGLES2FrameBufferObject.h:43
GLenum depthFunc
Definition: OgreGL3PlusHlmsPso.h:49
void doSet(void *target, const String &val)
void updateMaterialForAllSubMeshes(void)
Iterates through all submeshes and requests them to apply their texture aliases to the material they ...
virtual_l1 void quad(uint32 i1, uint32 i2, uint32 i3, uint32 i4)
Add a set of 4 vertex indices to construct a quad (out of 2 triangles); this is a shortcut to calling...
void removeAllTextureUnitStates(void)
Removes all texture unit settings.
void saveWorld(PagedWorld *world, const String &filename)
Save a PagedWorld instance to a file.
Link to another skeleton to share animations.
Definition: OgreSkeleton.h:467
virtual void _resourceTransitionCreated(ResourceTransition *resTransition)
ConstBufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface)
Definition: OgreConstBufferPacked.h:41
void setNamedConstant(const String &name, uint val)
Sets a single value constant unsigned integer parameter to the program.
SharedPtrFreeMethod
The method to use to free memory on destruction.
Definition: OgreSharedPtr.h:44
float normal[3]
Definition: OgreQuake3Types.h:212
map< String, String >::type AliasTextureNamePairList
Alias / Texture name pair (first = alias, second = texture name)
Definition: OgreCommon.h:731
void doSet(void *target, const String &val)
@ GPU_MATROX
Definition: OgreRenderSystemCapabilities.h:294
static bool isAccessible(PixelFormat srcformat)
Returns whether the format can be packed or unpacked with the packColour() and unpackColour() functio...
Definition: OgreLodConfig.h:143
BspSceneManager(const String &name)
const String & getFriendlyName() const
Returns the friendly name of the render system.
@ SHADER_BLEND
Definition: OgreQuake3Types.h:99
void updateIrradianceVolumeTexture()
VertexDeclaration * getAutoOrganisedDeclaration(bool skeletalAnimation, bool vertexAnimation, bool vertexAnimationNormals) const
Generates a new VertexDeclaration for optimal usage based on the current vertex declaration,...
@ OGREPROF_CULLING
Culling.
Definition: OgreProfiler.h:211
virtual void download(const PixelBox &data)
Download a box of pixels from the card.
virtual void autoUpdateLod(Terrain *terrain, bool synchronous, const Any &data)=0
Method to be called to change terrain's LOD level.
@ TID_RBRACKET
Definition: OgreScriptLexer.h:49
void _notifyResourceRemoved(const ResourcePtr &res)
Internal method called by ResourceManager when a resource is removed.
void unloadUnreferencedResourcesInGroup(const String &name, bool reloadableOnly=true)
Unload all resources which are not referenced by any other object.
virtual ~Plugin()
Definition: OgrePlugin.h:83
virtual bool isFullScreen(void) const
Returns true if window is running in fullscreen mode.
float mkSr
Definition: OgreHlmsPbsMobileDatablock.h:61
static HighLevelGpuProgramManager * getSingletonPtr(void)
Override standard Singleton retrieval.
Patch specialisation of Mesh.
Definition: OgrePatchMesh.h:49
MovableObject ** mOwner
The movable object that owns this ObjectData. Ours is mOwner[mIndex].
Definition: OgreObjectData.h:47
PixelFormat pixelFormat
Definition: OgreHlmsTexturePack.h:59
virtual void removeTexture(IdString name)
WARNING: Be very careful with this function.
bool operator()(FunctionInvocation const &lhs, FunctionInvocation const &rhs) const
@ ID_TRANSFORM
Definition: OgreScriptCompiler.h:795
virtual bool isPoseAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform pose animation.
Definition: OgreGpuProgram.h:347
int skyPlaneYSegments
Definition: OgreSceneManager.h:320
ScaleAffector(ParticleSystem *psys)
Default constructor.
static const ArrayReal THREE
Definition: OgreMathlibC.h:47
@ ID_AUTOMIPMAPS
Definition: OgreScriptCompiler.h:844
virtual void _hlmsPipelineStateObjectDestroyed(HlmsPso *pso)
Shared pointer implementation used to share vertex buffers.
Definition: OgreHardwareVertexBuffer.h:90
void setShininess(Real val)
Sets the shininess properties of every Pass in every Technique.
void _setPointParameters(Real size, bool attenuationEnabled, Real constant, Real linear, Real quadratic, Real minSize, Real maxSize)
Sets the size of points and how they are attenuated with distance.
bool getAutoUpdate(void) const
Return the auto update state of this billboard set.
Definition: OgreBillboardSet.h:819
size_t mParentIndex
Index in the vector holding this node reference (could be our parent node, or a global array tracking...
Definition: OgreNode.h:186
LightTypes
Defines the type of light.
Definition: OgreLight.h:82
iterator insert(iterator I, const T &Elt)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:606
void updatePoint(unsigned short index, const Vector3 &value)
Updates a single point in the spline.
OGRE_MUTEX(sceneGraphMutex)
Mutex to protect the scene graph from simultaneous access from multiple threads.
const Renderable * getSourceRenderable() const
Get the source renderable of this object.
Definition: OgreRenderToVertexBuffer.h:123
virtual void cameraPostRenderScene(Camera *cam)
Called after the scene has been rendered with this camera.
Definition: OgreCamera.h:98
Specialises the SceneQuery class for querying along a ray.
Definition: OgreSceneQuery.h:368
SkinningType getSkinningType()
Returns the current skinning type in use.
virtual Impl * _getImpl()
Get rendersystem specific interface for this RenderTarget.
int mNumShaders
Definition: OgreQuake3Level.h:145
size_t indexStart
index count from indexStart.
Definition: OgreLodBuffer.h:42
void _setTextureBlendMode(size_t stage, const LayerBlendModeEx &bm)
See RenderSystem.
Definition: OgreGL3PlusRenderSystem.h:372
Matrix4 getTransposeWorldMatrix() const
virtual int32 getCellRangeMaxY() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid3DPageStrategy.h:171
virtual Real getCellSize() const
Get the size of the cells in the grid.
Definition: OgreGrid2DPageStrategy.h:163
Billboard * createBillboard(Real x, Real y, Real z, const ColourValue &colour=ColourValue::White)
Creates a new billboard and adds it to this set.
float heightFactor
Definition: OgreTextureDefinition.h:150
void setPolygonModeOverrideable(bool PolygonModeOverrideable)
Sets whether the polygon mode of this entire entity may be overridden by the camera detail settings.
Real getHorizontalTexelOffset()
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
void clearTranslatorManagers()
Clears all translator managers.
virtual const String & getMovableType(void) const
Returns the type name of this object.
void addResourceTransition(ResourceLayoutMap::iterator currentLayout, ResourceLayout::Layout newLayout, uint32 readBarrierBits)
Factory class for particle emitter of type "Point".
Definition: OgrePointEmitterFactory.h:43
@ FRUSTUM_PLANE_TOP
Definition: OgreFrustum.h:76
Structure for recording the use of temporary blend buffers.
Definition: OgreHardwareBufferManager.h:74
Definition: OgreWin32Context.h:37
void requestRenderBuffer(const GL3PlusSurfaceDesc &surface)
Request the specify render buffer in case shared somewhere.
@ ElementInt
Definition: OgreShaderParams.h:57
void setMaxPointSize(Real s)
Maximum point screen size in pixels.
Definition: OgreRenderSystemCapabilities.h:752
@ RSC_FBO_ATI
Support for Frame Buffer Objects ATI implementation (ARB FBO is higher precedence)
Definition: OgreRenderSystemCapabilities.h:227
uint16 getAreaLightsLimit(void) const
Definition: OgreHlms.h:482
Vector3 getSize(void) const
Gets the size of the box.
Definition: OgreAxisAlignedBox.h:703
void _restoreBuffersForUnusedAnimation(bool hardwareAnimation)
Internal method to copy original vertex data to the morph structures should there be no active animat...
BufferType
Definition: OgreD3D11HardwareBuffer.h:44
void _notifyParticleQuota(size_t quota)
Tells the renderer that the particle quota has changed.
ArraySphere()
Definition: C/OgreArraySphere.h:64
bool getSkeletalAnimationIncluded() const
Returns whether a vertex program includes the required instructions to perform skeletal animation.
Definition: OgreShaderProgram.h:171
@ TAM_BORDER
Texture coordinates outside the range [0.0, 1.0] are set to the border colour.
Definition: OgreHlmsSamplerblock.h:54
virtual void setAlphaTestThreshold(float threshold)
Alpha test's threshold.
virtual void _forceReleaseBufferCopies(const HardwareVertexBufferSharedPtr &sourceBuffer)
Internal method that forces the release of copies of a given buffer.
Definition: OgreHardwareBufferManager.h:538
void setVisible(bool visible)
Set the visibility state.
size_t getPoseIndex(const Ogre::String &name)
Definition: OgreSubMesh2.h:211
void setSource(const SharedPtr< ControllerValue< T > > &src)
Sets the input controller value.
Definition: OgreController.h:168
ConcreteNodeList children
Definition: OgreScriptCompiler.h:71
Real getShininess(void) const
Gets the 'shininess' property of the pass (affects specular highlights).
void beginSection(unsigned short level, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:305
void _setCurrentShadowNode(CompositorShadowNode *shadowNode, bool isReused)
void updateAllTransforms()
Updates the derived transforms of all nodes in the scene.
const UnsignedIntConstantList & getUnsignedIntConstantList() const
Get a reference to the list of uint constants.
Definition: OgreGpuProgramParams.h:1911
virtual void setAlphaTestThreshold(float threshold)
void _setVboName(size_t vboPoolIdx, ID3D11Buffer *vboName, size_t internalBufferStartBytes)
virtual void setLateMaterialResolving(bool isLate)
Sets whether to use late material resolving or not.
Definition: OgreSceneManager.h:2835
Vector3 src
Definition: OgreLodConfig.h:40
const String & getType(void) const
Get the type of the object to be created.
SmallVectorBase - This is all the non-templated stuff common to all SmallVectors.
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:166
@ ID_ROTATE_ANIM
Definition: OgreScriptCompiler.h:783
CreateParticleSystemScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup)
Definition: OgreScriptCompiler.h:592
virtual void detachDepthBuffer(void)
bool operator>=(const Radian &r) const
Definition: OgreMath.h:84
void notifyDeviceLost(D3D11Device *device)
DataStreamPtr create(const String &filename)
Create a new file (or overwrite one already there).
vector< TextureDefinition >::type TextureDefinitionVec
Definition: OgreTextureDefinition.h:127
virtual void loadRawData(DataStreamPtr &stream, ushort uWidth, ushort uHeight, PixelFormat eFormat)
Loads the data from a raw stream.
Real splitFade
Definition: OgreCompositorShadowNodeDef.h:73
OldNodeAnimationTrack * getOldNodeTrack(unsigned short handle) const
Gets a node track by it's handle.
virtual void setValue(const Any &val)
Set value.
void setInjectorListener(LodWorkQueueInjectorListener *injectorListener)
Definition: OgreLodWorkQueueInjector.h:55
AxisAlignedBox getAABB(void) const
Returns an AABB representation.
static const Vector3 UNIT_Y
Definition: OgreVector3.h:816
const TexturePtr & _getTexturePtr(void) const
Get the texture pointer for the current frame.
@ FFP_VS_TRANSFORM
Definition: OgreShaderFFPRenderState.h:46
static unsigned short DELTA_BUFFER
Buffer binding used for holding delta values.
Definition: OgreTerrainQuadTreeNode.h:263
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
Called before adding this sub render state to the given render state.
Definition: OgreShaderSubRenderState.h:115
@ BCT_SAMPLER
Definition: OgreGpuProgramParams.h:56
static D3D11_USAGE _getUsage(TextureUsage usage)
Definition: OgreD3D11Mappings.h:83
SimplexNoise(void)
Constructor with a random permutation table.
GpuProgramPtr getGpuFragmentProgram()
Get the fragment shader GPU program.
void load(DataStreamPtr &dataStream, Hlms::RenderableCache &renderableCache)
ColourValue(float red=1.0f, float green=1.0f, float blue=1.0f, float alpha=1.0f)
Definition: OgreColourValue.h:67
const RenderTarget * getCurrentRenderTarget(void) const
unsigned char getCurrentMeshLod(void) const
Definition: OgreMovableObject.h:211
void construct(pointer p)
Definition: OgreMemorySTLAllocator.h:160
virtual bool initialise()=0
Call this function from manager to init system.
uint8 mKernelRadius
Used when mMipmapGenerationMethod == ComputeHQ.
Definition: OgreCompositorPassMipmapDef.h:74
size_t _getDoubleConstantPhysicalIndex(size_t logicalIndex, size_t requestedSize, uint16 variability)
Gets the physical buffer index associated with a logical double constant index.
void extend(const Vector3 &pt)
Extends the existing body to incorporate the passed in point as a convex hull.
void dirtyRect(const Rect &rect)
Indicate that a portion of the blend data is dirty and needs updating.
ImageDownsamplerCube downscale2x_Float32_X_cube
Definition: OgreImageDownsampler.h:159
virtual bool isWindowSet(void) const
Returns if a viewport window is being used.
Definition: OgreCamera.h:559
Vector3 getLightDirection(size_t index) const
virtual ~ResourceGroupManager()
Factory class for ColourInterpolatorAffector.
Definition: OgreColourInterpolatorAffectorFactory.h:39
PlanarReflectionActor()
Definition: OgrePlanarReflectionActor.h:110
CategorisedAllocPolicy< Ogre::MEMCATEGORY_SCRIPTING > ScriptingAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:271
bool isStereoEnabled(const String &renderWindowName) const
const String & getPreprocessorDefines(void) const
Sets the preprocessor defines use to compile the program.
Definition: OgreD3D11HLSLProgram.h:342
bool useFullScreen
Definition: OgreCommon.h:934
~LightListInfo()
Definition: OgreCommon.h:711
CG Language program processor class.
Definition: OgreShaderCGProgramProcessor.h:47
virtual bool isChildrenProcessEvents() const
Should this container pass events to their children.
Definition: OgreOverlayContainer.h:123
void exportMesh(const Mesh *pMesh, const String &filename, MeshVersion version, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the file specified, in a specific version format.
~VertexPoseKeyFrame()
Definition: OgreKeyFrame.h:191
@ ACT_LIGHT_DIRECTION_OBJECT_SPACE_ARRAY
Array of light directions in object space (count set by extra param)
Definition: OgreGpuProgramParams.h:1081
void _notifyParticleRotated(void)
Optional callback notified when particles are rotated.
uint16 getLightmapSize() const
Get the requested size of lightmap for this terrain.
Definition: OgreTerrain.h:1085
void removeTemplateSubRenderState(SubRenderState *subRenderState)
Remove a template sub render state from this render state.
virtual void setStartTime(Real startTime)
Sets the 'start time' of this emitter.
void prepareForShadowMapping(bool forceSameBuffers)
const Renderable * getCurrentRenderable(void) const
Node * getAssociatedNode(void) const
Returns a pointer to the associated OldNode object (if any).
void setScroll(Real x, Real y)
Sets the scrolling factor of this overlay.
Definition: OgreShaderParams.h:78
virtual ~GLES2StagingBuffer()
virtual OverlayElement * getChild(const String &name)
Gets the named child of this container.
void resize(unsigned int width, unsigned int height)
RenderWindow::resize
const StringVector & getScriptPatterns(void) const
Gets the file patterns which should be used to find scripts for this class.
void _changeRenderSystem(RenderSystem *newRs)
Called when the RenderSystem changes.
static const IdString NormalWeightDetail2
Definition: OgreHlmsPbs.h:354
virtual void getShadowCamera(const Ogre::SceneManager *sm, const Ogre::Camera *cam, const Ogre::Light *light, Ogre::Camera *texCam, size_t iteration, const Vector2 &viewportRealSize) const
Returns a LiSPSM shadow camera with PSSM splits base on iteration.
virtual void writeInstance(MaterialSerializer *ser, SubRenderState *subRenderState, Pass *srcPass, Pass *dstPass)
void setNamedConstant(const String &name, const Matrix4 *m, size_t numEntries)
Sets a list of Matrix4 parameters to the program.
static const String FACTORY_TYPE_NAME
Factory type name.
Definition: OgreSceneManagerEnumerator.h:54
GL3PlusVaoManager(bool supportsArbBufferStorage, bool emulateTexBuffers, bool supportsIndirectBuffers, bool _supportsBaseInstance, bool supportsSsbo)
std::reverse_iterator< const_iterator > const_reverse_iterator
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:236
Side getSide(const AxisAlignedBox &rkBox) const
Returns the side where the alignedBox is.
void _swapFinalTarget(vector< RenderTarget * >::type &swappedTargets)
In the case of RenderWindows, swaps/copies/flips the front with the back buffer.
Class that provides functionality to generate materials for use with a terrain.
Definition: OgreTerrainMaterialGenerator.h:162
ImageBlur2D separableBlur_XXX888
Definition: OgreImageDownsampler.h:100
virtual void notifyOnDeviceCreate(IDirect3DDevice9 *d3d9Device)
virtual bool isVisible(void) const
Are the batches visible?
Definition: OgreStaticGeometry.h:635
Internal structure defining a texture effect.
Definition: OgreTextureUnitState.h:134
void updateLightCustomGpuParameter(const GpuProgramParameters::AutoConstantEntry &constantEntry, GpuProgramParameters *params) const
vector< FileInfo >::type FileInfoList
Definition: OgreArchive.h:67
static const IdString UvDiffuseSwizzle14
Definition: OgreUnlitProperty.h:106
GpuNamedConstantsSerializer()
Vector3(const int afCoordinate[3])
Definition: OgreVector3.h:77
virtual Viewport * addViewport(float left=0.0f, float top=0.0f, float width=1.0f, float height=1.0f)
Adds a viewport to the rendering target.
void _setSeparateSceneBlendingOperation(SceneBlendOperation op, SceneBlendOperation alphaOp)
uint32 id
Definition: OgreScriptCompiler.h:130
Definition: OgreD3D11Texture.h:47
virtual bool resolveParameters(ProgramSet *programSet)
T ** ReleaseAndGetAddressOf() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:212
bool mKeepPreviousUavs
Definition: OgreCompositorPassUavDef.h:103
ScriptTranslator * getTranslator(const AbstractNodePtr &node)
Retrieves a ScriptTranslator from the supported managers.
virtual void removeBillboard(unsigned int index)
Removes the billboard at the supplied index.
time_t resourceModifiedTime(const String &group, const String &filename)
Retrieve the modification time of a given file.
@ RSC_RTT_SEPARATE_DEPTHBUFFER
Supports a separate depth buffer for RTTs. D3D 9 & 10, OGL w/FBO (RSC_FBO implies this flag)
Definition: OgreRenderSystemCapabilities.h:166
bool farbox
Definition: OgreQuake3Shader.h:104
virtual ~GL3PlusDepthTextureTarget()
void createStereoDriver(const NameValuePairList *miscParams)
Creates a bridge to the Direct3D stereo driver implementation.
virtual Animation * getAnimation(const String &name) const =0
Retrieve an animation by name.
static const String & getDirectionalLightExtruderVs_1_1Finite(void)
Get FINITE extruder program source for directional lights, compatible with vs_1_1.
Definition: OgreShadowVolumeExtrudeProgram.h:293
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
@ ACT_LIGHT_CASTS_SHADOWS_ARRAY
Returns (int) 1 if the given light casts shadows, 0 otherwise (index set in extra param)
Definition: OgreGpuProgramParams.h:1132
void _buildBoneAssignmentsFromVertexData(uint8 const *vertexData)
Populates mBoneAssignments by reading the vertex data.
const String & getGeometryProgramName(void) const
Gets the name of the geometry program used by this pass.
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgreMovableObject.h:381
HlmsDatablock(IdString name, Hlms *creator, const HlmsMacroblock *macroblock, const HlmsBlendblock *blendblock, const HlmsParamVec ¶ms)
@ BT_DEFAULT
Read and write access from GPU.
Definition: OgreBufferPacked.h:49
void setUserAny(const Any &anything)
Sets any kind of user object on this class instance.
static ArrayMaskR isInfinity(ArrayReal a)
Returns the result of "a == std::numeric_limits<float>::infinity()".
Definition: OgreMathlibC.h:287
virtual size_t getCurrentIndexCount() const
Get the number of indices in the section currently being defined (returns 0 if no section is in progr...
void _endFrame(void)
Ends rendering of a frame to the current viewport.
ParameterDef(const String &newName, const String &newDescription, ParameterType newType)
Definition: OgreStringInterface.h:72
virtual ~OverlayElement()
void setDebugOutputEnabled(bool debugOutput)
~Entity()
Default destructor.
void setUseDepthPrePass(IdString textureName, IdString depthTextureName, IdString ssrTexture)
Definition: OgreCompositorPassSceneDef.h:173
unsigned short getNumNumericTracks(void) const
Gets the number of NumericAnimationTrack objects contained in this animation.
void exportSkeleton(const Skeleton *pSkeleton, DataStreamPtr stream, SkeletonVersion ver=SKELETON_VERSION_LATEST, Endian endianMode=ENDIAN_NATIVE)
Exports a skeleton to the stream specified.
@ ID_BORDER
Definition: OgreScriptCompiler.h:739
An animation container interface, which allows generic access to sibling animations.
Definition: OgreAnimation.h:58
virtual String getType() const
Returns the type of the codec as a String.
virtual void advanceFrame(void)
virtual_l1 void setOrientation(Real w, Real x, Real y, Real z)
Sets the orientation of this node via quaternion parameters.
PoolId
Definition: OgreDepthBuffer.h:87
LoadLodRequest(TerrainLodManager *r, uint16 preparedLod, uint16 loadedLod, uint16 target)
Definition: OgreTerrainLodManager.h:62
@ RSC_CAN_GET_COMPILED_SHADER_BUFFER
Supports using vertex buffers for instance data.
Definition: OgreRenderSystemCapabilities.h:176
static void mergeContiguousBlocks(BlockVec::iterator blockToMerge, BlockVec &blocks)
int unknown
Definition: OgreQuake3Types.h:187
void setPassNumber(const int passNumber)
Vector4(const Real scaler)
Definition: OgreVector4.h:85
ParameterPtr resolveInputParameter(Parameter::Semantic semantic, int index, const Parameter::Content content, GpuConstantType type)
Resolve input parameter of this function.
virtual void bindGpuProgramPassIterationParameters(GpuProgramType gptype)=0
Only binds Gpu program parameters used for passes that have more than one iteration rendering.
Definition: OgreCompositorPassStencilDef.h:47
Command object for iteration interval(see ParamCommand).
Definition: OgreParticleSystem.h:134
uint32 *RESTRICT_ALIAS mQueryFlags
Flags determining whether this object is included / excluded from scene queries.
Definition: OgreObjectData.h:92
String doGet(const void *target) const
MeshPtr createCurvedPlane(const String &name, const String &groupName, const Plane &plane, Real width, Real height, Real bow=0.5f, int xsegments=1, int ysegments=1, bool normals=false, unsigned short numTexCoordSets=1, Real uTile=1.0f, Real vTile=1.0f, const Vector3 &upVector=Vector3::UNIT_Y, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexShadowBuffer=true, bool indexShadowBuffer=true)
Creates a genuinely curved plane, by default majoring on the x/y axes facing positive Z.
virtual void setParameterList(const NameValuePairList ¶mList)
Generic multiple parameter setting method.
const GLES2SurfaceDesc & getSurface(size_t attachment)
Definition: OgreGLES2FrameBufferObject.h:84
Mesh::IndexMap::const_iterator boneIdxEnd
Definition: OgreInstanceBatchHW_VTF.h:95
static const IdString DiffuseMapCount13
Definition: OgreHlmsUnlitMobile.h:121
C++ encapsulation of GLSL ES Program Object.
Definition: OgreGLSLESLinkProgram.h:46
@ ID_SPOT
Definition: OgreScriptCompiler.h:712
bool hasPoolId(uint32 uniqueSpecialId, TextureMapType mapType) const
GLint convertStencilOp(StencilOperation op, bool invert=false) const
uint32 mInternalId
It's different from HlmsSamplerblock::mId. Can't be zero.
Definition: OgreGLES2HlmsSamplerblock.h:51
@ LBX_MODULATE_X2
as LBX_MODULATE but brighten afterwards (x2)
Definition: OgreBlendMode.h:83
void _setTextures(const PackedTexture packedTextures[])
Advanced function for setting all textures at once, instead of one by one, for performance reasons.
ProgramWriterFactory()
Definition: OgreShaderProgramWriterManager.h:50
@ ID_SUBROUTINE
Definition: OgreScriptCompiler.h:985
int skyDomeYSegments
Definition: OgreSceneManager.h:310
void removeFrameListener(FrameListener *oldListener)
Removes a FrameListener from the list of listening classes.
virtual void _bindTextureUavCS(uint32 slot, Texture *texture, ResourceAccess::ResourceAccess access, int32 mipmapLevel, int32 textureArrayIndex, PixelFormat pixelFormat)
Binds an UAV texture to a Compute Shader.
void setPointSpritesEnabled(bool enabled)
Sets whether or not rendering points using OT_POINT_LIST will render point sprites (textured quads) o...
const Quaternion & getDerivedOrientation(void) const
Gets the derived orientation of the camera, including any rotation inherited from a node attachment a...
@ SPC_LIGHTPOSITION_WORLD_SPACE2
Definition: OgreShaderParameter.h:219
virtual VertexDeclaration * clone(HardwareBufferManagerBase *mgr=0) const
Clones this declaration.
Real squaredLength() const
Returns the square of the length(magnitude) of the vector.
Definition: OgreVector3.h:377
const String & getName() const
Get the name of the plugin.
void setShadowCasterMaterial(Ogre::MaterialPtr val)
set this material specific shadow casting specific material
String doGet(const void *target) const
Definition: OgreD3D11DepthTexture.h:85
bool operator==(const iterator_range &rhs) const
comparison operator for equality
Definition: OgreIteratorRange.h:97
AxisAlignedBox getBoundingBox(void)
Gets the bounding box of the mesh.
@ SPC_POSITION_LIGHT_SPACE2
Definition: OgreShaderParameter.h:95
virtual uint32 fillBuffersForV2(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)
virtual void bindBufferPS(uint16 slot)
@ RSC_EXPLICIT_FSAA_RESOLVE
Explicit FSAA resolves (i.e. sample MSAA textures directly in the shader without resolving)
Definition: OgreRenderSystemCapabilities.h:196
Definition: OgreD3D11AsyncTicket.h:39
TerrainSlot(long _x, long _y)
Definition: OgreTerrainGroup.h:332
void unload()
Unloads the archive.
void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Overridden from OverlayContainer.
virtual void save(StreamSerialiser &stream)
Save the collection to a stream.
void _updateAutoParams(const AutoParamDataSource *source, uint16 variabilityMask) const
Update automatic parameters.
bool getUseIdentityProjection(void) const
Returns whether or not to use an 'identity' projection.
Definition: OgreManualObject.h:355
void _setLightMapRequired(bool lightMap, bool shadowsOnly=false)
Request internal implementation options for the terrain material to use, in this case a terrain-wide ...
@ ACT_WORLD_MATRIX_ARRAY_3x4
The current array of world matrices, as a 3x4 matrix, used for blending.
Definition: OgreGpuProgramParams.h:907
static const Vector3 NEGATIVE_UNIT_Y
Definition: OgreVector3.h:819
MapIterator< MaterialBucketMap > MaterialIterator
Iterator over the materials in this LOD.
Definition: OgreStaticGeometry.h:345
SmallVectorTemplateCommon(size_t Size)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:228
static void getDefaultPaths(String &outDataFolderPath, StringVector &outLibraryFoldersPaths)
Fill the provided string and string vector with all the sub-folder needed to instantiate an HlmsPbs o...
uint32 baseInstance
Definition: OgreCbDrawCall.h:105
virtual LinkedSkeletonAnimSourceIterator getLinkedSkeletonAnimationSourceIterator(void) const
Get an iterator over the linked skeletons used as animation sources.
void defineSurface(void *controlPointBuffer, v1::VertexDeclaration *declaration, size_t width, size_t height, PatchSurfaceType pType=PST_BEZIER, size_t uMaxSubdivisionLevel=AUTO_LEVEL, size_t vMaxSubdivisionLevel=AUTO_LEVEL, VisibleSide visibleSide=VS_FRONT)
Sets up the surface by defining it's control points, type and initial subdivision level.
Threshold(uint32 _minTextureSize, uint16 _maxTexturesPerArray)
Definition: OgreHlmsTextureManager.h:88
ConstMapIterator< InstanceBatchMap > InstanceBatchMapIterator
Definition: OgreInstanceManager.h:321
virtual String validateConfig()=0
Make sure all the extra options are valid.
D3D11HardwareOcclusionQuery(D3D11Device &device)
Default object constructor.
ColourImageAffector(ParticleSystem *psys)
Default constructor.
virtual void notifyCamera(Camera *cam)
Notify a section of the current camera.
static const IdString UvDetailNm1
Definition: OgreHlmsPbs.h:375
@ ID_BLEND_CURRENT_ALPHA
Definition: OgreScriptCompiler.h:765
virtual void _setDerivedPosition(const Vector3 &pos)
Sets the final world position of the OldNode directly.
void redefine(const Vector3 &rkNormal, const Vector3 &rkPoint)
Redefine this plane based on a normal and a point.
bool hwGammaCorrection
Definition: OgreHlmsTextureManager.h:101
void _incrementRefCount(void)
bool getNeedsUpdate(void)
Get status of need for update. this checks all affected zones.
virtual void _renderEmulated(const CbDrawCallStrip *cmd)
void dumpContents(void)
Debug method.
String doGet(const void *target) const
iterator begin()
Definition: OgreFastArray.h:366
ArchiveMapIterator getArchiveIterator(void)
Get an iterator over the Archives in this Manager.
uint numSamples
Definition: OgreGL3PlusRenderTexture.h:48
Real skyPlaneBow
Definition: OgreSceneManager.h:318
const String & getName() const
Get the name of the property.
Definition: OgreProperty.h:145
Codec specialized in loading DDS (Direct Draw Surface) images.
Definition: OgreDDSCodec.h:51
int send_event
Definition: OgreX11EGLSupport.h:94
void destroy(void)
Overridden - see RenderWindow.
ushort getTessellationHullProgramConstantBoolCount(void) const
The number of boolean constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:876
void doSet(void *target, const String &val)
static const IdString UvDiffuse4
Definition: OgreUnlitProperty.h:79
void setLayerBlendMapSize(uint16 sz)
Sets the default size of blend maps for a new terrain.
Definition: OgreTerrain.h:2056
void setNumThreadGroupsBasedOn(ThreadGroupsBasedOn source, uint8 texSlot, uint8 divisorX, uint8 divisorY, uint8 divisorZ)
Instead of calling setNumThreadGroups, Ogre can automatically deduce them based on the Texture resolu...
@ ACT_LIGHT_COUNT
The number of active light sources (better than gl_MaxLights)
Definition: OgreGpuProgramParams.h:1021
void setEnabled(bool enabled)
Sets whether this animation is enabled.
virtual void _render(const CbDrawCallStrip *cmd)
void setUserAny(const String &key, const Any &anything)
Sets any kind of user object on this class instance.
const IntConstantList & getIntConstantList() const
Get a reference to the list of int constants.
Definition: OgreGpuProgramParams.h:1905
virtual void setFsaaResolveDirty(void)
Null buffers never resolve; only colour buffers do.
Definition: OgreGL3PlusNullTexture.h:107
bool mShadowMapFullViewport
Only used if mShadowMapIdx is valid (if pass is owned by Shadow Nodes).
Definition: OgreCompositorPassDef.h:137
@ OT_PATCH_29_CONTROL_POINT
Definition: OgreHlmsPso.h:88
void setMacroblock(const HlmsMacroblock *macroblock, bool casterBlock=false)
Sets the macroblock from the given pointer that was already retrieved from the HlmsManager.
VertexData * getVertexDataForBinding(bool casterPass)
Retrieve the VertexData which should be used for GPU binding.
ConstVectorIterator< BoneList > ConstBoneIterator
Definition: OgreSkeleton.h:179
static const IdString UvNormal
Definition: OgreHlmsPbsMobile.h:138
bool IsActiveDeviceLost()
Definition: OgreQuake3Types.h:216
void setHeightAtPoint(long x, long y, float h)
Set the height data for a given terrain point.
size_t indexCount
Definition: OgreLodData.h:137
MovablePlane(IdType id, ObjectMemoryManager *objectMemoryManager, SceneManager *manager, const Vector3 &rkNormal, const Vector3 &rkPoint)
@ PF_FLOAT32_RGBA
128-bit pixel format, 32 bits (float) for red, 32 bits (float) for green, 32 bits (float) for blue,...
Definition: OgrePixelFormat.h:132
static DWORD get(FilterType ft, FilterOptions fo, const D3DCAPS9 &devCaps, eD3DTexType texType)
return a D3D9 filter option for Ogre FilterType & FilterOption value
virtual size_t getWorkerThreadCount() const
Get the number of worker threads that this queue will start when startup() is called.
@ GMM_RELATIVE
'left', 'top', 'height' and 'width' are parametrics from 0.0 to 1.0
Definition: OgreOverlayElement.h:60
uint32 x
Definition: OgreCompositorShadowNode.h:346
void _removeManualDepthBuffer(DepthBuffer *depthBuffer)
Reverts _addManualDepthBuffer actions.
void setChildObject(MovableObject *pObject)
virtual void endGPUSampleProfile(const String &name)
virtual ~ScriptCompilerListener()
Definition: OgreScriptCompiler.h:367
void doSet(void *target, const String &val)
virtual void _hlmsComputePipelineStateObjectDestroyed(HlmsComputePso *newPso)
@ ID_SCROLL_X
Definition: OgreScriptCompiler.h:786
Factory object for creating PCZLight instances.
Definition: OgrePCZLight.h:121
bool getReadOnlyDepth(void) const
bool operator!=(const ConstMapRange &rhs) const
comparison operator for inequality
Definition: OgreIteratorRange.h:326
T Type
Definition: OgreComPtr.h:123
Real length() const
Returns the length (magnitude) of the vector.
Definition: OgreVector2.h:330
virtual void addChildImpl(OverlayContainer *cont)
Add a nested container to this container.
GLSLShader * domainShader
Definition: OgreGL3PlusHlmsPso.h:66
virtual HardwareOcclusionQuery * createHardwareOcclusionQuery(void)=0
Create an object for performing hardware occlusion queries.
Wrap-around class that contains multiple ArrayMemoryManager, one per render queue.
Definition: OgreObjectMemoryManager.h:57
const String & getType(void) const
Returns the factory type.
virtual void setLightmapEnabled(bool enabled)=0
Whether to support a light map over the terrain in the shader, if it's present (default true)
static String FACTORY_TYPE_NAME
Definition: OgreRectangle2D.h:109
virtual Vector4 getValueAndGradient(const Vector3 &position) const
Overridden from Source.
Class to build up a mesh with vertices and indices.
Definition: OgreVolumeMeshBuilder.h:130
virtual ~GpuBufferAllocator()
Definition: OgreTerrain.h:540
const ColourValue & getSpecular(void) const
Gets the specular colour reflectance of the pass.
void clear()
Clears the overlay of all attached items.
UvAtlasParams()
Definition: OgreHlmsUnlitMobileDatablock.h:80
virtual ~D3D11StereoDriverNVIDIA()
void loadFromAoS(const Real *RESTRICT_ALIAS src)
Converts 4 ARRAY_PACKED_REALS reals into this ArrayVector3.
virtual void _forceReleaseBufferCopies(const HardwareVertexBufferSharedPtr &sourceBuffer)
Internal method that forces the release of copies of a given buffer.
void _removeMovable(const MovableObject *mov)
Internal method for telling the node that a movable no longer intersects it.
virtual const String & getType() const
VertexElementSemantic getSemantic(void) const
Gets the meaning of this element.
Definition: OgreHardwareVertexBuffer.h:138
virtual GpuSharedParametersPtr getSharedParameters(const String &name) const
Retrieve a set of shared parameters, which can be used across many GpuProgramParameters objects of di...
static const IdString UvDiffuse
Definition: OgreHlmsPbs.h:363
Definition: OgreGLES2ConstBufferPacked.h:38
const float * getDeltaData(long x, long y) const
Get a pointer to the delta data for a given point.
void swap(Vector4 &other)
Exchange the contents of this vector with another.
Definition: OgreVector4.h:111
ParticleAffectorFactoryIterator getAffectorFactoryIterator(void)
Return an iterator over the affector factories currently registered.
@ MethodForward3D
Definition: OgreForwardPlusBase.h:57
virtual void optimise(void)
Optimise the current track by removing any duplicate keyframes.
virtual void _render(const v1::CbDrawCallStrip *cmd)
GL3PlusDepthBuffer(uint16 poolId, GL3PlusRenderSystem *renderSystem, GL3PlusContext *creatorContext, GLenum depthFormat, GLenum stencilFormat, uint32 width, uint32 height, uint32 fsaa, uint32 multiSampleQuality, PixelFormat pixelFormat, bool isDepthTexture, bool _isManual)
HlmsComputeJob * findComputeJob(IdString datablockName) const
Finds an existing Compute Job. If none found, throws an exception.
void doSet(void *target, const String &val)
bool isAffine(void) const
Check whether or not the matrix is affine matrix.
Definition: OgreMatrix4.h:622
Class implementing TerrainAutoUpdateLod interface.
Definition: OgreTerrainAutoUpdateLod.h:77
static vector< String >::type tokenise(const String &str, const String &delims="\t\n ", const String &doubleDelims="\"", unsigned int maxSplits=0)
Returns a StringVector that contains all the substrings delimited by the characters in the passed del...
bool getIsInstanceData() const
Get if this vertex buffer is an "instance data" buffer (per instance)
Definition: OgreHardwareVertexBuffer.h:75
void _setBindingType(TextureUnitState::BindingType bindingType)
Set texture unit binding type.
@ SPC_LIGHTPOSITION_WORLD_SPACE5
Definition: OgreShaderParameter.h:222
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
virtual const AxisAlignedBox & getBoundingBox() const
Get the bounds of this section.
void doSet(void *target, const String &val)
bool mOwnDimensions
Does this particle have it's own dimensions?
Definition: OgreParticle.h:78
Definition: OgreSubMesh2.h:287
const String & getType(void) const
Get the type of the object to be created.
bool watchForMin(const String &profileName)
v1::IndexData * indexData
Definition: OgreCbDrawCall.h:91
XClientMessageEventData data
Definition: OgreX11EGLSupport.h:94
uint32 id
Definition: OgreScriptCompiler.h:151
virtual void parseScript(DataStreamPtr &stream, const String &groupName)=0
Parse a script file.
@ ID_EMISSIVE
Definition: OgreScriptCompiler.h:648
void notifyStaticDirty(Node *node)
Notifies that the given Node is dirty (i.e.
const GpuProgramPtr & getShadowCasterVertexProgram(void) const
Gets the vertex program used by this pass when rendering shadow casters, only available after _load()...
GL3PlusHardwarePixelBuffer(uint32 mWidth, uint32 mHeight, uint32 mDepth, PixelFormat mFormat, bool hwGamma, HardwareBuffer::Usage usage)
Should be called by HardwareBufferManager.
ID3D11Resource * getTextureResource()
Definition: OgreD3D11Texture.h:73
TextureSource(uint32 _uavSlot, IdString _textureName, const String &_externalTextureName, uint32 _mrtIndex, ResourceAccess::ResourceAccess _access, int32 _mipmapLevel, PixelFormat _pixelFormat)
Definition: OgreCompositorPassUavDef.h:69
void setQueryFlags(uint32 flags)
Sets the query flags for this object.
void _notifyAttached(Node *parent)
Overridden from MovableObject.
void setSelfIllumination(const ColourValue &selfIllum)
Sets the amount of self-illumination of every Pass in every Technique.
void createBuffer(IDirect3DDevice9 *d3d9Device, D3DPOOL ePool, bool updateNewBuffer)
vector< FunctionAtom * >::type FunctionAtomInstanceList
Definition: OgreShaderFunctionAtom.h:255
OverlayProfileSessionListener()
Real getViewportHeight() const
UnlitBakedTexture(const TexturePtr tex, const HlmsSamplerblock *_samplerBlock)
Definition: OgreHlmsUnlitDatablock.h:53
void applyKeyFrameRigAt(KeyFrameRigVec::const_iterator &inOutLastKnownKeyFrame, float frame, ArrayReal animWeight, const ArrayReal *RESTRICT_ALIAS perBoneWeights, const TransformArray &KfTransforms) const
Applies the interpolated keyframe at the given frame to all bone transformations that are animated by...
float mRoughness
Definition: OgreHlmsPbsMobileDatablock.h:59
void shutdown()
Shutdown the renderer and cleanup resources.
Program * getCpuVertexProgram()
Get the vertex shader CPU program.
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
Page(PageID pageID, PagedWorldSection *parent)
static const IdString UvAtlas10
Definition: OgreHlmsUnlitMobile.h:153
Definition: OgreGLES2Texture.h:42
static void createShadowNodeWithSettings(CompositorManager2 *compositorManager, const RenderSystemCapabilities *capabilities, const String &shadowNodeName, const ShadowNodeHelper::ShadowParamVec &shadowParams, bool useEsm, uint32 pointLightCubemapResolution=1024u, Real pssmLambda=0.95f, Real splitPadding=1.0f, Real splitBlend=0.125f, Real splitFade=0.313f)
Utility to programmatically create a shadow node, since doing it yourself can be confusing.
void setMinimumX(Real x)
Changes one of the components of the minimum corner of the box used to resize only one dimension of t...
Definition: OgreAxisAlignedBox.h:197
Listener * getListener(void) const
Gets the current listener for this Node.
Definition: OgreNode.h:695
NodeAnimationTrack * _clone(Animation *newParent) const
Clone this track (internal use only)
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
Definition: OgreCompositorShadowNode.h:356
size_type max_size() const
Definition: OgreCommon.h:516
void destroyProxyItems(void)
Destroys the Proxy Items.
bool ToEulerAnglesZYX(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
const Vector3 & getDerivedCP() const
Get the position (centerpoint) of the portal in world coordinates.
Definition: OgrePortalBase.h:135
bool requiresTextureFlipping() const
Definition: OgreGLXWindow.h:107
RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
Specialisation of HardwareVertexBuffer for D3D11.
Definition: OgreD3D11HardwareVertexBuffer.h:39
void doSet(void *target, const String &val)
This is a Light-weight string wrapper around the C string interface.
Definition: OgreLwString.h:112
void setAsRGBA(const RGBA val)
Sets colour as RGBA.
const LightListInfo & getGlobalLightList(void) const
Definition: OgreSceneManager.h:1192
map< String, ZoneData * >::type ZoneDataMap
Definition: OgrePCZSceneNode.h:57
void setDebugDisplayLevel(uint8 lvl)
Set the debug display level.
Definition: OgrePageManager.h:420
virtual const String & getName() const =0
virtual void setLoadRadius(Real sz)
Set the loading radius.
static UniformParameterPtr createSamplerCUBE(int index)
void apply(Skeleton *skeleton, Real timePos, Real weight=1.0, Real scale=1.0f)
Applies all node tracks given a specific time point and weight to a given skeleton.
Definition: OgreThreads.h:138
InstanceBatchHW(IdType id, ObjectMemoryManager *objectMemoryManager, InstanceManager *creator, MeshPtr &meshReference, const MaterialPtr &material, size_t instancesPerBatch, const Mesh::IndexMap *indexToBoneMap)
static const IdString UvCount
Definition: OgreHlms.h:789
virtual void setCellRangeMaxY(int32 maxY)
Set the index range of all cells (values outside this will be ignored)
const Plane & getFrustumPlane(unsigned short plane) const
Retrieves a specified plane of the frustum (world space).
static const Vector3 UNIT_Z
Definition: OgreVector3.h:817
void doSet(void *target, const String &val)
virtual ~GL3PlusAsyncTicket()
virtual Vector4 getValueAndGradient(const Vector3 &position) const =0
Gets the density value and gradient at a specific position.
uint8 getTextureUvSource(uint8 sourceType) const
static const char * EmissiveMap
Definition: OgreHlmsPbs.h:328
uint getTrueTypeResolution(void) const
Gets the resolution (dpi) of the font used to generate the texture.
LodOutputProviderCompressedMesh(v1::MeshPtr mesh)
LodData * mGen
Definition: OgreLodData.h:66
virtual void destroyInstance(T *ptr)=0
Destroys an object which was created by this factory.
Real amplitude
Definition: OgreTextureUnitState.h:142
@ ID_LESS_EQUAL
Definition: OgreScriptCompiler.h:675
@ Visual
Definition: OgreParticle.h:73
static bool intersects(const Ray &ray, const AxisAlignedBox &box, Real *d1, Real *d2)
Ray / box intersection, returns boolean result and two intersection distance.
Animation(const String &name, Real length)
You should not use this constructor directly, use the parent object such as Skeleton instead.
MaterialPtr createAsMaterial(int lightmapNumber)
Creates this shader as an OGRE material.
virtual PageContentCollection * createInstance()=0
vector< StrideChanger >::type StrideChangerVec
Definition: OgreD3D11VaoManager.h:78
void addTime(Real time)
Plays the animation forward (or backwards if negative)
Definition: OgreSkeletonAnimation.h:86
NormalMapLighting()
Class default constructor.
void setRadius(Real newRadius)
Any & swap(Any &rhs)
Definition: OgreAny.h:86
bool _updateAllRenderTargets(void)
Internal method used for updating all RenderTarget objects (windows, renderable textures etc) which a...
virtual void remove(ResourceHandle handle)
Remove a single resource by handle.
virtual void _findVisibleObjects(Camera *cam, VisibleObjectsBoundsInfo *visibleBounds, bool onlyShadowCasters)
Recurses through the octree determining which nodes are visible.
A lightweight mutex is a synchronization mechanism, very similar to a regular mutex.
Definition: OgreLightweightMutex.h:72
uint32 getWidth(void) const
Returns the width of the texture.
Definition: OgreTexture.h:225
@ ID_ONE_MINUS_DEST_COLOUR
Definition: OgreScriptCompiler.h:656
virtual void convertPath(String &inOutPath) const
Some implementations (i.e.
Definition: OgreArchiveFactory.h:80
bool rewind(size_t count)
Step back in cached stream by 'count' bytes.
Definition: OgreDataStream.h:109
virtual ~GLES2Support()
Definition: OgreGLES2Support.h:45
@ TU_AUTOMIPMAP_AUTO
Must be used with TU_AUTOMIPMAP.
Definition: OgreTexture.h:77
Quaternion orientation
Only used when mFaceCamera == false.
Definition: OgreBillboardChain.h:105
PCZLightFactory()
Definition: OgrePCZLight.h:125
Real getOverlayLeft() const
virtual bool preAddToRenderState(const RenderState *renderState, Pass *srcPass, Pass *dstPass)
virtual void swapBuffers(void)
Swaps the frame buffers to display the next frame.
Definition: OgreRenderTarget.h:176
virtual void setFrustumOffset(Real horizontal=0.0, Real vertical=0.0)
Sets frustum offsets, used in stereo rendering.
void _addNode(PCZSceneNode *)
Adds an PCZscene node to this octree level.
static D3D9StereoDriverBridge * getSingletonPtr(void)
LwString & a(float a0)
Definition: OgreLwString.h:300
void notifyResourceDestroyed(D3D11DeviceResource *deviceResource)
HardwareBufferLockGuard HardwareIndexBufferLockGuard
Locking helper.
Definition: OgreHardwareIndexBuffer.h:89
@ ID_SHARED_PARAM_NAMED
Definition: OgreScriptCompiler.h:805
struct Ogre::v1::VertexBoneAssignment_s VertexBoneAssignment
Records the assignment of a single vertex to a single bone with the corresponding weight.
virtual uint32 fillBuffersForV1(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, CommandBuffer *commandBuffer)=0
iterator insert(iterator I, size_type NumToInsert, const T &Elt)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:630
void setFromMatrix4(const Matrix4 &m, size_t index)
Definition: C/OgreArrayMatrix4.h:114
~GpuProgramParameters()
Definition: OgreGpuProgramParams.h:1526
void setColourWriteEnabled(bool enabled)
Sets whether or not colour buffer writing is enabled for each Pass.
static const char * NormalMapTex
Definition: OgreHlmsPbs.h:325
void setBackgroundLoaded(bool bl)
Tells the resource whether it is background loaded or not.
@ ACT_LIGHT_DIFFUSE_COLOUR
Light diffuse colour (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1028
virtual void blitFromMemory(const PixelBox &src, const Box &dstBox)
Copies a region from normal memory to a region of this pixelbuffer.
virtual ~D3D11RenderToVertexBuffer(void)
void readData(size_t offset, size_t length, void *pDest)
Reads data from the buffer and places it in the memory pointed to by pDest.
Real getDefaultMinPixelSize()
Get the default minimum pixel size for object to be rendered by.
Definition: OgreRoot.h:1088
MipmapGenerationMethods mMipmapGenerationMethod
Definition: OgreCompositorPassMipmapDef.h:69
cbitsetN()
Definition: OgreBitset.h:43
void saveTexture(const HlmsTextureManager::TextureLocation &texLocation, const String &folderPath, set< String >::type &savedTextures, bool saveOitd, bool saveOriginal, uint32 slice, uint32 numSlices, HlmsTextureExportListener *listener)
Saves a texture to the given folder.
bool addTexutreAtlasDefinition(const Ogre::String &filename, TextureAtlasTablePtr textureAtlasTable=TextureAtlasTablePtr())
Adds a texture atlas definition from a stream.
bool isFullScreen(void) const
Returns true if window is running in fullscreen mode.
Definition: OgreSDLWindow.h:86
float mValue
Definition: OgreLwString.h:274
void setForceVector(const Vector3 &force)
Sets the force vector to apply to the particles in a system.
void arrangeEfficient(bool halfPos, bool halfTexCoords, bool qTangents)
void setTextureUvSource(uint8 sourceType, uint8 uvSet)
Sets which UV set to use for the given texture.
void recreateShadowContentTypeLookup(void)
Recreates the contents of mShadowContentTypeLookup from scratch.
void doSet(void *target, const String &val)
void _registerScriptLoader(ScriptLoader *su)
Internal method for registering a ScriptLoader.
bool isActive() const
Overridden from RenderTarget, flags invisible windows as inactive.
void removeFactory(ProgramWriterFactory *factory)
Remove a factory object for high-level programs of a given language.
X11Bool
Definition: OgreX11EGLSupport.h:70
~ComPtr() ASSUME_NOEXCEPT
Definition: OgreComPtr.h:145
virtual ~BufferInterface()
Definition: OgreBufferInterface.h:46
virtual void softwareVertexMorph(Real t, const float *srcPos1, const float *srcPos2, float *dstPos, size_t pos1VSize, size_t pos2VSize, size_t dstVSize, size_t numVertices, bool morphNormals)=0
Performs a software vertex morph, of the kind used for morph animation although it can be used for ot...
virtual void setCellRangeMaxX(int32 maxX)
Set the index range of all cells (values outside this will be ignored)
void _setUpdateShadowNode(bool update)
Definition: OgreCompositorPassScene.h:99
static const uint16 CHUNK_VERSION
Definition: OgrePagedWorldSection.h:90
virtual ~GLES2NullTextureTarget()
const SkeletonAnimationVec & getAnimations() const
Return all animations associated with this skeleton.
Definition: OgreSkeletonInstance.h:172
virtual size_t getStateCount() const
Returns the number of times this resource has changed state, which generally means the number of time...
Definition: OgreResource.h:449
void exportMaterial(const MaterialPtr &pMat, const String &filename, bool exportDefaults=false, const bool includeProgDef=false, const String &programFilename="", const String &materialName="")
Exports a single in-memory Material to the named material script file.
virtual const String & _getSchemeName(unsigned short index)
Internal method - returns name for a given material scheme index.
static void initResourcesLayout(ResourceLayoutMap &outResourcesLayout, const CompositorNamedBufferVec &buffers, ResourceLayout::Layout layout)
Only inits a resource with the given layout if it wasn't already in outResourcesLayout.
virtual bool resolveDependencies(ProgramSet *programSet)
const CodePointRangeList & getCodePointRangeList() const
Get a const reference to the list of code point ranges to be used to generate glyphs from a truetype ...
Definition: OgreFont.h:370
void _setNodeParent(Node *nodeParent)
Sets a regular Node to be parent of this Bone.
LodLevel()
Definition: OgreTerrainQuadTreeNode.h:148
void removeResolveStageMask(unsigned int mask)
Remove the given mask from the resolve stage flags that this sub render state will produce.
Definition: OgreShaderFFPColour.h:114
bool mipmaps
Definition: OgreHlmsTextureManager.h:100
~SceneManagerEnumerator()
ImageBlur2D separableBlur_A8
Definition: OgreImageDownsampler.h:103
Definition: OgrePixelCountLodStrategy.h:121
size_t getSize(void) const
Gets the size of this element in bytes.
String doGet(const void *target) const
Real getSquaredViewDepth(const Camera *cam) const
This is used by our batch owner to get the closest entity's depth, returns infinity when not attached...
@ MS_MAPPED
Definition: OgreBufferPacked.h:68
const String & getMovableType(void) const
Overridden from MovableObject.
String name
Definition: OgreHlmsTexturePack.h:51
CompositorShadowNodeDef * addShadowNodeDefinition(const String &name)
Returns a new node definition. The name must be unique, throws otherwise.
void _destroyInternalResources()
virtual_l2 Vector3 _getDerivedPosition(void) const
Gets the position of the node as derived from all parents.
const String & getEntryPoint(void) const
Gets the entry point defined for this program.
Definition: OgreD3D9HLSLProgram.h:178
AbstractNode * mParent
Definition: OgreScriptCompiler.h:531
uint32 instancingDivisor
Definition: OgreNULLVaoManager.h:103
~D3D11HardwareBufferManager()
Definition: OgreD3D11HardwareBufferManager.h:76
void _notifyObjectDetached(const MovableObject *mov)
Internal method for notifying the level that an object has been detached from a node.
Real getHeight(void) const
Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0.
virtual BufferPackedTypes getBufferPackedType(void) const
Useful to query which one is the derived class.
Definition: OgreIndexBufferPacked.h:54
@ ACT_LIGHT_POSITION_VIEW_SPACE_ARRAY
Array of light positions in view space (count set by extra param)
Definition: OgreGpuProgramParams.h:1077
void doSet(void *target, const String &val)
static char * _dearrangeEfficient(char const *RESTRICT_ALIAS srcData, uint32 numElements, const VertexElement2Vec &vertexElements, VertexElement2Vec *outVertexElements)
Generic form that does the actual job for both v1 and v2 objects.
Definition: OgreGLES2DepthBuffer.h:51
static const IdString Syntax
Definition: OgreHlms.h:856
@ TEXTURE_TYPE_NORMALS
Definition: OgreHlmsTextureManager.h:136
static void toQuotedStr(CompareFunction value, String &outString)
Represents part of the world geometry that is a result of a SceneQuery.
Definition: OgreSceneQuery.h:103
virtual TransformKeyFrame * getNodeKeyFrame(unsigned short index) const
Returns the KeyFrame at the specified index.
@ VES_BINORMAL
Binormal (Y axis if normal is Z)
Definition: OgreVertexElements.h:56
Definition: OgreVertexArrayObject.h:184
bool checkMinGLVersion(const String &v) const
const String & getLanguage(void) const
Overridden from GpuProgram.
An object which renders geometry to a vertex.
Definition: OgreGL3PlusRenderToVertexBuffer.h:45
@ Orientation
Definition: OgreBoneArrayMemoryManager.h:59
void setAll(const Aabb &aabb)
Definition: C/OgreArrayAabb.h:116
@ GPU_NOKIA
Definition: OgreRenderSystemCapabilities.h:299
~TempBlendedBufferInfo(void)
virtual void bindBufferHS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
bool isClosed(void) const
Overridden - see RenderWindow.
void unmap(const DestinationVec &destinations)
Unmaps the mapped region and copies the data to multiple buffers.
Definition: OgreStagingBuffer.h:263
void loadFromAoS(const SimpleMatrixAf4x3 *RESTRICT_ALIAS *src)
const TextureVec * getCurrentPrePassTextures(void) const
Definition: OgreSceneManager.h:1385
bool empty() const
Definition: OgreCommon.h:518
void setAdjust(Real rate)
Sets the scale adjustment to be made per second to particles.
virtual bool magicNumberMatch(const char *magicNumberPtr, size_t maxbytes) const
Returns whether a magic number header matches this codec.
Definition: OgreCodec.h:159
virtual void _buildMapBoneByName(const Skeleton *source, BoneHandleMap &boneHandleMap) const
Build the bone handle map to use with Skeleton::_mergeSkeletonAnimations.
void doSet(void *target, const String &val)
const String & getMaterialName() const
Get the name of the material being used for the terrain.
Definition: OgreTerrain.h:1339
virtual bool isProcessComplete(BackgroundProcessTicket ticket)
Returns whether a previously queued process has completed or not.
static const IdString SpecularMap
Definition: OgreHlmsPbsMobile.h:108
void blitFromTexture(MetalTextureBuffer *src, const Box &srcBox, const Box &dstBox)
virtual void bindBufferHS(uint16 slot)
Definition: OgreNULLConstBufferPacked.h:50
void parseScript(DataStreamPtr &stream, const String &groupName)
static GLSLESProgramPipelineManager * getSingletonPtr(void)
virtual ~GpuNamedConstantsSerializer()
virtual void _detachDepthBuffer()
Detaches DepthBuffer without notifying it from the detach.
bool getVertexAnimationIncludesNormals() const
Returns whether animation on dedicated vertex data includes normals.
Definition: OgreSubMesh.h:249
D3D11HLSLProgram * hullShader
Definition: OgreD3D11HlmsPso.h:54
void setValue(Ogre::Real value)
~GLES2HardwareBufferManager()
Definition: OgreGLES2HardwareBufferManager.h:79
void XResizeWindow(Display *nativeDisplayType, Window nativeWindowType, int left, int top)
void setInnerSizeY(Real y)
Sets the y component of the area inside the ellipsoid which doesn't emit particles.
#define _OgreRTSSExport
Definition: OgreShaderPrerequisites.h:120
Radian operator-() const
Definition: OgreMath.h:69
LodConfig config
Definition: OgreLodWorkQueueRequest.h:44
void setName(const String &name)
Sets a custom name for this node. Doesn't have to be unique.
Definition: OgreBone.h:136
@ ACT_WORLD_MATRIX
The current world matrix.
Definition: OgreGpuProgramParams.h:896
Real getMinimumDepthInputValue()
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
void _updateCullPhase01(Camera *camera, const Camera *lodCamera, uint8 firstRq, uint8 lastRq)
Instructs the viewport to updates its contents.
bool rectIntersectsNode(const Rect &rect)
Returns true if the given rectangle overlaps the terrain area that this node references.
OldSkeletonManager()
Constructor.
ResourceAllocatedObject TextureUnitStateAlloc
Definition: OgreMemoryAllocatorConfig.h:340
HLMS stands for "High Level Material System".
Definition: OgreHlmsJson.h:71
virtual const String & getType() const =0
Returns the factory type.
@ RCP_CREATE_ON_ACTIVE_DEVICE
Definition: OgreD3D9ResourceManager.h:42
@ LB_BlendLighten
Definition: OgreShaderExLayeredBlending.h:52
@ PF_D32_FLOAT_X24_X8
Depth texture format. 32 bits for depth.
Definition: OgrePixelFormat.h:352
virtual void reinitialise(void)
Restart the renderer (normally following a change in settings).
Degree & operator=(const Real &f)
Definition: OgreMath.h:107
static void shutdown(void)
Static method to shutdown and unregister the ASTC codec.
@ ID_VIEWPORT_MODIFIER_MASK
Definition: OgreScriptCompiler.h:858
void setEnableBackwardsCompatibility(bool enableBackwardsCompatibility)
Sets whether backwards compatibility is enabled.
Definition: OgreD3D11HLSLProgram.h:348
DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
static const uint16 TERRAINLAYERSAMPLER_CHUNK_VERSION
Definition: OgreTerrain.h:285
virtual ManualObject * createManualObject(SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Create a ManualObject, an object which you populate with geometry manually through a GL immediate-mod...
void decomposition(Vector3 &position, Vector3 &scale, Quaternion &orientation) const
Decompose a Matrix4 to orientation / scale / position.
size_t size
Definition: OgreImageCodec.h:64
GLES2DefaultHardwareVertexBuffer(size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage)
SubMeshLodGeometryLinkList * geometryLodList
Link to LOD list of geometry, potentially optimised.
Definition: OgreStaticGeometry.h:165
virtual void _bindTextureUavCS(uint32 slot, Texture *texture, ResourceAccess::ResourceAccess access, int32 mipmapLevel, int32 textureArrayIndex, PixelFormat pixelFormat)=0
Binds an UAV texture to a Compute Shader.
SharedPtrInfoDelete(T *o)
Definition: OgreSharedPtr.h:74
void warmStart(size_t numInstances, uint16 terrainSize, uint16 maxBatchSize, uint16 minBatchSize)
'Warm start' the allocator based on needing x instances of terrain with the given configuration.
virtual void getRenderOperation(RenderOperation &op, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
static UniformParameterPtr createSampler3D(int index)
@ TEXCALC_ENVIRONMENT_MAP
Environment map based on vertex normals.
Definition: OgreRenderSystem.h:65
void nodeUpdated(const Node *node)
const String & getName(void) const
Get the name of the library.
Definition: OgreDynLib.h:108
static ID3D11Query * waitFor(ID3D11Query *fenceName, ID3D11DeviceContextN *deviceContext)
Will stall undefinitely until GPU finishes (signals the sync object).
std::vector< ptrdiff_t > PtrdiffVec
Definition: OgreArrayMemoryManager.h:68
@ SPC_POSTOCAMERA_VIEW_SPACE
View vector in view space.
Definition: OgreShaderParameter.h:121
Definition: OgreCbDrawCall.h:70
static void setDefaultInterpolationMode(InterpolationMode im)
Sets the default animation interpolation mode.
void registerThread()
Register the an additional thread which may make calls to rendersystem-related objects.
Real getNormalMapWeight(void) const
Returns the detail normal maps' weight.
void setConstant(size_t index, Real val)
Sets a single floating-point parameter to the program.
virtual void setDatablock(HlmsDatablock *datablock)
Assigns a datablock (i.e. HLMS Material) to this renderable.
@ ACT_SPOTLIGHT_PARAMS
Spotlight parameters, Vector4(innerFactor, outerFactor, falloff, isSpot) innerFactor and outerFactor ...
Definition: OgreGpuProgramParams.h:1038
size_t tell(void) const
Returns the current byte offset from beginning.
@ ID_SPLIT
Definition: OgreScriptCompiler.h:963
static const IdString NormalWeightDetail3
Definition: OgreHlmsPbsMobile.h:123
Ogre assumes that there are separate vertex and fragment programs to deal with but GLSL has one progr...
Definition: OgreGLSLSeparableProgramManager.h:54
virtual void setDepthBufferPool(uint16 poolId)
Sets the pool ID this RenderTarget should query from.
void destroyAllVertexTracks(void)
Removes and destroys all tracks making up this animation.
Definition: OgreScriptCompiler.h:587
Real splitBlend
Definition: OgreCompositorShadowNodeDef.h:72
void addRenderables(RenderQueue *queue, uint8 group, const FastArray< unsigned char > ¤tMatLod)
Add children to the render queue.
@ ID_NONE
Definition: OgreScriptCompiler.h:699
bool isStatic() const
Checks whether this node is static. @See setStatic.
Vector2 uvOffset
Definition: OgreCompositorShadowNodeDef.h:59
void resize(ushort width, ushort height, Filter filter=FILTER_BILINEAR)
Resize a 2D image, applying the appropriate filter.
static GLSLSeparableProgramManager * getSingletonPtr(void)
int8 kernelEnd
Definition: OgreImageDownsampler.h:226
@ TEXGEN_ENVIRONMENT
Definition: OgreQuake3Types.h:129
static void toStr(const ColourValue &value, String &outString)
Command object for bounce (see ParamCommand).
Definition: OgreDeflectorPlaneAffector.h:67
@ InheritOrientation
Definition: OgreArrayMemoryManager.h:300
String mResourceGroup
Definition: OgreScriptCompiler.h:589
ResourceDeclarationList getResourceDeclarationList(const String &groupName)
Get the list of resource declarations for the specified group name.
virtual MaterialPtr getDefaultSettings(void) const
Returns a pointer to the default Material settings.
Definition: OgreMaterialManager.h:205
size_t getFrameCount(void) const
vector< GPUVendorRule >::type GPUVendorRuleList
Definition: OgreTechnique.h:114
Real distance(const Segment &otherSegment) const
ulong frameNumber
Definition: OgreProfiler.h:335
bool getPassSurfaceAndLightStates(void) const
Returns whether a vertex program wants light and material states to be passed through fixed pipeline ...
Definition: OgreScriptCompiler.h:597
@ ID_GAUSS_DEVIATION
Definition: OgreScriptCompiler.h:946
virtual void applyDeltaValue(const Vector2 &)
Apply delta value.
Definition: OgreAnimable.h:198
SceneManager * getSceneManager(const String &instanceName) const
Get an existing SceneManager instance that has already been created, identified by the instance name.
Structure encapsulating import data that you may use to bootstrap the terrain without loading from a ...
Definition: OgreTerrain.h:328
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
VertexHash()
Definition: OgreLodData.h:68
TempBlendedBufferInfo * _getSkelAnimTempBufferInfo(void)
Advanced method to get the temp buffer information for software skeletal animation.
virtual void clearResults(void)
Clears the results of the last query execution.
HlmsJsonListener * mJsonListener
Definition: OgreHlmsManager.h:120
Technique * getCurrentTechnique(void) const
Get the current Technique.
Definition: OgreStaticGeometry.h:300
TexturePtr getTexture(uint8 actorIdx) const
@ ACT_INVERSE_TEXTURE_SIZE
Provides inverse texture size of the texture unit (index determined by setAutoConstant call).
Definition: OgreGpuProgramParams.h:1321
@ ID_BILINEAR
Definition: OgreScriptCompiler.h:743
@ HBU_STATIC_WRITE_ONLY
Combination of HBU_STATIC and HBU_WRITE_ONLY.
Definition: OgreHardwareBuffer.h:109
PixelFormat format
The pixel format.
Definition: OgrePixelBox.h:80
virtual bool canHandleRequest(const Request *req, const WorkQueue *srcQ)
Return whether this handler can process a given request.
Definition: OgreWorkQueue.h:174
void blitFromTexture(GL3PlusTextureBuffer *src, const Box &srcBox, const Box &dstBox)
static void convertTerrainToWorldAxes(Alignment align, const Vector3 &terrainVec, Vector3 *worldVec)
Utility method to convert axes from terrain space (xy terrain, z up) tp world space.
void unload()
Unload node and children (perform GPU tasks, will be render thread)
virtual void viewportRemoved(const RenderTargetViewportEvent &evt)
Called to notify listener that a Viewport has been removed from the target in question.
Definition: OgreRenderTargetListener.h:139
ParticleSystemFactory()
Definition: OgreParticleSystemManager.h:398
GLSLProgram(GLSLShader *vertexProgram, GLSLShader *hullProgram, GLSLShader *domainProgram, GLSLShader *geometryProgram, GLSLShader *fragmentProgram, GLSLShader *computeProgram)
Constructor should only be used by GLSLMonolithicProgramManager and GLSLSeparableProgramManager.
uint32 getNumSlices(void) const
Definition: OgreForward3D.h:106
Definition: OgreScriptTranslator.h:163
const HardwareVertexBufferSharedPtr & _getHardwareVertexBuffer(const VertexData *origData) const
Get a hardware vertex buffer version of the vertex offsets.
MeshPtr createManual(const String &name, const String &groupName, ManualResourceLoader *loader=0)
Creates a new Mesh specifically for manual definition rather than loading from an object file.
const String & getName(void) const
Returns the name of the rendering system.
Command object for setting target assembler.
Definition: OgreD3D11HLSLProgram.h:63
@ ID_TESSELLATION_DOMAIN_PROGRAM
Definition: OgreScriptCompiler.h:973
SubMesh * getSubMesh(unsigned short index) const
Gets a pointer to the submesh indicated by the index.
static const IdString ParallaxCorrectCubemaps
Definition: OgreHlmsPbs.h:399
void setLightingEnabled(bool enabled)
void setShadingType(ShadeOptions so)
#define OGRE_MAX_MULTIPLE_RENDER_TARGETS
Define max number of multiple render targets (MRTs) to render to at once.
Definition: OgreConfig.h:126
const Vector3 & getProbeCameraPos(void) const
Definition: OgreCubemapProbe.h:185
bool immutable
Definition: OgreConfigOptionMap.h:54
CbBase * getLastCommand(void)
Returns a pointer to the last created command.
virtual bool isLoading() const
Returns whether the resource is currently in the process of background loading.
Definition: OgreResource.h:361
virtual const String & getTargetLanguage() const
Definition: OgreShaderGLSLProgramWriter.h:72
InstanceBatchCullRequest(const Frustum *_frustum, const Camera *_lodCamera, uint32 _combinedVisibilityFlags)
Definition: OgreSceneManager.h:232
Class representing a node in the scene graph.
Definition: OgreSceneNode.h:57
@ ID_BINDING_TYPE
Definition: OgreScriptCompiler.h:796
bool watchForLimit(const String &profileName, Real limit, bool greaterThan=true)
void setEmissive(const ColourValue &emissive)
Sets the amount of self-illumination an object has.
Definition: OgrePass.h:336
void setDebugOutputPath(bool enableDebugOutput, bool outputProperties, const String &path=BLANKSTRING)
Call to output the automatically generated shaders (which are usually made from templates) on the giv...
~GL3PlusFrameBufferObject()
Compositor nodes are the core subject of compositing.
Definition: OgreCompositorNode.h:95
void _setSurfaceParams(const ColourValue &ambient, const ColourValue &diffuse, const ColourValue &specular, const ColourValue &emissive, Real shininess, TrackVertexColourType tracking)
Sets the surface properties to be used for future rendering.
AxisAlignedBoxSceneQuery * createAABBQuery(const AxisAlignedBox &box, uint32 mask=0xFFFFFFFF)
Overridden from SceneManager.
An abstraction of a viewport, i.e.
Definition: OgreViewport.h:68
void addLodListener(LodListener *listener)
Add a level of detail listener.
void removeSceneManagerFactory(SceneManagerFactory *fact)
Unregister a SceneManagerFactory.
Represents constant buffers (also known as Uniform Buffers in GL)
Definition: OgreConstBufferPacked.h:39
bool _OgreVolumeExport operator<(const Vector3 &a, const Vector3 &b)
A less operator.
void setGlobalColourMapEnabled(bool enabled)
Whether to support a global colour map over the terrain in the shader, if it's present (default true)...
void setAutoCalculate(bool autoCalc)
Tells the spline whether it should automatically calculate tangents on demand as points are added.
virtual void _renderEmulated(const CbDrawCallIndexed *cmd)
virtual Real getLoadingOrder(void) const =0
Gets the relative loading order of scripts of this type.
virtual bool handleEvent(ScriptCompiler *compiler, ScriptCompilerEvent *evt, void *retval)
Called when an event occurs during translation, return true if handled.
ulong accum
Represents the total time of all child profiles to subtract from this profile.
Definition: OgreProfiler.h:344
Definition: OgreGLES2HardwareIndexBuffer.h:39
static void startup(void)
Static method to startup and register the ETC codec.
VectorRange(T &c)
Constructor.
Definition: OgreIteratorRange.h:149
Any()
Definition: OgreAny.h:63
vector< SubMesh * >::type SubMeshList
Definition: OgreMesh.h:105
void connectOutput(CompositorNode *finalNode, size_t inputChannel)
The final rendering is done by passing the RenderWindow to one of the input channels.
Definition: OgreScriptTranslator.h:210
void setConfigOption(const String &name, const String &value)
void setIrradianceOrigin(const Vector3 &origin)
Definition: OgreIrradianceVolume.h:108
SharedPtr< CodecData > CodecDataPtr
Definition: OgreCodec.h:72
RotationInterpolationMode getRotationInterpolationMode(void) const
Gets the current rotation interpolation mode of this animation.
void setOverlaysEnabled(bool enabled)
Tells this viewport whether it should display Overlay objects.
Specialisation of HardwareVertexBuffer for emulation.
Definition: OgreGLES2DefaultHardwareBufferManager.h:42
ArrayQuaternion()
Definition: C/OgreArrayQuaternion.h:70
InvalidStateException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:211
virtual void getCustomAttribute(const String &name, void *pData)
bool intersects(const PlaneBoundedVolume &pbv)
Check if portal intersects a plane bounded volume.
@ ID_FSAA
Definition: OgreScriptCompiler.h:961
void setPosition(Real x, Real y, Real z)
Sets the camera's position.
DisplayMode getDisplayMode() const
Get the display mode for the overlay.
Definition: OgreProfiler.h:388
static DWORD get(LayerBlendOperationEx lbo, const D3DCAPS9 &devCaps)
return a D3D9 equivalent for a Ogre LayerBlendOperationEx value
void setEnabled(bool enabled)
Sets whether this controller is enabled.
Definition: OgreController.h:196
bool hit
Whether an intersection occurred.
Definition: OgreTerrainGroup.h:381
void _writeRawConstant(size_t physicalIndex, const Matrix4 &m, size_t elementCount)
Write a Matrix4 parameter to the program.
Real _deriveShadowNearClipDistance(const Camera *maincam) const
Derive a shadow camera near distance from either the light, or from the main camera if the light does...
const HlmsSamplerblock * getSamplerblock(PbsTextureTypes texType) const
VertexData * _getHardwareVertexAnimVertexData(void) const
Advanced method to get the hardware morph vertex information.
void setVSyncInterval(unsigned interval)
Definition: OgreD3D11RenderWindow.h:124
const String & getSkyMaterialName(void) const
Get Sky material name.
int mcTriangles[256][16]
Triangulation lookup table.
Definition: OgreVolumeIsoSurfaceTablesMC.h:65
@ LB_BlendAdd
Definition: OgreShaderExLayeredBlending.h:56
bool pullOcclusionQuery(unsigned int *NumOfFragments)
Pulls the hardware occlusion query.
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create counter buffer.
String doGet(const void *target) const
unordered_map< String, ResourceMap >::type ResourceWithGroupMap
Definition: OgreResourceManager.h:566
@ IF_COMPRESSED
Definition: OgreImage.h:45
void ToAngleAxis(Degree &dAngle, Vector3 &rkAxis) const
Definition: OgreQuaternion.h:142
void setNamedConstant(const String &name, const double *val, size_t count, size_t multiple=4)
Sets a multiple value constant floating-point parameter to the program.
Matrix4 getInverseTransposeViewMatrix() const
@ LOADSTATE_UNLOADED
Not loaded.
Definition: OgreResource.h:118
static const IdString DetailWeightMap
Definition: OgreHlmsPbsMobile.h:111
const WorldMap & getWorlds() const
Get a reference to the worlds that are currently loaded.
Definition: OgrePageManager.h:181
vector< size_t >::type VecIndices
To hold indices.
Definition: OgreVolumeMeshBuilder.h:102
void setInitialised(bool flag)
Definition: OgreGLES2VertexArrayObject.h:51
static UniformParameterPtr createSampler2DArray(int index)
bool getDebugShaders(void) const
Definition: OgreRenderSystem.h:1460
SceneObjAllocatedObject OverlayAlloc
Definition: OgreMemoryAllocatorConfig.h:316
vector< ComputeTextureSource >::type TextureSources
Definition: OgreCompositorPassComputeDef.h:82
void destroyResourcePool(const String &name)
Destroy a resource pool.
void scroll(Real xoff, Real yoff)
Scrolls the overlay by the offsets provided.
virtual void objectAttached(MovableObject *)
MovableObject has been attached to a node.
Definition: OgreMovableObject.h:79
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
Comparator function to be used for comparisons.
Definition: OgreShaderFunctionAtom.h:241
~DefaultSphereSceneQuery()
VertexAnimationTrack * createVertexTrack(unsigned short handle, VertexData *data, VertexAnimationType animType)
Creates a VertexAnimationTrack and associates it with VertexData.
bool getSkiesEnabled(void) const
Returns whether or not skies (created in the SceneManager) are displayed in this viewport.
D3D11HardwareBufferManager(D3D11Device &device)
Definition: OgreD3D11HardwareBufferManager.h:71
String farboxName
Definition: OgreQuake3Shader.h:105
static const IdString NumTextures
Definition: OgreUnlitProperty.h:66
int face_start
Definition: OgreQuake3Types.h:174
ParticleAffectorFactory()
Definition: OgreParticleAffectorFactory.h:60
virtual void setRequestsAccepted(bool accept)
Set whether to accept new requests or not.
virtual Quaternion convertLocalToWorldOrientation(const Quaternion &localOrientation)
Gets the world orientation of an orientation in the OldNode local space useful for simple transforms ...
static const IdString UvDetailNm2
Definition: OgreHlmsPbsMobile.h:150
size_t paddedBytes
Definition: OgreGL3PlusVaoManager.h:60
bool execute(ObjectData objData, size_t numNodes, SceneQueryListener *listener)
ShaderParams & getShaderParams(IdString key)
Gets a shader parameter with the given key.
virtual bool setDrawBuffer(ColourBufferType colourBuffer)=0
Collects a group of static i.e.
Definition: OgreStaticFaceGroup.h:69
void store4x3(float *RESTRICT_ALIAS dst) const
Assumes dst is aligned.
Definition: C/OgreArrayMatrixAf4x3.h:261
void _useLights(const LightList &lights, unsigned short limit)
See RenderSystem.
Definition: OgreGL3PlusRenderSystem.h:307
static bool endsWith(const String &str, const String &pattern, bool lowerCase=true)
Returns whether the string ends with the pattern passed in.
float posV
Definition: OgreShaderExTextureAtlasSampler.h:60
IdString getName(void) const
Definition: OgreTextureDefinition.h:154
LodData()
Definition: OgreLodData.h:177
virtual void _clearNodeLists(short nodeListTypes)
Remove all nodes from the node reference list and clear it.
Thread-safe buffer for storing Hardware index buffer.
Definition: OgreLodBuffer.h:39
GLuint instancingDivisor
Definition: OgreGLES2VaoManager.h:107
Radian & operator-=(const Radian &r)
Definition: OgreMath.h:72
const String & getGroup(void) const
Gets the group which this resource is a member of.
OctreeNode(SceneManager *creator, const String &name)
Standard constructor.
uint8 mViewportModifierMask
Definition: OgreCompositorPassDef.h:132
uint16 getLightMapSize() const
Get the default size of the lightmaps for a new terrain.
Definition: OgreTerrain.h:2078
Defines a part of a complete mesh.
Definition: OgreSubMesh.h:63
CornerEnum
Definition: OgreAxisAlignedBox.h:80
Variant type that can hold Any other type.
Definition: OgreAny.h:60
Definition: OgreLodCollapser.h:40
virtual void detachDepthBuffer(void)
static const IdString UvDiffuse2
Definition: OgreUnlitProperty.h:77
virtual ~GeometryBucket()
const Vector3 & getVertex(size_t poly, size_t vertex) const
Returns a specific vertex of a polygon.
static void convertWorldToTerrainAxes(Alignment align, const Vector3 &worldVec, Vector3 *terrainVec)
Utility method to convert axes from world space to terrain space (xy terrain, z up)
void setNamedConstant(const String &name, int val)
Sets a single value constant integer parameter to the program.
virtual void _setTextureCS(uint32 slot, bool enabled, Texture *texPtr)
Binds a regular texture to a Compute Shader.
ExternalTextureSource()
Constructor.
ArrayVector3 mDirection
Definition: OgreArrayRay.h:40
bool intersects(const Vector3 &v) const
Returns whether or not this sphere intersects a point.
Definition: OgreSphere.h:94
OctreeZone(PCZSceneManager *, const String &)
void destroyVertexTrack(unsigned short handle)
Destroys the Vertex track with the given handle.
virtual void removeAnimation(const String &name)
Removes vertex Animation from this mesh.
const String & getMovableType(void) const
@ ACT_PACKED_TEXTURE_SIZE
Provides packed texture size of the texture unit (index determined by setAutoConstant call).
Definition: OgreGpuProgramParams.h:1325
static const IdString BlendModeIndex13
Definition: OgreUnlitProperty.h:122
Base class for GL Render Textures.
Definition: OgreGLES2RenderTexture.h:54
RenderWindow * getAutoCreatedWindow(void)
Retrieves a pointer to the window that was created automatically.
static const IdString GlAmdTrinaryMinMax
Definition: OgreHlms.h:872
virtual void abortAllRequests()
Abort all previously issued requests.
void _removeFromDynamicBatchList(InstanceBatch *batch)
Called when a previously dynamic InstanceBatch went static (.
Real getMaxSupportedAnisotropy()
Get the maximum supported anisotropic filtering.
Definition: OgreRenderSystemCapabilities.h:784
void resize(unsigned int width, unsigned int height)
Alter the size of the window.
void create(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams)
Creates & displays the new window.
void doSet(void *target, const String &val)
static const ArrayVector3 UNIT_X
Definition: C/OgreArrayVector3.h:346
virtual void convertPath(String &inOutPath) const
Some implementations (i.e.
Definition: OgreAPKZipArchive.h:66
ProgramProcessor()
Class constructor.
void _initialise(bool forceReinitialise=false)
Try to initialise the Entity from the underlying resources.
static CommandBufferExecuteFunc execute_lowLevelMaterial
Definition: OgreCommandBuffer.h:97
virtual DataStreamPtr create(const String &filename)
Create a new file (or overwrite one already there).
const TempBlendedBufferInfo * _getVertexAnimTempBufferInfo(void) const
~LightFactory()
Definition: OgreLight.h:607
virtual void bindBufferCS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
static CmdBlueAdjust1 msBlueCmd1
Definition: OgreColourFaderAffector2.h:190
CGProgramWriter()
Class constructor.
void setEsmK(uint16 K)
Sets the 'K' parameter of ESM filter.
void setHSB(Real hue, Real saturation, Real brightness)
Set a colour value from Hue, Saturation and Brightness.
Vector3 getDerivedRight(void) const
Gets the derived right vector of the camera, including any rotation inherited from a node attachment ...
map< String, PageContentCollectionFactory * >::type ContentCollectionFactoryMap
Definition: OgrePageManager.h:206
const double * getDoublePointer(size_t pos) const
Get a pointer to the 'nth' item in the double buffer.
Definition: OgreGpuProgramParams.h:767
static GpuProgramManager & getSingleton(void)
Override standard Singleton retrieval.
virtual int getNumBillboards(void) const
Returns the number of active billboards which currently make up this set.
virtual_l2 Vector3 _getDerivedScale(void) const
Gets the scaling factor of the node as derived from all parents.
void setFragmentProgram(const String &name, bool resetParams=true)
Sets the details of the fragment program to use.
const String & getLodStrategyName(void) const
Returns the name of the Lod strategy the user lod values have been calibrated for.
Definition: OgreMesh.h:511
void unregisterThread()
Unregister an additional thread which may make calls to rendersystem-related objects.
uint32 getSrcHeight(void) const
Returns the height of the original input texture (may differ due to hardware requirements).
Definition: OgreTexture.h:233
void setLastVisibleFromCamera(PCZCamera *camera)
Definition: OgrePCZSceneNode.h:112
const void * _getInitialData(void) const
Definition: OgreD3D11BufferInterface.h:63
const String & getType(void) const
Get the type of the object to be created.
@ OPT_1
Optimisation level 1.
Definition: OgreD3D9HLSLProgram.h:156
uint32 uavSlot
The slot must be in range [0; 64) and ignores the starting slot (.
Definition: OgreCompositorPassDef.h:145
void setTessellationDomainProgramConstantIntCount(ushort c)
The number of integer constants tessellation Domain programs support.
Definition: OgreRenderSystemCapabilities.h:887
virtual String getDisplayName(void)
void widenRectByVector(const Vector3 &vec, const Rect &inRect, Real minHeight, Real maxHeight, Rect &outRect)
Widen a rectangular area of terrain to take into account an extrusion vector, but specify the min / m...
@ RenderTarget
Definition: OgreResourceTransition.h:51
TextureBlend()
Definition: OgreShaderExLayeredBlending.h:95
void setNeighbour(NeighbourIndex index, Terrain *neighbour, bool recalculate=false, bool notifyOther=true)
Set a terrain's neighbour, or null to detach one.
GLenum destBlend
Definition: OgreGL3PlusHlmsPso.h:56
void destroy(void)
Destroys the window.
WorldFragmentType
This type can be used by collaborating applications & SceneManagers to agree on the type of world geo...
Definition: OgreSceneQuery.h:77
virtual void calculateHashFor(Renderable *renderable, uint32 &outHash, uint32 &outCasterHash)
Called by the renderable when either it changes the material, or its properties change (e....
Destination(BufferPacked *_destination, size_t _dstOffset, size_t _srcOffset, size_t _length)
Definition: OgreStagingBuffer.h:92
Factory object for creating Light instances.
Definition: OgreLight.h:600
Class for manipulating bit patterns.
Definition: OgreBitwise.h:50
MapIterator< SettingsMultiMap > SettingsIterator
Definition: OgreConfigFile.h:88
VertexAnimationType getAnimationType(void) const
Get the type of vertex animation we're performing.
Definition: OgreAnimationTrack.h:621
Real skirtFactor
Factor for the skirt length generation.
Definition: OgreVolumeChunk.h:71
Factory class for particle emitter of type "Ring".
Definition: OgreRingEmitterFactory.h:44
void save(DataStreamPtr &dataStream, const HlmsPropertyVec &properties)
@ GCT_UINT2
Definition: OgreGpuProgramParams.h:108
virtual void yaw(const Radian &angle, TransformSpace relativeTo=TS_LOCAL)
Rotate the OldNode around the Y-axis.
void destroyProbe(CubemapProbe *probe)
AxisAlignedBox(Real mx, Real my, Real mz, Real Mx, Real My, Real Mz)
Definition: OgreAxisAlignedBox.h:120
const MaterialPtr & getCustomShadowReceiverMaterial(const SkinningType skinningType, ushort index) const
Returns the name of a custom shadow receiver material for a given number of weights.
bool hasVertexAnimation(void) const
Returns whether or not this mesh has some kind of vertex animation.
@ AmbientAuto
Use fixed-colour ambient lighting when upper hemisphere = lower hemisphere, use hemisphere lighting w...
Definition: OgreHlmsPbs.h:89
void reset(uint64 timeMs)
Definition: OgreFrameStats.h:104
static String Type
Definition: OgreShaderFFPLighting.h:86
Root(const String &pluginFileName="plugins" OGRE_BUILD_SUFFIX ".cfg", const String &configFileName="ogre.cfg", const String &logFileName="Ogre.log")
Constructor.
const String & getName() const
Definition: OgreHardwareCounterBuffer.h:62
SharedPtr(Y *rep, SharedPtrFreeMethod inFreeMethod=SPFM_DELETE)
Constructor.
Definition: OgreSharedPtr.h:167
Atom mAtomFullScreen
Definition: OgreX11EGLSupport.h:161
Vector3(const Real fX, const Real fY, const Real fZ)
Definition: OgreVector3.h:65
void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
virtual ~MeshSerializerImpl_v2_1_R0()
virtual void markProfileEvent(const String &eventName)
Marks an instantaneous event for graphics profilers.
D3D9HardwareBufferManager()
Definition: OgreD3D9HardwareBufferManager.h:69
Definition: OgreCbDrawCall.h:55
void requestOptions(Terrain *terrain)
Request the options needed from the terrain.
void setManualValue(const Matrix4 &value)
virtual void removeChild(Node *child)
Drops the specified child from this node.
Definition: OgreX11EGLSupport.h:91
bool isInitialised(void) const
Gets whether the overlay is initialised or not.
Definition: OgreOverlay.h:120
const Vector3 getCenterBackTop(void) const
Gets the center of the corners 4, 5.
Definition: OgreVolumeOctreeNode.h:346
static T * getSingletonPtr(void)
Definition: OgreSingleton.h:92
static bool removeDirectory(const Ogre::String &name)
Delete a directory.
Definition: OgreVertexIndexData.h:239
void frameEnded(void)
Called when the frame has fully ended (ALL passes have been executed to all RTTs)
bool getPassFogStates(void) const
Returns whether a fragment program wants fog state to be passed through fixed pipeline low level API ...
virtual bool getDynamic(void) const
Gets whether or not the buffers created for this object are suitable for dynamic alteration.
Definition: OgreBillboardChain.h:202
const Pass * getCurrentPass(void) const
Block(size_t _offset, size_t _size)
Definition: OgreD3D11VaoManager.h:52
void setTextureTransform(const Matrix4 &xform)
Sets a matrix used to transform any texture coordinates on this layer.
void _setRenderTarget(RenderTarget *target, uint8 viewportRenderTargetFlags)
Set current render target to target, enabling its GL context if needed.
This is a class that is the base class of the query class for hardware occlusion.
Definition: OgreGL3PlusHardwareOcclusionQuery.h:66
ParticleSystemFactory * _getFactory(void)
Get an instance of ParticleSystemFactory (internal use).
Definition: OgreParticleSystemManager.h:353
Define the interface to a factory class that will create subclasses of PageContentCollection.
Definition: OgrePageContentCollectionFactory.h:48
GL3PlusFBOManager * getManager()
Definition: OgreGL3PlusFrameBufferObject.h:82
void setHeight(Real height)
Sets the height of this element in relation to the screen (where 1.0 = screen height)
void _firstUpload(const void *data, size_t elementStart, size_t elementCount)
Only use this function for the first upload.
virtual StagingStallType uploadWillStall(size_t sizeBytes)
Returns true if our next call to @map() with the same parameters will stall.
MetalNullTextureTarget(MetalNullTexture *ultimateTextureOwner, const String &name, v1::HardwarePixelBuffer *buffer, uint32 zoffset)
size_t uintBufferSize
Total size of the uint buffer required.
Definition: OgreGpuProgramParams.h:485
virtual ~PagedWorldSection()
virtual const String & getSource(void) const
Gets the assembler source for this program.
Definition: OgreGpuProgram.h:268
virtual void applyDeltaValue(const ColourValue &)
Apply delta value.
Definition: OgreAnimable.h:214
Vector2(const int afCoordinate[2])
Definition: OgreVector2.h:80
@ PF_ASTC_RGBA_4X4_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 4x4)
Definition: OgrePixelFormat.h:261
_OgreExport FailBehavior ReportFailure(const char *condition, const char *file, int line, const char *msg,...)
void deleteInputParameter(ParameterPtr parameter)
Delete input parameter from this function.
void setHardwareSkinningParam(ushort boneCount, ushort weightCount, SkinningType skinningType=ST_LINEAR, bool correctAntipodalityHandling=false, bool scalingShearingSupport=false)
Set the hardware skinning parameters.
GLuint getStencilBuffer() const
Definition: OgreGLES2DepthBuffer.h:69
void unmap(void)
Unmaps the pointer mapped with map().
Real getCosTime_0_X(Real x) const
SmallVector(ItTy S, ItTy E)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:923
Command object for particle_height (see ParamCommand).
Definition: OgreParticleSystem.h:106
void addNodeAlias(IdString alias, IdString nodeName)
An alias is explicitly used when the user wants to use multiple, independent instances of the same no...
const LightClosestArray & getShadowCastingLights(void) const
Definition: OgreCompositorShadowNode.h:276
BackgroundProcessResult()
Definition: OgreResourceBackgroundQueue.h:58
virtual size_t getSize(void) const
Retrieves info about the size of the resource.
Definition: OgreResource.h:313
uint32 getNumCollectedProbes(void) const
Definition: OgreParallaxCorrectedCubemap.h:237
Manager for Dynamic-loading Libraries.
Definition: OgreDynLibManager.h:49
bool setOption(const String &, const void *)
Sets the options for the Zone.
virtual AsyncTicketPtr createAsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)
const T * const_pointer
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:242
GeneralAllocatedObject ConfigAlloc
Definition: OgreMemoryAllocatorConfig.h:304
void _update(bool updateChildren, bool parentHasChanged)
Overridden from Node.
virtual void setFindVisibleObjects(bool find)
Sets whether the SceneManager should search for visible objects, or whether they are being manually h...
Definition: OgreSceneManager.h:3045
virtual Real getSquaredViewDepth(const Camera *cam) const
Helper function, get the squared view depth.
~GL3PlusDefaultHardwareBufferManagerBase()
void invalidate(D3D9RenderWindow *renderWindow)
OctreeSceneManagerFactory()
Definition: OgreOctreeSceneManager.h:219
void setMaxVertexCount(unsigned int maxVertexCount)
Set the maximum number of vertices that the buffer will hold.
Definition: OgreRenderToVertexBuffer.h:75
XVisualInfo * getVisualFromFBConfig(::EGLConfig glConfig)
int colormap
Definition: OgreX11EGLSupport.h:90
bool _fireFrameRenderingQueued()
Method for raising frame rendering queued events.
Matrix4 getAsMatrix4(size_t index) const
STRONGLY Prefer using.
Definition: C/OgreArrayMatrix4.h:106
bool getPrepareAllMeshesForShadowVolumes(void)
Retrieves whether all Meshes should prepare themselves for shadow volumes.
int8 kernelEndY
Definition: OgreImageDownsampler.h:220
D3D9Driver(unsigned int adapterNumber, const D3DCAPS9 &deviceCaps, const D3DADAPTER_IDENTIFIER9 &adapterIdentifer, const D3DDISPLAYMODE &desktopDisplayMode)
String DisplayString
Definition: OgreOverlayElement.h:52
bool isShadowMapIdxInValidRange(uint32 shadowMapIdx) const
static ArchiveManager * getSingletonPtr(void)
Override standard Singleton retrieval.
list< AnimationState * >::type EnabledAnimationStateList
Definition: OgreAnimationState.h:192
CategorisedAllocPolicy< Ogre::MEMCATEGORY_RESOURCE > ResourceAllocPolicy
Definition: OgreMemoryAllocatorConfig.h:270
String name
Definition: OgreHlms.h:97
PlanarReflectionActor(const Vector3 ¢er, const Vector2 &halfSize, const Quaternion orientation)
Definition: OgrePlanarReflectionActor.h:117
void generateAutoconfiguredLodLevels(v1::MeshPtr &mesh)
Generates the Lod levels for a mesh without configuring it.
void beginOcclusionQuery()
Starts the hardware occlusion query.
TexBufferPacked * getPoseTexBuffer()
Definition: OgreSubMesh2.h:213
void removeUavUnit(uint8 slotIdx)
Destroys a given texture unit, displacing all the higher tex units.
virtual void freeInternalResourcesImpl(void)
free internal resources
size_t getConstBufferMaxSize(void) const
Definition: OgreVaoManager.h:362
static void applyGamma(uchar *buffer, Real gamma, size_t size, uchar bpp)
Does gamma adjustment.
bool mMaterialIsHlms
Definition: OgreCompositorPassQuadDef.h:103
static PolygonMode parsePolygonMode(const char *value)
virtual bool load(StreamSerialiser &stream)=0
Load this data from a stream (returns true if successful)
Radian angleBetween(const Vector3 &dest) const
Gets the angle between 2 vectors.
Definition: OgreVector3.h:647
@ AmbientFixed
Force fixed-colour ambient light. Only uses the upper hemisphere paramter.
Definition: OgreHlmsPbs.h:92
virtual void passEventRaised(MaterialSerializer *ser, MaterialSerializer::SerializeEvent event, bool &skip, const Pass *tech)
Real getTileY(ushort layer=0) const
Gets the number of times the texture should repeat vertically.
Definition: OgreD3D11VertexArrayObject.h:53
Vector3 getMinimum() const
Gets the minimum corner of the box.
Information about one element of a sampler / texture within a layer.
Definition: OgreTerrainMaterialGenerator.h:71
virtual void lodUpdateImpl(const size_t numNodes, ObjectData t, const Camera *camera, Real bias) const
virtual bool requiresTextureFlipping() const
Definition: OgreNULLRenderWindow.h:56
@ GPV_LIGHTS
Varies with light setup.
Definition: OgreGpuProgramParams.h:133
Defines a part of a complete mesh.
Definition: OgreSubMesh2.h:61
void _createSurfaceList(void)
internal method, create D3D11HardwarePixelBuffers for every face and mipmap level.
void destroySkeletonInstance(SkeletonInstance *skeletonInstance)
virtual uchar getPriority() const
Gets the priority of a render target.
Definition: OgreRenderTarget.h:269
map< String, OverlayElement * >::type ChildMap
Definition: OgreOverlayContainer.h:59
static CommandBufferExecuteFunc execute_drawCallStripEmulated
Definition: OgreCommandBuffer.h:72
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
uint16 mLifetimeId
Except for HlmsSamplerblocks, mLifetimeId is valid throghout the entire life of HlmsManager.
Definition: OgreHlmsDatablock.h:62
Represents Indirect buffers for storing draw call commands.
Definition: OgreIndirectBufferPacked.h:39
void setContentType(ContentType ct)
Set the type of content this TextureUnitState references.
@ SBT_REPLACE
The default blend mode where source replaces destination.
Definition: OgreBlendMode.h:226
const void * map(void)
Maps the buffer for CPU access.
void resetToPose(void)
Resets the transform of all bones to the binding pose. Manual bones are not reset.
bool correctAntipodalityHandling
Definition: OgreShaderExHardwareSkinning.h:69
virtual void prepare(LodData *data)
void _firstUpload(void *data, size_t elementStart, size_t elementCount)
Only use this function for the first upload.
bool isVertexBufferShadowed(void) const
Gets whether or not this meshes vertex buffers are shadowed.
Definition: OgreMesh2.h:396
static VertexBufferPacked msDummyVertexBuffer
When a Vao doesn't have a vertex buffer, a dummy one is assigned for performance reasons (avoid check...
Definition: OgreVertexArrayObject.h:241
TextureAtlasSamplerFactory()
This singleton class manages the list of resource groups, and notifying the various resource managers...
Definition: OgreResourceGroupManager.h:262
@ UNLIT_BLEND_LIGHTEN
Definition: OgreHlmsUnlitPrerequisites.h:72
Interface for custom composition passes, allowing custom operations (in addition to the quad,...
Definition: OgreCustomCompositionPass.h:46
@ RSC_HWOCCLUSION
Supports hardware occlusion queries.
Definition: OgreRenderSystemCapabilities.h:107
void setTargetPortal(Portal *portal)
Set the target portal pointer.
Side getSide(const Vector3 ¢re, const Vector3 &halfSize) const
Returns which side of the plane that the given box lies on.
Definition: OgreEGLWindow.h:39
static const uint16 TERRAINLAYERINSTANCE_CHUNK_VERSION
Definition: OgreTerrain.h:289
TerrainLayerDeclaration layerDeclaration
Definition of the contents of each layer (required).
Definition: OgreTerrain.h:396
void destroySceneManager(SceneManager *sm)
Destroy an instance of a SceneManager.
static HighLevelGpuProgramManager & getSingleton(void)
Override standard Singleton retrieval.
Vector4()
Default constructor.
Definition: OgreVector4.h:55
AllocatedObject< GeometryAllocPolicy > GeometryAllocatedObject
Definition: OgreMemoryAllocatorConfig.h:279
bool isInitialised(void) const
Returns a pointer to the set of entities which share a OldSkeletonInstance.
Definition: OgreItem.h:239
virtual unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
Definition: OgreGLES2Support.h:140
virtual void clearMicrocodeCache(void)
Deletes all microcodes. Useful when hot reloading.
size_t indexInAtlas
Definition: OgreShaderExTextureAtlasSampler.h:65
This class will mark vertices of a mesh, which are visible from far away (from outside).
Definition: OgreLodOutsideMarker.h:40
virtual void waitForSpecificFrameToFinish(uint32 frameCount)
Waits for a specific frame to be ready.
vector< RenderWindowDescription >::type RenderWindowDescriptionList
Render window creation parameters container.
Definition: OgreCommon.h:939
unsigned int getCurrentFrame(void) const
Gets the active frame in an animated or multi-image texture layer.
AreaOfInterestVec mAoI
Definition: OgreInstantRadiosity.h:195
HlmsManager * mHlmsManager
Definition: OgreHlmsDiskCache.h:170
void seek(size_t pos)
Repositions the read point to a specified byte.
bool canHandleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
Implementation for WorkQueue::ResponseHandler.
static String FACTORY_TYPE_NAME
Definition: OgreBillboardSet.h:847
static const uint16 WORKQUEUE_GENERATE_MATERIAL_REQUEST
Definition: OgreTerrain.h:1547
void link(const RenderState &other, Pass *srcPass, Pass *dstPass)
Link this target render state with the given render state.
@ PF_DXT2
DDS (DirectDraw Surface) DXT2 format.
Definition: OgrePixelFormat.h:114
virtual void setValue(Real)
Set value.
Definition: OgreAnimable.h:152
Real valueDegrees() const
Definition: OgreMath.h:111
Defines an object property which is animable, i.e.
Definition: OgreAnimable.h:73
Definition: OgreScriptTranslator.h:233
PCZSceneManager(const String &name)
Standard Constructor.
void getTemplateChecksum(uint64 outHash[2]) const
@ ID_MIPMAP_METHOD
Definition: OgreScriptCompiler.h:941
virtual void defineTerrain(long x, long y, const float *pFloat, const Terrain::LayerInstanceList *layers=0)
Define the content of a 'slot' in the terrain grid.
bool getWBufferEnabled(void) const
Returns true if the renderer will try to use W-buffers when available.
HlmsTextureManager::MetadataCacheMap & getTextureMetadataCache(void)
Definition: OgreHlmsTextureManager.h:390
Bone * getChild(size_t index)
Gets a pointer to a child node.
Definition: OgreBone.h:148
@ ID_ALWAYS_PASS
Definition: OgreScriptCompiler.h:674
virtual const String & getTypeName(void) const =0
Retrieve the type name of this scene manager.
@ OT_PATCH_22_CONTROL_POINT
Definition: OgreHlmsPso.h:81
Definition: OgreCodec.h:64
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
void profileBegin(const char *name, ProfileSampleFlags::ProfileSampleFlags flags)
bool _isTwiceSize(const AxisAlignedBox &box) const
Determines if this octree is twice as big as the given box.
virtual ~CompositorPassMipmap()
@ ID_TESSELLATION_DOMAIN
Definition: OgreScriptCompiler.h:981
virtual int32 getCellRangeMinX() const
get the index range of all cells (values outside this will be ignored)
Definition: OgreGrid2DPageStrategy.h:188
RenderWindow * _createRenderWindow(const String &name, unsigned int width, unsigned int height, bool fullScreen, const NameValuePairList *miscParams=0)
Creates a new rendering window.
void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
Definition: OgreBspNode.h:148
size_t getNumWorkerThreads() const
Definition: OgreSceneManager.h:1120
size_t write(const void *buf, size_t count)
Write the requisite number of bytes from the stream (only applicable to streams that are not read-onl...
@ ACT_INVERSE_TRANSPOSE_WORLDVIEWPROJ_MATRIX
Provides inverse transpose of concatenated world, view and projection matrices.
Definition: OgreGpuProgramParams.h:987
virtual ~Listener()
Definition: OgreAnimationTrack.h:135
void addTemplate(const String &name, ParticleSystem *sysTemplate)
Adds a new particle system template to the list of available templates.
virtual void setSceneManager(SceneManager *sm)
Change the SceneManager.
Resource holding data about 3D mesh.
Definition: OgreMesh.h:89
size_t readLine(char *buf, size_t maxCount, const String &delim="\n")
Get a single line from the stream.
static ArrayMaskR getMask(bool booleans[1])
virtual void addLinkedSkeletonAnimationSource(const String &skelName, Real scale=1.0f)
Allows you to use the animations from another Skeleton object to animate this skeleton.
void _notifyAttached(Node *parent, bool isTagPoint=false)
Called when attached to a scene node.
Definition: OgrePortalBase.h:214
@ NUM_BASIC_BLOCKS
Definition: OgreHlmsDatablock.h:49
size_t getFirstNode(BoneTransform &outTransform, size_t depth)
Retrieves a Transform pointing to the first Node in the given depth.
~Stream()
Definition: OgreLog.h:227
virtual void setManualNamedConstants(const GpuNamedConstants &namedConstants)
Allows you to manually provide a set of named parameter mappings to a program which would not be able...
virtual uint16 getBitDepth() const
@ MS_UNMAPPED
Definition: OgreBufferPacked.h:67
@ QueryFlags
Definition: OgreArrayMemoryManager.h:375
Class for serialising mesh data to/from an OGRE .mesh file.
Definition: OgreMeshSerializer.h:95
@ SHADOWMAP_PLANEOPTIMAL
Definition: OgreCompositorShadowNodeDef.h:50
@ PASS_SCENE
Definition: OgreCompositorPassDef.h:51
Vector3 yAxis(void) const
Returns the Y orthonormal axis defining the quaternion.
bool operator!=(const Plane &rhs) const
Definition: OgrePlane.h:159
float getWorldRadiusUpdated()
Gets the bounding Radius scaled by max( scale.x, scale.y, scale.z ).
iterator end()
Definition: OgreCommon.h:503
RenderSysAllocatedObject RenderSysAlloc
Definition: OgreMemoryAllocatorConfig.h:325
bool getCompilationRequired() const
Gets the compilation status of the material.
Definition: OgreMaterial.h:551
void *RESTRICT_ALIAS_RETURN map(size_t start, size_t count, size_t &outTicket)
Assumes mVboName is already bound to GL_COPY_WRITE_BUFFER!!!
unsigned long getNextFrameNumber(void) const
Gets the number of the next frame to be rendered.
Definition: OgreRoot.h:897
Predefined controller function which just passes through the original source directly to dest.
Definition: OgrePredefinedControllers.h:174
vector< QueuedGeometry * >::type QueuedGeometryList
Definition: OgreStaticGeometry.h:182
unordered_map< String, OldNode * >::type ChildOldNodeMap
Definition: OgreOldNode.h:78
GLES2HardwareVertexBuffer(HardwareBufferManagerBase *mgr, size_t vertexSize, size_t numVertices, HardwareBuffer::Usage usage, bool useShadowBuffer)
bool isShaderProfileSupported(const String &profile) const
Returns true if profile is in the list of supported profiles.
Definition: OgreRenderSystemCapabilities.h:612
bool isCompressedStreamValid() const
Returns whether the compressed stream is valid deflated data.
Definition: OgreDeflate.h:132
@ SO_GOURAUD
Definition: OgreCommon.h:251
const Quaternion & getRealOrientation(void) const
Gets the real world orientation of the camera, including any rotation inherited from a node attachmen...
void removeAllStrategies()
Remove and delete all strategies from the manager.
void buildFrom(const SubMesh *baseSubMesh, const RenderOperation &renderOperation)
@ LightGatherDeferred
Definition: OgreHlms.h:89
void setColumnMajorMatrices(bool columnMajor)
Sets whether matrix packing in column-major order.
Definition: OgreD3D11HLSLProgram.h:344
ShadowTextureDefinition * getShadowTextureDefinitionNonConst(size_t texIndex)
Definition: OgreCompositorShadowNodeDef.h:188
virtual void setPageRangeMaxX(int32 maxX)
Set the index range of all Pages (values outside this will be ignored)
FORCEINLINE const SimpleMatrixAf4x3 & _getBoneFullTransform(size_t index) const
Gets full transform of a bone by its index.
Definition: OgreSkeletonInstance.h:152
void doSet(void *target, const String &val)
Aabb getWorldAabbUpdated()
Gets the axis aligned box in world space.
const Matrix4 & getWorldViewProjMatrix(void) const
virtual void _makeProjectionMatrix(const Radian &fovy, Real aspect, Real nearPlane, Real farPlane, Matrix4 &dest, bool forGpuProgram=false)=0
Builds a perspective projection matrix suitable for this render system.
Command object for setting macro defines.
Definition: OgreGLSLESShader.h:61
size_t getRTShaderSchemeCount() const
Returns the amount of schemes used in the for RT shader generation.
GLenum sourceBlendAlpha
Definition: OgreGL3PlusHlmsPso.h:57
Definition: OgreLodData.h:81
static bool _isDynamic(v1::HardwareBuffer::Usage usage)
void extractUniformsFromProgram(GLuint programObject, const GpuConstantDefinitionMap *vertexConstantDefs, const GpuConstantDefinitionMap *hullConstantDefs, const GpuConstantDefinitionMap *domainConstantDefs, const GpuConstantDefinitionMap *geometryConstantDefs, const GpuConstantDefinitionMap *fragmentConstantDefs, const GpuConstantDefinitionMap *computeConstantDefs, GLUniformReferenceList &uniformList, GLAtomicCounterReferenceList &counterList, GLUniformBufferList &uniformBufferList, SharedParamsBufferMap &sharedParamsBufferMap, GLCounterBufferList &counterBufferList)
Populate a list of uniforms based on an OpenGL program object.
void reinitialise()
Restart the renderer (normally following a change in settings).
virtual Light * createLight()
Creates a light for use in the scene.
static const IdString NormalMap
Definition: OgreHlmsPbsMobile.h:113
static D3D11DeviceResourceManager * get()
ColourInterpolatorAffector(ParticleSystem *psys)
Default constructor.
virtual void getFrustumExtents(Real &outleft, Real &outright, Real &outtop, Real &outbottom, FrustrumExtentsType frustrumExtentsType=FET_PROJ_PLANE_POS) const
Get the extents of the frustum in view space.
void setMoved(bool value)
Definition: OgrePCZSceneNode.h:120
const CompositorWorkspaceDef * getDefaultWorkspaceDef(void) const
@ Owner
Definition: OgreArrayMemoryManager.h:366
vector< CompositorChannel >::type CompositorChannelVec
Definition: OgreCompositorChannel.h:69
vector< Archive * >::type ArchiveVec
Definition: OgreArchive.h:223
Defines an instance of a discrete, movable object based on a Mesh.
Definition: OgreItem.h:82
const_reference operator[](unsigned idx) const
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:322
Real getSquaredViewDepth(const Camera *cam) const
void _notifyEntityMaterialLodChanged(EntityMaterialLodChangedEvent &evt)
Notify that an entity material LOD change event has occurred.
virtual uint32 fillBuffersFor(const HlmsCache *cache, const QueuedRenderable &queuedRenderable, bool casterPass, uint32 lastCacheHash, uint32 lastTextureHash)=0
Fills the constant buffers.
VertexElement2Vec vertexElements
Definition: OgreGLES2VaoManager.h:101
virtual void applyDeltaValue(const Vector3 &)
Apply delta value.
Definition: OgreAnimable.h:202
virtual String toString() const
Returns the string representation of this parameter.
Definition: OgreShaderParameter.h:341
void endOcclusionQuery()
Ends the hardware occlusion test.
@ ID_CUBIC
Definition: OgreScriptCompiler.h:726
ArchiveVec getPiecesLibraryAsArchiveVec(void) const
ValueType
The type of the value being animated.
Definition: OgreAnimable.h:77
int getTrueTypeMaxBearingY() const
Gets the maximum baseline distance of all glyphs used in the texture.
void unregisterPCZoneFactory(PCZoneFactory *factory)
@ OT_PATCH_6_CONTROL_POINT
Definition: OgreHlmsPso.h:65
virtual void notifyDestroyed(const CompositorChannel &channel)
@See CompositorNode::notifyDestroyed
void clearStoredErrorMessages() const
StreamSerialiser * _readPageStream(PageID pageID, PagedWorldSection *section)
Get a serialiser set up to read Page data for the given PageID.
void removeNameExclusion(const String &type)
Removes a name exclusion.
void destroyWorkspace(void)
@ ExponentialShadowMaps
High quality.
Definition: OgreHlmsPbs.h:79
Vector3 mDirection
Normalised direction vector.
Definition: OgreBillboard.h:84
Helper class to assist you in managing multiple terrain instances that are connected to each other.
Definition: OgreTerrainGroup.h:73
String message
Any messages from the process.
Definition: OgreResourceBackgroundQueue.h:56
RenderQueue(HlmsManager *hlmsManager, SceneManager *sceneManager, VaoManager *vaoManager)
const Real * ptr() const
Pointer accessor for direct copying.
Definition: OgreQuaternion.h:130
ContentType
Enum identifying the type of content this texture unit contains.
Definition: OgreTextureUnitState.h:460
virtual ~MetalTextureManager()
static Real UnitRandom()
Generate a random number of unit length.
void removeGPUVendorRule(GPUVendor vendor)
Removes a matching vendor rule.
void allocateVertexBuffers(Terrain *forTerrain, size_t numVertices, HardwareVertexBufferSharedPtr &destPos, HardwareVertexBufferSharedPtr &destDelta)
Allocate (or reuse) vertex buffers for a terrain LOD.
const Radian & operator+() const
Definition: OgreMath.h:64
CompositorTexture(IdString _name, const TextureVec *_textures)
Definition: OgreCompositorPass.h:56
virtual void _renderEmulated(const CbDrawCallStrip *cmd)
void migrateTo(ObjectData &inOutTransform, size_t renderQueue, ObjectMemoryManager *dstObjectMemoryManager)
Releases memory belonging to us, not before copying it into another manager.
void readRequests(ReadRequestsArray &requests, size_t elementStart=0, size_t elementCount=0, bool skipRequestIfBufferHasShadowCopy=false)
Utility to get multiple pointers & read specific elements of the vertex, even if they're in separate ...
D3D11NullTexture(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual, ManualResourceLoader *loader, D3D11Device &device)
constructor
void setLayerNormalMappingEnabled(bool enabled)
Whether to support normal mapping per layer in the shader (default true).
Real lodBias
Definition: OgreSceneManager.h:194
const String & getType(void) const
Returns the name of the type of emitter.
Definition: OgreParticleEmitter.h:430
@ VET_COLOUR
alias to more specific colour type - use the current rendersystem's colour packing
Definition: OgreVertexElements.h:77
virtual Real getMaximumDepthInputValue(void)=0
Gets the maximum (farthest) depth value to be used when rendering using identity transforms.
void setFullscreen(bool fullScreen, unsigned int width, unsigned int height)
Alter fullscreen mode options.
static const String & getPointLightExtruderVs_glsl(void)
Get extruder program source for point lights, compatible with glsl.
Definition: OgreShadowVolumeExtrudeProgram.h:239
unsigned short getNumPoints(void) const
Gets the number of control points in the spline.
static ResourceBackgroundQueue * getSingletonPtr(void)
Override standard Singleton retrieval.
Command object for OverlayElement - see ParamCommand.
Definition: OgreOverlayElementCommands.h:88
static ArrayMaskR getAllSetMask(void)
@ PF_FLOAT16_RGB
48-bit pixel format, 16 bits (float) for red, 16 bits (float) for green, 16 bits (float) for blue
Definition: OgrePixelFormat.h:124
CachedGridBuffer()
Definition: OgreForwardPlusBase.h:66
void unload()
Unload the terrain and free GPU resources.
void setToSign()
Converts the vector to (sign(x), sign(y), sign(z))
static String DEFAULT_SCHEME_NAME
Default material scheme of the shader generator.
Definition: OgreShaderGenerator.h:499
virtual const Any & getUserAny(void) const
Definition: OgreOldNode.h:732
static ArrayReal InvSqrt4(ArrayReal f)
Returns the squared root of the reciprocal of x.
Definition: OgreMathlibC.h:355
bool isStillOutstanding(void)
Lets you know when query is done, or still be processed by the Hardware.
Matrix4 getInverseTransposeWorldViewProjMatrix() const
virtual void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
virtual void _endFrame(void)
Ends rendering of a frame to the current viewport.
void setBounce(Real bounce)
Sets the bounce value of the deflection.
const TexturePtr & getNormalTexture(void) const
virtual bool hasAnisotropicMipMapFilter() const
Determines if the system has anisotropic mip map filter support.
Definition: OgreD3D9RenderSystem.h:393
virtual ~NULLStagingBuffer()
void push_back(const T &Elt)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:518
void _notifyAllResourcesRemoved(ResourceManager *manager)
Internal method called by ResourceManager when all resources for that manager are removed.
virtual ~D3D11DepthTexture()
destructor
@ ID_ARRAY_INDEX
Definition: OgreScriptCompiler.h:960
UniformParameterPtr resolveAutoParameterReal(GpuProgramParameters::AutoConstantType autoType, GpuConstantType type, Real data, size_t size=0)
Resolve uniform auto constant parameter with associated real data of this program.
virtual Portal * findMatchingPortal(Portal *)
Find a matching portal (for connecting portals)
A sampler block contains settings that go hand in hand with a texture, and thus are common to many te...
Definition: OgreHlmsSamplerblock.h:65
void removeAllTechniques(void)
Removes all the techniques in this Material.
size_t write(const void *buf, size_t count)
Write the requisite number of bytes from the stream (only applicable to streams that are not read-onl...
Definition: OgreD3D11HardwarePixelBuffer.h:40
static const IdString UvSpecular
Definition: OgreHlmsPbsMobile.h:139
bool is3D(void) const
Returns true if this texture layer uses a composite 3D cubic texture.
float uOffset
Definition: OgrePbsMobileShaderCreationData.h:47
@ M_SUBMESH_OPERATION
Definition: OgreMeshFileFormat.h:197
virtual void setAngle(const Radian &angle)
Sets the maximum angle away from the emitter direction which particle will be emitted.
void unprepare()
Unprepare node and children (perform CPU tasks, may be background thread)
void setMaterialName(const String &matName, const String &groupName=ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
Sets the name of the Material which this SubMesh will use.
ProcessNameExclusionScriptCompilerEvent(const String &cls, AbstractNode *parent)
Definition: OgreScriptCompiler.h:534
ItemIdentityException(int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
Definition: OgreException.h:223
void setParticleQuota(size_t quota)
Sets the maximum number of particles this system is allowed to have active at once.
virtual void _render(const CbDrawCallStrip *cmd)
const Request * mRequest
Pointer to the request that this response is in relation to.
Definition: OgreWorkQueue.h:126
@ PF_B8G8R8
24-bit pixel format, 8 bits for blue, green and red.
Definition: OgrePixelFormat.h:73
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
static D3D9StereoDriverBridge & getSingleton(void)
void notifyMaterialChanged(void)
Called when the Terrain changes its material.
void setForwardClustered(bool bEnable, uint32 width, uint32 height, uint32 numSlices, uint32 lightsPerCell, uint32 decalsPerCell, float minDistance, float maxDistance)
const GpuLogicalBufferStructPtr & getFloatLogicalBufferStruct() const
Get the current list of mappings from low-level logical param indexes to physical buffer locations in...
Definition: OgreGpuProgramParams.h:1834
virtual ~Listener()
Virtual destructor needed as class has virtual methods.
Definition: OgreMaterialManager.h:73
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
void handleResponse(const WorkQueue::Response *res, const WorkQueue *srcQ)
WorkQueue::ResponseHandler override.
void _cleanupDepthBuffers(IDirect3DDevice9 *creator)
void setMacroblock(const HlmsMacroblock *macroblock)
Calls to this function cannot be skipped unless you have a renderableHash.
virtual Real computeEdgeCollapseCost(LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge)=0
Returns the collapse cost of the given edge.
virtual int getExecutionOrder() const
@ ERR_INVALID_STATE
Definition: OgreException.h:109
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
Definition: OgreShaderFFPAlphaTest.h:104
iterator findExists(const T &item)
Definition: OgreVectorSetImpl.h:112
const String & getType(void) const
Gets the type of this renderer - must be implemented by subclasses.
@ RSC_COMPUTE_PROGRAM
Supports hardware compute programs.
Definition: OgreRenderSystemCapabilities.h:188
void save(DataStreamPtr &dataStream, const String &string)
CompositorManager2 * getCompositorManager()
Gets the compositor manager (non const)
void deleteFrameTextureName(const size_t frameNumber)
Deletes a specific texture frame.
@ SPC_LIGHTDIRECTION_VIEW_SPACE2
Definition: OgreShaderParameter.h:189
virtual NodeMemoryManager * getDefaultNodeMemoryManager(SceneMemoryMgrTypes sceneType)=0
void abortRequest(BackgroundProcessTicket ticket)
Aborts background process.
uint16 getNativeShadingLanguageVersion() const
Gets the native shading language version for this render system.
Definition: OgreRenderSystem.h:1148
virtual float * preparePassBuffer(const CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager, float *passBufferPtr)
Users can write to passBufferPtr.
Definition: OgreHlmsListener.h:124
DatablockEntry(HlmsDatablock *_datablock, bool _visibleToManager, const String &_name, const String &_srcFile, const String &_srcGroup)
Definition: OgreHlms.h:101
bool isHardwareAnimationEnabled(void)
Returns whether or not hardware animation is enabled.
Specialisation of HighLevelGpuProgram to provide support for D3D9 High-Level Shader Language (HLSL).
Definition: OgreD3D9HLSLProgram.h:44
virtual Technique * handleSchemeNotFound(unsigned short schemeIndex, const String &schemeName, Material *originalMaterial, unsigned short lodIndex, const Renderable *rend)=0
Called if a technique for a given scheme is not found within a material, allows the application to sp...
String doGet(const void *target) const
Concrete impl.
Definition: OgreOverlayProfileSessionListener.h:49
@ OT_PATCH_5_CONTROL_POINT
Definition: OgreHlmsPso.h:64
ShadowFilter
Definition: OgreHlmsPbs.h:64
static ArrayReal Min(ArrayReal a, ArrayReal b)
Returns the minimum value between a and b.
Definition: OgreMathlibC.h:299
IdString getTextureName() const
Definition: OgreCompositorShadowNodeDef.h:92
uint32 mMask
Definition: OgreParallaxCorrectedCubemap.h:72
const AutoConstantEntry * _findRawAutoConstantEntryInt(size_t physicalIndex)
Finds an auto constant that's affecting a given physical position in the integer buffer.
void _setTextureCoordCalculation(size_t unit, TexCoordCalcMethod m, const Frustum *frustum=0)
Sets a method for automatically calculating texture coordinates for a stage.
String doGet(const void *target) const
virtual void _renderCompositeMap(size_t size, const Rect &rect, const MaterialPtr &mat, const TexturePtr &destCompositeMap)
Helper method to render a composite map.
@ ID_CUBEMAP
Definition: OgreScriptCompiler.h:842
void _setLeft(Real left)
Sets the left of this element in relation to the screen (where 1.0 = screen width)
size_t offset
Definition: OgreNULLVaoManager.h:52
bool isDeactivatedOnFocusChange() const
Returns true if the window will automatically de-activate itself when it loses focus.
void setInfinite()
Sets the box to 'infinite'.
Definition: OgreAxisAlignedBox.h:549
@ TU_UAV_NOT_TEXTURE
Definition: OgreTexture.h:83
void convertWorldToUVSpace(const Vector3 &worldPos, Real *outX, Real *outY)
Helper method - convert a point in world space to UV space based on the terrain settings.
GpuProgram(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
bool mUpdateLodLists
When true, which Lod index is current will be updated.
Definition: OgreCompositorPassSceneDef.h:123
ValueType operator()() const
Definition: OgreAny.h:206
@ RenderDepth
Definition: OgreResourceTransition.h:52
int elem_count
Definition: OgreQuake3Types.h:192
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera, Viewport *vp)
Internal method to put the overlay contents onto the render queue.
void destroyVertexBuffer(VertexBufferPacked *vertexBuffer)
Destroys the given vertex buffer created with createVertexBuffer.
Contains information needed by PBS (Physically Based Shading) for OpenGL 3+ & D3D11+.
Definition: OgreHlmsPbsDatablock.h:187
AutoConstantType paramType
The type of parameter.
Definition: OgreGpuProgramParams.h:1419
XErrorHandler XSetErrorHandler(XErrorHandler xErrorHandler)
@ ID_DISCARD_ONLY
Definition: OgreScriptCompiler.h:906
GeometryAllocatedObject VertexArrayObjectAlloc
Definition: OgreMemoryAllocatorConfig.h:343
virtual const PixelBox & lock(const Box &lockBox, LockOptions options)
Lock the buffer for (potentially) reading / writing.
@ FT_MIN
The filter used when shrinking a texture.
Definition: OgreCommon.h:228
static uint16 floatToHalf(float i)
Convert a float32 to a float16 (NV_half_float) Courtesy of OpenEXR.
Definition: OgreBitwise.h:301
void convertPackedColour(VertexElementType srcType, VertexElementType destType)
Convert all packed colour values (VET_COLOUR_*) in buffers used to another type.
const String & getSource(void) const
Gets the source this font (either an image or a truetype font).
void clear()
Definition: OgreFastArray.h:274
SceneNode * getRootSceneNode(SceneMemoryMgrTypes sceneType=SCENE_DYNAMIC)
Gets the SceneNode at the root of the scene hierarchy.
static void packColour(const float r, const float g, const float b, const float a, const PixelFormat pf, void *dest)
Pack a colour value to memory.
static const Real INFINITE_FAR_PLANE_ADJUST
Small constant used to reduce far plane projection to avoid inaccuracies.
Definition: OgreFrustum.h:691
Real getSkyCurvature(void) const
Get sky curvature.
Structure for holding a position & orientation pair.
Definition: OgreSceneManager.h:67
virtual ~MetalRenderTexture()
static const IdString BrdfDefault
Definition: OgreHlmsPbs.h:403
virtual void setOrthoWindowHeight(Real h)
Sets the orthographic window height, for use with orthographic rendering only.
bool isTransparent(void) const
Returns true if this pass has some element of transparency.
bool hasCamera(Camera *c) const
Returns whether or not a given camera is being watched by the paging system.
Defines a listener on the custom events that this render system can raise.
Definition: OgreRenderSystem.h:1306
virtual void notifyRecreated(const UavBufferPacked *oldBuffer, UavBufferPacked *newBuffer)
void setVisibilityFlags(uint32 flags)
Sets the visibility flags of all the regions at once.
bool removeRenderWindow(const String &renderWindowName) const
void setAll(const Matrix4 &m)
Sets all packed matrices to the same value as the scalar input matrix.
Definition: C/OgreArrayMatrixAf4x3.h:91
Definition: OgreScriptTranslator.h:302
@ PF_DXT1
DDS (DirectDraw Surface) DXT1 format.
Definition: OgrePixelFormat.h:112
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:156
static const IdString NormalWeight
Definition: OgreHlmsPbsMobile.h:118
bool HasAutoMipMapGenerationEnabled() const
Definition: OgreD3D11DepthTexture.h:55
static String getDefaultStringLocale(void)
Definition: OgreStringConverter.h:294
virtual size_t getBatchCount(void) const
Gets the number of batches rendered in the last update() call.
String doGet(const void *target) const
virtual HlmsCache preparePassHash(const Ogre::CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager)
Called every frame by the Render Queue to cache the properties needed by this pass.
void autoUpdateLodAll(bool synchronous, const Any &data)
@ Items
Definition: OgreSceneFormatBase.h:55
void setDefaultStrategy(const String &name)
Set the default strategy by name.
void setCharHeight(Real height)
void _clearAllZonesPortalUpdateFlag(void)
Clear portal update flag from all zones.
void makeTransform(const ArrayVector3 &position, const ArrayVector3 &scale, const ArrayQuaternion &orientation)
Building a Matrix4 from orientation / scale / position.
SceneNode(const Transform &transformPtrs)
Don't use this constructor unless you know what you're doing.
virtual void _dispatch(const HlmsComputePso &pso)=0
void setAmbient(Real red, Real green, Real blue)
Sets the ambient colour reflectance properties of this pass.
String name
Definition: OgreHlmsTexturePack.h:64
void setSamplerblock(PbsTextureTypes texType, const HlmsSamplerblock ¶ms)
Sets a new sampler block to be associated with the texture (i.e.
static ArrayMaskR getMask(bool x)
void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
This function translates the given node into Ogre resource(s).
void setTransparency(float transparency, TransparencyModes mode=Transparent, bool useAlphaFromTextures=true, bool changeBlendblock=true)
Makes the material transparent, and sets the amount of transparency.
Definition: OgreIrradianceVolume.h:48
Real getRandomness(void) const
Gets the randomness to apply to the particles in a system.
DefaultWorkQueue(const String &name=BLANKSTRING)
void _findVisibleObjects(Camera *cam, VisibleObjectsBoundsInfo *visibleBounds, bool onlyShadowCasters)
Overridden from SceneManager.
virtual void clear()
Empties this set of all billboards.
static CommandBufferExecuteFunc execute_setTextureBufferVS
Definition: OgreCommandBuffer.h:81
Represents an individual profile call.
Definition: OgreProfiler.h:298
void setShininess(Real val)
Sets the shininess properties of every Pass in every Technique.
virtual int getMaxOutputVertices(void) const
Returns the maximum number of vertices that this geometry program can output in a single run.
Definition: OgreGLSLShader.h:119
const CompositorShadowNodeDef * getShadowNodeDefinition(IdString nodeDefName) const
Returns the node definition with the given name. Throws if not found.
@ ID_TWO_SIDED
Definition: OgreScriptCompiler.h:925
uint16 _getInputLayoutId(const VertexElement2VecVec &vertexElements, OperationType opType)
Always returns a unique ID for the given vertexElement / OperationType combination,...
bool hasMinGLVersion(int major, int minor) const
Check if GL Version is supported.
static const uint32 TERRAINLAYERINSTANCE_CHUNK_ID
Definition: OgreTerrain.h:288
void lock(const SharedPtr< T > &p, HardwareBuffer::LockOptions options)
Definition: OgreHardwareBuffer.h:400
@ PF_BC5_SNORM
DDS (DirectDraw Surface) BC5 format (signed normalised)
Definition: OgrePixelFormat.h:216
Real getMinimumDepthInputValue(void)
Gets the minimum (closest) depth value to be used when rendering using identity transforms.
Definition: OgreGLES2RenderSystem.h:435
virtual void destroyRibbonTrail(v1::RibbonTrail *obj)
Removes & destroys a RibbonTrail from the SceneManager.
char * Parse(const char *iSource, size_t iLength, size_t &oLength)
Parse the input string and return a newly-allocated output string.
String getLeftBorderUVString() const
@ FLAG_SPERATE_DIFFUSE_FRESNEL
Definition: OgreHlmsPbsDatablock.h:76
void initialise(void)
Initialises the material manager, which also triggers it to parse all available .program and ....
virtual v1::HardwarePixelBufferSharedPtr getBuffer(size_t face, size_t mipmap)
Return hardware pixel buffer for a surface.
LightArray lights
Definition: OgreCommon.h:705
@ PF_BC7_UNORM_SRGB
DDS (DirectDraw Surface) BC7 format (unsigned normalised sRGB)
Definition: OgrePixelFormat.h:224
Real mBias
Value ideally in range (0; 1] When 1, the VPL is placed at exactly the location where the light ray h...
Definition: OgreInstantRadiosity.h:156
void setOrigin(const Vector3 &newOrigin)
Set the origin value.
Definition: OgrePCZFrustum.h:108
Definition: Vao/OgreGLES2VertexArrayObject.h:39
Filter
Definition: OgreImage.h:450
virtual void initCollapseCosts(LodData *data)
This is called after the LodInputProvider has initialized LodData.
void copyStateFrom(const AnimationState &animState)
Copies the states from another animation state, preserving the animation name (unlike operator=) but ...
const String & getLayerTextureName(uint8 layerIndex, uint8 samplerIndex) const
Get the name of the texture bound to a given index within a given layer.
uint32 registerCustomWordId(const String &word)
Adds a custom word id which can be used for custom script translators.
virtual void endCurrent()=0
This is called before another context is made current.
void addProperty(PropertyBase *prop)
Adds a property to this set.
Mesh * parent
Reference to parent Mesh (not a smart pointer so child does not keep parent alive).
Definition: OgreSubMesh.h:143
@ GPU_MOZILLA
Definition: OgreRenderSystemCapabilities.h:304
static void updateAllBounds(const size_t numNodes, ObjectData t)
@See SceneManager::updateAllBounds
SharedPtr< GLSLShader > GLSLShaderPtr
Definition: OgreGL3PlusPrerequisites.h:58
A 3x3 matrix which can represent rotations around axes.
Definition: OgreMatrix3.h:69
void _setSeparateSceneBlendingOperation(SceneBlendOperation op, SceneBlendOperation alphaOp)
void apply(Skeleton *skeleton, Real timePos, float weight, const AnimationState::BoneBlendMask *blendMask, Real scale)
Applies all node tracks given a specific time point and weight to a given skeleton.
static const IdString DetailNormalSwizzle3
Definition: OgreHlmsPbsMobile.h:169
static const IdString QTangent
Definition: OgreHlms.h:779
virtual String dataType() const
Returns the type of the data.
Definition: OgreCodec.h:70
virtual ~ManualObjectSection()
@ ACT_WORLDVIEW_MATRIX
The current world & view matrices concatenated.
Definition: OgreGpuProgramParams.h:962
void addLightType(Light::LightTypes lightType)
See Light::LightTypes.
uint * getUnsignedIntPointer(size_t pos)
Get a pointer to the 'nth' item in the uint buffer.
Definition: OgreGpuProgramParams.h:773
static bool isDirectX9Ex()
Tells whether the system is initialized with DirectX 9Ex driver Read more in http://msdn....
Definition: OgreD3D9RenderSystem.h:366
static std::pair< bool, Real > intersects(const Ray &ray, const Plane &plane)
Ray / plane intersection, returns boolean result and distance.
void createNewNode(ObjectData &outData)
Requests memory for a new SceneNode (for the Array vectors & matrices) May be also be used for a new ...
void swap(RawSimdUniquePtr ©)
Definition: OgreRawPtr.h:89
virtual void bindBufferHS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
@ PF_ASTC_RGBA_8X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 8x5)
Definition: OgrePixelFormat.h:271
void setNamedSubroutine(const String &subroutineSlot, const String &subroutine)
Set subroutine name by slot name.
void _setSceneBlending(SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendOperation op)
Alignment
Definition: OgreTextAreaOverlayElement.h:49
RenderSystem specific interface for a RenderTarget; this should be subclassed by RenderSystems.
Definition: OgreRenderTarget.h:362
ConstMapIterator< VertexOffsetMap > ConstVertexOffsetIterator
An iterator over the vertex offsets.
Definition: OgrePose.h:74
virtual void setManuallyLoaded(bool isManual)
Set "Is this resource manually loaded?".
Definition: OgreResource.h:300
virtual_l1 void setPosition(Real x, Real y, Real z)
Sets the position of the node relative to it's parent.
MetaDataIterator getMetaDataIterator(void) const
Iterate over all types of SceneManager available for construction, providing some information about e...
String getName(const HlmsBlendblock *blendblock) const
~D3D9VideoMode()
Definition: OgreD3D9VideoMode.h:48
VertexElementType mType
The type of element.
Definition: OgreVertexBufferPacked.h:40
const LayerBlendModeEx & getColourBlendMode(void) const
Get multitexturing colour blending mode.
virtual void setMaterialName(size_t subIndex, const String &name, const String &group=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Alter the material for a subsection of this object after it has been specified.
Factory class for D3D9 HLSL programs.
Definition: OgreD3D9HLSLProgramFactory.h:38
static const size_t LOD_MORPH_CUSTOM_PARAM
Definition: OgreTerrain.h:295
const Vector3 & getDirection(void) const
Gets the direction of the ray.
Definition: OgreRay.h:63
void setDepth(Real Depth)
Sets the depth (local y size) of the emitter.
virtual void setEmissionRate(Real particlesPerSecond)
Sets the emission rate for this emitter.
virtual void _hlmsPipelineStateObjectDestroyed(HlmsPso *pso)
Real dy
Definition: OgreDualQuaternion.h:166
@ ID_SQUARE
Definition: OgreScriptCompiler.h:792
int plane
Definition: OgreQuake3Types.h:162
const VertexBoneAssignmentList & getBoneAssignments() const
Gets a const reference to the list of bone assignments.
Definition: OgreMesh.h:506
void setNamedConstant(const String &name, const Matrix4 &m)
Sets a Matrix4 parameter to the program.
void setType(FontType ftype)
Sets the type of font.
static unsigned long parseUnsignedLong(const String &val, unsigned long defaultValue=0)
Converts a String to a whole number.
const Vector3 & getAutoTrackOffset(void) const
Get the auto tracking offset for this camera, if it is auto tracking.
Definition: OgreCamera.h:566
list< Plane >::type planes
Definition: OgreBspNode.h:149
Vector4 getSpotlightParams(size_t index) const
Real dotProduct(const Vector4 &vec) const
Calculates the dot (scalar) product of this vector with another.
Definition: OgreVector4.h:404
virtual void setCellRangeMinX(int32 minX)
Set the index range of all cells (values outside this will be ignored)
bool isInLightRange(const Ogre::AxisAlignedBox &container) const
Check whether a bounding box is included in the lighted area of the light.
size_t getWidth(void) const
Gets the width of the texture.
uint16 getNumLodLevels() const
Get the total number of LOD levels in the terrain.
Definition: OgreTerrain.h:1242
Definition: OgreQuake3Types.h:148
bool isCacheDirty(const Camera *camera) const
virtual void passPosExecute(CompositorPass *pass)
Called after a pass has been executed.
Definition: OgreCompositorWorkspaceListener.h:66
size_type capacity() const
Definition: OgreCommon.h:517
ParticleVisualData * getVisualData(void) const
Get the optional visual data associated with the class.
Definition: OgreParticle.h:146
Real totalTimeMillisecs
The total frame time this profile has taken in milliseconds.
Definition: OgreProfiler.h:285
uint16 maxTexturesPerArray
Definition: OgreHlmsTextureManager.h:86
virtual bool loadProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to load page content procedurally.
Definition: OgrePageManager.h:76
bool setDrawBuffer(const ColourBufferType colourBuffer) const
@ ID_GOURAUD
Definition: OgreScriptCompiler.h:691
virtual void endCurrent()=0
This is called before another context is made current.
@ TEXTURE_GLOBAL
We own the texture.
Definition: OgreTextureDefinition.h:62
virtual const String & getTargetLanguage(void) const
Definition: OgreShaderGLSLESProgramWriter.h:150
virtual const String & getTargetLanguage() const
Definition: OgreShaderGLSLESProgramWriter.h:74
static const IdString BlendModeIndex1
Definition: OgreHlmsPbsMobile.h:157
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create uniform buffer.
LayerBlendOperation
List of valid texture blending operations, for use with TextureUnitState::setColourOperation.
Definition: OgreBlendMode.h:57
virtual ~GLSLESProgramWriter()
Class destructor.
Texturing sub render state implementation of the Fixed Function Pipeline.
Definition: OgreShaderFFPTexturing.h:54
ushort getFragmentProgramConstantFloatCount(void) const
The number of floating-point constants fragment programs support.
Definition: OgreRenderSystemCapabilities.h:657
size_t currentIndexCount()
Get the current count of indices when building a new buffer.
static const uint16 CHUNK_VERSION
Definition: OgreGrid2DPageStrategy.h:145
@ DerivedScale
Definition: OgreArrayMemoryManager.h:298
void _addMovable(const MovableObject *mov)
Internal method for telling the node that a movable intersects it.
unsigned short getNumTextureUnitStates(void) const
Returns the number of texture unit settings.
Definition: OgrePass.h:521
static WindowEventListeners _msListeners
Definition: OgreWindowEventUtilities.h:182
uint32 instancingDivisor
Definition: OgreD3D11VaoManager.h:105
virtual v1::RibbonTrail * createRibbonTrail()
Create a RibbonTrail, an object which you can use to render a linked chain of billboards which follow...
VectorIterator(T &c)
Constructor.
Definition: OgreIteratorWrapper.h:201
@ SPC_LIGHTDIRECTION_WORLD_SPACE2
Definition: OgreShaderParameter.h:179
std::pair< bool, String > getVariable(const String &name) const
bool getIteratePerLight(void) const
Does this pass run once for every light in range?
Definition: OgrePass.h:754
bool isUnsignedInt() const
Definition: OgreGpuProgramParams.h:243
virtual void instanceBatchCullFrustumThreaded(const Camera *frustum, const Camera *lodCamera, uint32 combinedVisibilityFlags)
Definition: OgreInstanceBatchHW_VTF.h:186
virtual bool isPrimary(void) const
Indicates whether this target is the primary window.
Real getMinHeight() const
Get the minimum height of the node.
static ShaderGenerator * getSingletonPtr()
Override standard Singleton retrieval.
const map< String, String >::type & getVariables() const
type::iterator iterator
Definition: OgrePrerequisites.h:701
static void lockDeviceAccess()
virtual ParticleAffector * createAffector(ParticleSystem *psys)=0
Creates a new affector instance.
Command object for particle emitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:191
Definition: OgreMetalDepthTexture.h:37
void apply(Entity *entity, Real timePos, Real weight, bool software, bool hardware)
Applies all vertex tracks given a specific time point and weight to a given entity.
GLuint getVboName(void) const
Definition: OgreGL3PlusBufferInterface.h:68
size_t faceIndex
The position in the index buffer that's affected.
Definition: OgreTangentSpaceCalc.h:64
TRect< float > FloatRect
Structure used to define a rectangle in a 2-D floating point space.
Definition: OgreCommon.h:822
Real baseError
The smallest allowed geometric error of the highest LOD.
Definition: OgreVolumeChunk.h:59
uint32 mInstancingStepRate
The number of instances to draw using the same per-instance data before advancing in the buffer by on...
Definition: OgreVertexBufferPacked.h:47
Codec specialized in images loaded using stbi (https://github.com/nothings/stb).
Definition: OgreSTBICodec.h:47
virtual ChildOldNodeIterator getChildIterator(void)
Retrieves an iterator for efficiently looping through all children of this OldNode.
virtual ~D3D11StagingBuffer()
void createResourceGroup(const String &name, const bool inGlobalPool=true)
Create a resource group.
void setHasSky(bool yesno)
If sky should be drawn with this zone.
Definition: OgrePCZone.h:106
virtual void _collectSamplerblocks(set< const HlmsSamplerblock * >::type &outSamplerblocks, const HlmsDatablock *datablock) const
virtual void notifyRecreated(const CompositorChannel &oldChannel, const CompositorChannel &newChannel)
@See CompositorNode::notifyRecreated
void dearrangeToInefficient(void)
Reverts the effects from arrangeEfficient by converting all 16-bit half float back to 32-bit float; a...
std::string getFriendlyText() const
Returns "[Hash 0x0a0100ef]" strings in Release mode, readable string in debug.
Definition: OgreIdString.h:257
bool isActive(void) const
Overridden - see RenderWindow.
virtual int getExecutionOrder() const =0
Get the execution order of this sub render state.
static GLSLESProgramPipelineManager & getSingleton(void)
SharedPtr(const SharedPtr &r)
Definition: OgreSharedPtr.h:173
void setDimensions(Real width, Real height)
Sets the width and height for this particle.
static const Matrix4 CLIPSPACE2DTOIMAGESPACE
Useful little matrix which takes 2D clipspace {-1, 1} to {0,1} and inverts the Y.
Definition: OgreMatrix4.h:564
void start()
GL3PlusSupport::start
virtual void resourcePrepareEnded(void)
This event is fired when the resource has been prepared.
Definition: OgreResourceGroupManager.h:132
static Quaternion Slerp(Real fT, const Quaternion &rkP, const Quaternion &rkQ, bool shortestPath=false)
Performs Spherical linear interpolation between two quaternions, and returns the result.
static PCZoneFactoryManager * getSingletonPtr(void)
Override standard Singleton retrieval.
static void destroyTextures(CompositorChannelVec &inOutTexContainer, RenderSystem *renderSys)
@See createTextures
CompositorWorkspaceTranslator()
~OctreeSceneManager()
Standard destructor.
T get(void) const
Definition: OgreAtomicScalar.h:424
static size_t lcm(size_t a, size_t b)
Returns Least Common Multiple.
Definition: OgreMath.h:730
const String * getNameStr(void) const
Definition: OgreSearchOps.h:42
bool XGetWindowAttributes(Display *nativeDisplayType, Window nativeWindowType, XWindowAttributes *xWindowAttributes)
@ VET_DOUBLE2
Definition: OgreVertexElements.h:88
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
void destroy(void)
Destroys the window.
static void shutdown(void)
Static method to shutdown FreeImage and unregister the FreeImage codecs.
AbstractNodeType
This enum holds the types of the possible abstract nodes.
Definition: OgreScriptCompiler.h:77
virtual void setInheritScale(bool inherit)
Tells the OldNode whether it should inherit scaling factors from it's parent OldNode.
void setShowBoxes(bool b)
Sets the box visibility flag.
Definition: OgreOctreeSceneManager.h:149
const TexturePtr & getAreaLightMasks(void) const
Definition: OgreHlmsPbs.h:290
@ PT_QUATERNION
Definition: OgreStringInterface.h:61
int brush_count
Definition: OgreQuake3Types.h:158
void exportMesh(const Mesh *pMesh, DataStreamPtr stream, MeshVersion version, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the stream specified, in a specific version format.
NativeWindowType window
Definition: OgreX11EGLSupport.h:94
void setRenderQueueGroup(uint8 grp)
Set the render queue group that terrains will be rendered into.
Definition: OgreTerrain.h:1996
virtual bool isHardwareFilteringSupported(TextureType ttype, PixelFormat format, int usage, bool preciseFormatOnly=false)
Returns whether this render system has hardware filtering supported for the texture format requested ...
const Vector3 & getIrradianceCellSize(void) const
Definition: OgreIrradianceVolume.h:110
static const IdString LegacyMathBrdf
Definition: OgreHlmsPbs.h:408
bool supportsPCZoneType(const String &zoneType)
@ SBF_DEST_COLOUR
Definition: OgreBlendMode.h:238
virtual void worldGeometryStageEnded(void)=0
This event is fired when a stage of loading linked world geometry has been completed.
void setLogDetail(LoggingLevel ll)
Sets the level of detail of the default log.
vector< LodLevel * >::type LodLevelList
Definition: OgreTerrainQuadTreeNode.h:151
bool removeShaderBasedTechnique(const String &materialName, const String &groupName, const String &srcTechniqueSchemeName, const String &dstTechniqueSchemeName)
Remove shader based technique from a given technique.
int vert_count
Definition: OgreQuake3Types.h:190
Real getAttenuationQuadric(void) const
Returns the quadric factor in the attenuation formula.
Definition: OgreLight.h:243
const Vector4 & getViewportModifier(void) const
Definition: OgreCompositorWorkspace.h:314
bool uav
Definition: OgreTextureDefinition.h:89
bool isSubroutine() const
Definition: OgreGpuProgramParams.h:304
void createVertexBuffers(VertexBufferPackedVec &outVertexBuffers, size_t numVertices, void *const *initialData, bool keepAsShadow)
Creates a vertex buffer based on the given parameters.
virtual size_t getDefaultNumMipmaps()
Gets the default number of mipmaps to be used for loaded textures.
Definition: OgreTextureManager.h:499
virtual SceneManager * getSceneManager() const
Get the current SceneManager.
Definition: OgrePagedWorldSection.h:130
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
FastArray< size_t > threadStarts
One per thread (plus one), tells where we should start from in each thread.
Definition: OgreSkeletonAnimManager.h:63
@ PF_ETC2_RGBA8
ETC2 (Ericsson Texture Compression)
Definition: OgrePixelFormat.h:250
virtual StreamSerialiser * writeWorldStream(const String &filename)
Get a serialiser set up to write PagedWorld data for the given world filename.
Definition: OgrePageManager.h:105
@ CB_SET_TEXTURE_BUFFER_VS
Definition: OgreCbCommon.h:53
For GL3+, most (if not all) buffers, can be treated with the same code.
Definition: OgreNULLBufferInterface.h:42
void deleteOutputParameter(ParameterPtr parameter)
Delete output parameter from this function.
virtual void copyFrom(const SubRenderState &rhs)
virtual T get() const
Definition: OgreProperty.h:240
virtual const String & getMovableType(void) const
Overridden from MovableObject.
virtual void getBestDepthStencil(GLenum internalFormat, GLenum *depthFormat, GLenum *stencilFormat)
Definition: OgreGL3PlusRenderTexture.h:92
static void toStr(const Vector2 &value, String &outString)
uint16 _getRefCount(void) const
virtual void resourceGroupPrepareStarted(const String &groupName, size_t resourceCount)
This event is fired when a resource group begins preparing.
Definition: OgreResourceGroupManager.h:121
@ PF_ATC_RGBA_INTERPOLATED_ALPHA
ATC (AMD_compressed_ATC_texture)
Definition: OgrePixelFormat.h:258
ArrayAabb *RESTRICT_ALIAS mWorldAabb
Bounding box in world space.
Definition: OgreObjectData.h:57
Command object for keep_velocity (see ParamCommand).
Definition: OgreDirectionRandomiserAffector.h:68
CompositorShadowNode * getShadowNode() const
Definition: OgreCompositorPassScene.h:94
Vector3 getDerivedUp(void) const
Gets the derived up vector of the camera, including any rotation inherited from a node attachment and...
void getTerrainVectorAlign(Real x, Real y, Real z, Alignment align, Vector3 *outVec) const
Translate a vector from world space to local terrain space based on a specified alignment.
GLSLESProgramPipeline * getActiveProgramPipeline(void)
Get the program pipeline that combines the current program objects.
bool getFirstRayIntersection(const Ray &ray, Vector3 &result, Real scale=(Real) 1.0, size_t maxIterations=5000, Real maxDistance=(Real) 10000.0) const
Gets the first intersection of a ray with the volume.
Radian getRoll(bool reprojectAxis=true) const
Calculate the local roll element of this quaternion.
virtual void destroyVertexDeclaration(VertexDeclaration *decl)
Destroys a vertex declaration.
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Notifies the ultimate texture owner the buffer changed.
virtual ~ManualResourceLoader()
Definition: OgreResource.h:518
@ LBX_MODULATE_X4
as LBX_MODULATE but brighten more afterwards (x4)
Definition: OgreBlendMode.h:85
virtual void createInternalResources(void)
Creates the internal texture resources for this texture.
void setCapability(const Capabilities c)
Adds a capability flag.
Definition: OgreRenderSystemCapabilities.h:563
unsigned char uchar
In order to avoid finger-aches :)
Definition: OgrePrerequisites.h:128
StagingBuffer * getStagingBuffer(size_t minSizeBytes, bool forUpload)
Retrieves a staging buffer for use.
String doGet(const void *target) const
HWND getWindowHandle() const
Definition: OgreD3D9RenderWindow.h:64
virtual void _setHlmsSamplerblockCS(uint8 texUnit, const HlmsSamplerblock *samplerblock)
static const IdString LowerGpuOverhead
Definition: OgreHlmsPbs.h:319
Real getTileX(ushort layer=0) const
vector< uint32 >::type BoneToSlotVec
Definition: OgreSkeletonDef.h:82
virtual void setMaxRepeatDelay(Real max)
Sets the maximum duration of this emitter in seconds (see setRepeatDelay for more details)
const CompositorTexture & getTargetTexture(void) const
Definition: OgreCompositorPass.h:177
void _updateHomeZone(PCZSceneNode *, bool)
Make sure the home zone for the PCZSceneNode is up-to-date.
virtual ~Resource()
Virtual destructor.
HardwareIndexBufferSharedPtr createIndexBuffer(HardwareIndexBuffer::IndexType itype, size_t numIndexes, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Create a hardware index buffer.
AmbientLightMode
Definition: OgreHlmsPbs.h:85
unsigned short getNumSupportedTechniques(void) const
Retrieves the number of supported techniques.
Exception(int number, const String &description, const String &source, const char *type, const char *file, long line)
Advanced constructor.
virtual ProgramWriter * create(void)
Definition: OgreShaderGLSLESProgramWriter.h:158
@ DEFORM_FUNC_NORMAL
Definition: OgreQuake3Types.h:137
void decreaseLodLevel(long x, long y)
Removes terrain's highest LOD level.
Real getValue(void) const
Gets the frame number as a parametric value in the range [0,1].
AbsolutePixelCountLodStrategy PixelCountLodStrategy
Backward compatible name for Distance_Box strategy.
Definition: OgrePixelCountLodStrategy.h:45
void execute(void)
Executes all the commands in the command buffer. Clears the cmd buffer afterwards.
static ParameterPtr getParameterBySemantic(const ShaderParameterList ¶meterList, const Parameter::Semantic semantic, int index)
Get parameter by a given semantic and index from the given parameter list.
@ FFP_VS_COLOUR
Definition: OgreShaderFFPRenderState.h:47
@ ID_PARAM_NAMED
Definition: OgreScriptCompiler.h:634
int width
Definition: OgreX11EGLSupport.h:89
Quaternion interpolate(Real t, bool useShortestPath=true)
Returns an interpolated point based on a parametric value over the whole series.
virtual void bindBufferDS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Definition: OgreNULLTexBufferPacked.h:52
@ ID_READ_MASK
Definition: OgreScriptCompiler.h:911
@ POSITIVE_SIDE
Definition: OgrePlane.h:87
bool getRunOnlyForOneLightType(void) const
Does this pass run only for a single light type (if getIteratePerLight is true).
Definition: OgrePass.h:756
OverlayContainer * getChild(const String &name)
#define OGRE_HLMS_MAX_BASIC_BLOCKS
Definition: OgreHlmsManager.h:58
size_t getSharesSetupWith() const
Definition: OgreCompositorShadowNodeDef.h:96
String getName() const
See ParticleEmitterFactory.
Definition: OgreBoxEmitterFactory.h:48
void _linkRenderable(Renderable *renderable)
virtual void setCurrent()=0
Enable the context.
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
FileInfoListPtr listFileInfo(bool recursive=true, bool dirs=false)
List all files in the archive with accompanying information.
uint32 getProxyReservedVisibilityMask(void) const
Returns the visibility mask you told us you reserved for storing our internal objects.
Definition: OgreParallaxCorrectedCubemap.h:231
virtual ~RaySceneQueryListener()
Definition: OgreSceneQuery.h:329
GpuProgramParametersSharedPtr getShadowCasterVertexProgramParameters(void) const
Gets the vertex program parameters used by this pass when rendering shadow casters.
virtual void setOrthoWindowWidth(Real w)
Sets the orthographic window width, for use with orthographic rendering only.
static const ColourValue ZERO
Definition: OgreColourValue.h:60
static CmdAlphaAdjust1 msAlphaCmd1
Definition: OgreColourFaderAffector2.h:192
virtual void reset(bool resetManualBones=false)
Resets the position and orientation of all bones in this skeleton to their original binding position.
ArrayMatrix4()
Definition: C/OgreArrayMatrix4.h:74
virtual void _notifyParticleEmitted(Particle *particle)
Optional callback notified when particle emitted.
Definition: OgreParticleSystemRenderer.h:88
ImageDownsamplerCube downscale2x_sRGB_XA88_cube
Definition: OgreImageDownsampler.h:198
void setDefaultTechnique(ShadowMapTechniques techn)
Definition: OgreCompositorShadowNodeDef.h:145
Vector3 xAxis(void) const
Returns the X orthonormal axis defining the quaternion.
virtual void parseScript(DataStreamPtr &stream, const String &groupName)
Parse the definition of a set of resources from a script file.
Definition: OgreResourceManager.h:476
Specialises the SceneQuery class for querying within a sphere.
Definition: OgreSceneQuery.h:279
#define OGRE_NEW_T(T, category)
Allocate space for one primitive type, external type or non-virtual type with constructor parameters.
Definition: OgreMemoryAllocatorConfig.h:460
unsigned short getMaxSource(void) const
Gets the index of the highest source value referenced by this declaration.
float mFresnelB
Definition: OgrePbsMobileShaderCreationData.h:58
size_t getNumRenderQueues() const
Retrieves the number of render queues that have been created.
void _setHlmsMacroblock(const HlmsMacroblock *macroblock, const GL3PlusHlmsPso *pso)
void _beginUpdate(bool forceBeginFrame)
Call before _update unless the final render target is not a render window.
uint32 getLightVisibilityMask(void) const
Definition: OgreViewport.h:306
void setListener(MeshSerializerListener *listener)
Sets the listener for this serializer.
ImageDownsampler2D downscale2x_Float32_XA
Definition: OgreImageDownsampler.h:150
@ BCT_DOUBLE
Definition: OgreGpuProgramParams.h:53
String doGet(const void *target) const
MeshSerializerListener * getListener()
Returns the current listener.
@ PBSM_DETAIL2_NM
Definition: OgreHlmsPbsPrerequisites.h:69
void setRenderQueueSubGroup(uint8 subGroup)
Sets the RenderQueue subgroup ID for the whole of this entity.
virtual bool resolveDependencies(ProgramSet *programSet)=0
static std::pair< bool, Real > intersects(const Ray &ray, const Sphere &sphere, bool discardInside=true)
Ray / sphere intersection, returns boolean result and distance.
static void trim(String &str, bool left=true, bool right=true)
Removes any whitespace characters, be it standard space or TABs and so on.
virtual void postCommandBufferExecution(CommandBuffer *commandBuffer)
This gets called after executing the command buffer.
vector< uint32 >::type ChannelMappings
Definition: OgreCompositorNodeDef.h:45
void doSet(void *target, const String &val)
static const IdString Diffuse
Definition: OgreHlmsUnlitMobile.h:107
virtual const String & getType() const =0
Get the type of this sub render state.
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
virtual ChildContainerIterator getChildContainerIterator(void)
Gets an iterator for just the container children of this object.
size_t capacity() const
Definition: OgreLwString.h:343
void skip(long count)
Skip a defined number of bytes.
bool hasDefaultParameters(void) const
Returns true if default parameters have been set up.
MeshPtr createPlane(const String &name, const String &groupName, const Plane &plane, Real width, Real height, int xsegments=1, int ysegments=1, bool normals=true, unsigned short numTexCoordSets=1, Real uTile=1.0f, Real vTile=1.0f, const Vector3 &upVector=Vector3::UNIT_Y, HardwareBuffer::Usage vertexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage indexBufferUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, bool vertexShadowBuffer=true, bool indexShadowBuffer=true)
Creates a basic plane, by default majoring on the x/y axes facing positive Z.
const String & getMovableType(void) const
Overridden from MovableObject.
virtual void postqueueEntityMaterialLodChanged(const EntityMaterialLodChangedEvent &evt)
Called after an entity's material LOD has changed.
Definition: OgreLodListener.h:199
OGRE_AUTO_MUTEX
Definition: OgreResourceManager.h:123
const Vector4 & getShadowSceneDepthRange(size_t index) const
TerrainLayerSamplerList samplers
Definition: OgreTerrainMaterialGenerator.h:133
virtual void prepare(LodData *data)
TempBlendedBufferInfo * _getVertexAnimTempBufferInfo(void)
Advanced method to get the temp buffer information for software morph animation.
virtual ~TargetRenderState()
Class destructor.
static const IdString UvAtlas12
Definition: OgreHlmsUnlitMobile.h:155
Lod0Stripifier()
Definition: OgreLod0Stripifier.h:100
bool getEnabled(void) const
Returns true if this controller is currently enabled.
Definition: OgreController.h:190
static String FACTORY_TYPE_NAME
Definition: OgreManualObject.h:540
uint8 mType
Definition: OgreHlmsDatablock.h:275
Definition: OgreVertexShadowMapHelper.h:122
@ VET_SHORT4
Definition: OgreVertexElements.h:81
PCZone * createPCZone(PCZSceneManager *pczsm, const String &zoneType, const String &zoneName)
void uninstall()
Perform the final plugin uninstallation sequence.
void setVisibilityFlags(uint32 flags)
Sets the visibility flags for this object.
MemoryTypes
Definition: OgreBoneArrayMemoryManager.h:56
virtual ProgramWriter * create(void)=0
Create writer instance.
@ ID_FRAGMENT
Definition: OgreScriptCompiler.h:798
bool getAntialiasColour(void) const
Gets whether or not the colour of this font is antialiased as it is generated from a true type font.
Definition: OgreFont.h:419
virtual PageID getID() const
Get the ID of this page, unique within the parent.
Definition: OgrePage.h:113
static const IdString BlendModeIndex3
Definition: OgreHlmsPbs.h:388
DecodeResult decode(DataStreamPtr &input) const
Codes the data from the input chunk into the output chunk.
void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
UavBufferPacked * getDefinedBufferNoThrow(IdString bufferName) const
virtual ~SubItem()
Destructor.
virtual void removeListener(RenderTargetListener *listener)
Removes a RenderTargetListener previously registered using addListener.
@ RSC_POINT_EXTENDED_PARAMETERS_ARB
Support for point parameters ARB implementation.
Definition: OgreRenderSystemCapabilities.h:233
@ ACT_ANIMATION_PARAMETRIC
Provides a parametric animation value [0..1], only available where the renderable specifically implem...
Definition: OgreGpuProgramParams.h:1281
int numsides
Definition: OgreQuake3Types.h:247
void createBasicWorkspaceDef(const String &workspaceDefName, const ColourValue &backgroundColour, IdString shadowNodeName=IdString())
Utility helper to create a basic workspace to get you out of the rush.
void finaliseLightmap(const Rect &rect, PixelBox *lightmapBox)
Finalise the lightmap.
static const IdString DecalsDiffuse
Definition: OgreHlms.h:843
virtual void destroy(void)
Destroys the window.
CompositorPassMipmapDef(CompositorTargetDef *parentTargetDef)
Definition: OgreCompositorPassMipmapDef.h:77
VectorImpl::value_type value_type
Definition: OgreCommon.h:477
virtual void addRequestHandler(uint16 channel, RequestHandler *rh)=0
Add a request handler instance to the queue.
Prepared IteratorWrapper for key-value container.
Definition: OgreIteratorWrapper.h:254
@ ACT_DERIVED_LIGHT_DIFFUSE_COLOUR_ARRAY
Array of derived light diffuse colours (count set by extra param)
Definition: OgreGpuProgramParams.h:1126
Real getTanTime_0_X(Real x) const
DefaultHardwareBufferManager as a Singleton.
Definition: OgreDefaultHardwareBufferManager.h:185
virtual void markProfileEvent(const String &event)=0
Marks an instantaneous event for graphics profilers.
virtual_l2 bool getInheritOrientation(void) const
Returns true if this node is affected by orientation applied to the parent node.
A world section which includes paged terrain.
Definition: OgreTerrainPagedWorldSection.h:81
::GLXContext createNewContext(GLXFBConfig fbConfig, GLint renderType, ::GLXContext shareList, GLboolean direct) const
Portable replacement for glXCreateNewContext.
bool _updateAllRenderTargets(FrameEvent &evt)
Internal method used for updating all RenderTarget objects (windows, renderable textures etc) which a...
@ HWInstancingBasic
Needs SM 3.0+ and HW instancing support.
Definition: OgreInstanceManager.h:72
bool eof(void) const
Returns true if the stream has reached the end.
void save(const String &filename)
Save terrain data in native form to a standalone file.
virtual void setSkyDome(bool enable, const String &materialName, Real curvature=10, Real tiling=8, Real distance=4000, bool drawFirst=true, const Quaternion &orientation=Quaternion::IDENTITY, int xsegments=16, int ysegments=16, int ysegments_keep=-1, const String &groupName=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME)
Enables / disables a 'sky dome' i.e.
void _getOffsetTransform(Matrix4 &m) const
Gets the transform which takes bone space to current from the binding pose.
void setTextureProjector(const Frustum *frust, size_t index)
Sets the current texture projector for a index.
static String toString(bool val, bool yesNo=false)
Converts a boolean to a String.
void swap(SmallVectorImpl &RHS)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:781
virtual bool getVerbose(void)
Gets whether this manager and its resources habitually produce log output.
Definition: OgreResourceManager.h:494
virtual bool getUseIdentityWorldMatrix(void) const
Returns whether the world matrix is an identity matrix.
Definition: OgreRenderable.h:167
size_t data
Definition: OgreGpuProgramParams.h:1428
String mShaderProfile
Definition: OgreHlmsDiskCache.h:171
static void removeWindowEventListener(RenderWindow *window, WindowEventListener *listener)
TextureUnitState * createTextureUnitState(const String &textureName, unsigned short texCoordSet=0)
Inserts a new TextureUnitState object into the Pass.
virtual void save(StreamSerialiser &stream)=0
Save the collection to a stream.
vector< Image * >::type ImagePtrList
Definition: OgreImage.h:524
@ ACT_TIME_0_2PI_PACKED
Vector of "Time0_2PI", "SinTime0_2PI", "CosTime0_2PI", "TanTime0_2PI".
Definition: OgreGpuProgramParams.h:1213
PCZLight(const String &name)
Normal constructor.
void setToSubstr(const LwConstString &source, size_t _start, size_t size)
Takes a subset from source in the range [_start; _start + size), and copies it to our string.
Definition: OgreLwString.h:128
@ IF_CUBEMAP
Definition: OgreImage.h:46
TextureAddressingMode mU
Definition: OgreHlmsSamplerblock.h:70
void * lock(size_t offset, size_t length, LockOptions options)
Override HardwareBuffer to turn off all shadowing.
const String & getResourceGroup() const
Returns the resource group currently set for this compiler.
This ResourceManager manages high-level vertex and fragment programs.
Definition: OgreHighLevelGpuProgramManager.h:74
ArrayVector3 reflect(const ArrayVector3 &normal) const
Calculates a reflection vector to the plane with the given normal .
virtual void optimise(void)
Optimise the current track by removing any duplicate keyframes.
const LocationList & getResourceLocationList(const String &groupName)
Get the list of resource locations for the specified group name.
void setActiveFragmentShader(GLSLESShader *fragmentShader)
virtual void finalize(LodData *data)
@ ACT_FOG_COLOUR
Fog colour.
Definition: OgreGpuProgramParams.h:1001
void getPoint(long x, long y, float height, Vector3 *outpos) const
Get a Vector3 of the world-space point on the terrain, supplying the height data manually (can be mor...
virtual void setBackgroundLoaded(bool bl)
Tells the resource whether it is background loaded or not.
Definition: OgreResource.h:395
Implementation of DirectX11 as a rendering system.
Definition: OgreD3D11RenderSystem.h:55
NumericAnimationTrack * createNumericTrack(unsigned short handle, const AnimableValuePtr &anim)
Creates a NumericAnimationTrack and associates it with an animable.
const EdgeData * getEdgeList(unsigned short lodIndex=0) const
Return the edge list for this mesh, building it if required.
void connectTo(size_t outChannelA, CompositorNode *nodeB, size_t inChannelB)
Connects this node (let's call it node 'A') to node 'B', mapping the output channel from A into the i...
std::pair< bool, Real > intersects(const PlaneBoundedVolume &p) const
Tests whether this ray intersects the given plane bounded volume.
Definition: OgreRay.h:91
void setCurrentLightList(const LightList *ll)
Sets the light list that should be used, and it's base index from the global list.
UnifiedHighLevelGpuProgramFactory()
const T *RESTRICT_ALIAS_RETURN get() const
Definition: OgreRawPtr.h:118
@ LocalRadius
Definition: OgreArrayMemoryManager.h:369
Command object for inner size (see ParamCommand).
Definition: OgreHollowEllipsoidEmitter.h:65
@ GCT_FLOAT4
Definition: OgreGpuProgramParams.h:71
@ SKELETON_HEADER
Definition: OgreSkeletonFileFormat.h:56
void setValue(const String &name, const T *value)
Set a named property value (via pointer to avoid copy).
Definition: OgreProperty.h:326
bool isRemoved
Definition: OgreLodData.h:118
static void mapAsyncTickets(ReadRequestsArray &tickets)
Maps the buffers requested via.
virtual bool isReadable() const
Reports whether this stream is readable.
Definition: OgreDataStream.h:206
int getScissorActualHeight(void) const
Definition: OgreViewport.h:184
static const uint32 CHUNK_ID
Definition: OgreTerrainGroup.h:502
void unloadUnreferencedResources(bool reloadableOnly=true)
Unload all resources which are not referenced by any other object.
Definition: OgreResourceManager.h:244
ShaderFunctionList::iterator ShaderFunctionIterator
Definition: OgreShaderFunction.h:222
void updatePassIterationUniforms(GpuProgramParametersSharedPtr params)
Updates program pipeline object uniforms using data from pass iteration GpuProgramParameters.
unsigned char * mLumpStart
Definition: OgreQuake3Level.h:115
std::map< IdString, DatablockEntry > HlmsDatablockMap
Definition: OgreHlms.h:107
virtual void OldNodeDetached(const OldNode *)
OldNode has been detached from a parent.
Definition: OgreOldNode.h:102
GLuint getBufferName(void) const
Definition: OgreGL3PlusStagingBuffer.h:121
static ArrayMaskR getMask(bool x, bool y, bool z, bool w)
Definition: OgreHlmsComputeJob.h:47
virtual void setValue(const Vector4 &)
Set value.
Definition: OgreAnimable.h:164
~OctreeZoneData()
Standard destructor.
virtual void _changeRenderSystem(RenderSystem *newRs)
void uninstall()
Perform the final plugin uninstallation sequence.
void reset()
Definition: OgreVertexIndexData.h:345
bool watchForMin(const String &profileName)
Returns true if the specified profile reaches a new frame time minimum.
size_t getSizeInBytes(void) const
Returns the size of this buffer in bytes.
Definition: OgreHardwareBuffer.h:332
Definition: OgreForwardPlusBase.h:63
bool isValid
Definition: OgreShaderExHardwareSkinning.h:65
IDirect3DSurface9 * getBackBuffer(D3D9RenderWindow *renderWindow)
virtual ~D3D11StereoDriverImpl()
Definition: OgreD3D11StereoDriverImpl.h:45
virtual void destroyBillboardSet(v1::BillboardSet *set)
Removes & destroys an BillboardSet from the SceneManager.
DriverVersion getDriverVersion() const
Definition: OgreRenderSystemCapabilities.h:434
PatchMeshPtr createBezierPatch(const String &name, const String &groupName, void *controlPointBuffer, VertexDeclaration *declaration, size_t width, size_t height, size_t uMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, size_t vMaxSubdivisionLevel=PatchSurface::AUTO_LEVEL, PatchSurface::VisibleSide visibleSide=PatchSurface::VS_FRONT, HardwareBuffer::Usage vbUsage=HardwareBuffer::HBU_STATIC_WRITE_ONLY, HardwareBuffer::Usage ibUsage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY, bool vbUseShadow=true, bool ibUseShadow=true)
Creates a Bezier patch based on an array of control vertices.
TagPoints are like SceneNodes, that can be children of a Bone.
Definition: Animation/OgreTagPoint.h:101
Definition: OgreScriptCompiler.h:528
void setUserValue(uint8 userValueIdx, const Vector4 &value)
Sets the value of the userValue, this can be used in a custom piece.
HardwareUniformBufferSharedPtr createShaderStorageBuffer(size_t sizeBytes, HardwareBuffer::Usage usage, bool useShadowBuffer, const String &name="")
Create a shader storage buffer.
Definition: OgreGL3PlusHardwareBufferManager.h:163
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Notifies the ultimate texture owner the buffer changed.
@ SHADOW_NODE_FIRST_ONLY
Default option.
Definition: OgreCompositorPassSceneDef.h:67
unsigned int getNormalMapAnisotropy() const
Return the normal map anisotropy value.
Definition: OgreShaderExNormalMapLighting.h:167
Definition: OgreLodConfig.h:39
ConfigOptionMap & getConfigOptions(void)
Returns the details of this API's configuration options.
virtual void addItem(const T &i)
Add a new item to the pool.
Definition: OgreResourceManager.h:77
ProfileFrame frame
Definition: OgreProfiler.h:334
void setFromAabb(const Aabb &aabb, size_t index)
Definition: C/OgreArrayAabb.h:105
void assign(QueuedSubMesh *qmesh)
Assign a queued mesh to this region, read for final build.
RealAsUint getCachedDistanceToCamera(void) const
Returns the distance to camera as calculated in @cullFrustum.
Interface definition for a unit of content within a page.
Definition: OgrePageContent.h:50
T operator--(void)
Definition: OgreAtomicScalar.h:451
void XMoveWindow(Display *nativeDisplayType, Window nativeWindowType, int left, int top)
virtual bool canHandleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
Return whether this handler can process a given request.
MathlibC Mathlib
Definition: OgreMathlib.h:60
void saveAllTerrains(bool onlyIfModified, bool replaceManualFilenames=true)
Save all terrain instances using the assigned file names, or via the filename convention.
String value
Definition: OgreScriptCompiler.h:112
void removeDuplicates(C &c)
Definition: OgreEGLSupport.h:40
void clearChain(size_t chainIndex)
Remove all elements of a given chain (but leave the chain intact).
void _removeNode(OctreeNode *)
Removes an Octree scene node to this octree level.
@ ID_TEXTURE_ALIAS
Definition: OgreScriptCompiler.h:721
static bool isTypeNormalized(VertexElementType etype)
Utility method which returns true if the type is SNORM or NORM.
GLint mW
Definition: OgreGLES2HlmsSamplerblock.h:56
PixelFormat getPixelFormat(void) const
Definition: OgreTexBufferPacked.h:82
virtual bool setParameter(const String &name, const String &value)
Generic parameter setting method.
GpuConstantType getType() const
Get the type of this parameter.
Definition: OgreShaderParameter.h:326
CompositorWorkspace * workspace
Definition: OgrePlanarReflections.h:47
static void setAngleUnit(AngleUnit unit)
These functions used to set the assumed angle units (radians or degrees) expected when using the Angl...
~Math()
Default destructor.
virtual void updateUniformBlocks(GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType)=0
Updates program object uniform blocks using data from GpuProgramParameters.
const TexturePtr & getDiffuseTexture(void) const
void doSet(void *target, const String &val)
void initialiseFromRenderSystemCapabilities(RenderSystemCapabilities *caps, RenderTarget *primary)
See RenderSystem.
void setConfigOption(const String &name, const String &value)
virtual RenderTexture * getRenderTarget(size_t slice=0)
Get a render target for this PixelBuffer, or a slice of it.
Holds all lights in SoA after being culled over all frustums.
Definition: OgreCommon.h:704
GLES2RenderBuffer(GLenum format, uint32 width, uint32 height, GLsizei numSamples)
GpuProgramParametersSharedPtr createParameters(void)
Overridden from GpuProgram.
String doGet(const void *target) const
MultiSourceVertexBufferPool * getMultiSourcePool(void)
Return value may be null.
Definition: OgreVertexBufferPacked.h:122
static uint32 calculateVertexSize(const VertexElement2Vec &vertexElements)
Returns the size of a single vertex buffer source with the given declaration, in bytes.
GL3PlusDefaultHardwareBufferManagerBase as a Singleton.
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:182
CompositorPassScene(const CompositorPassSceneDef *definition, Camera *defaultCamera, const CompositorChannel &target, CompositorNode *parentNode)
Constructor.
SharedPtr< SubRenderStateAccessor > SubRenderStateAccessorPtr
Definition: OgreShaderSubRenderState.h:43
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:100
Resource(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Standard constructor.
virtual ~Listener()
Definition: OgreOldNode.h:88
GLES2FBOMultiRenderTarget(GLES2FBOManager *manager, const String &name)
ColourValue getColourAt(size_t x, size_t y, size_t z) const
Get colour value from a certain location in the image.
virtual size_t getBufferCount(void) const
Definition: OgreHardwareVertexBuffer.h:533
eD3DTexType
enum identifying D3D9 tex. types
Definition: OgreD3D9Mappings.h:46
virtual const String & getType() const
virtual bool isInScene(void) const
Definition: OgreInstancedEntity.h:279
void readData(size_t offset, size_t length, void *pDest)
See HardwareBuffer.
void FromAxes(const Vector3 *akAxis)
Constructs the quaternion using 3 axes, the axes are assumed to be orthonormal.
MeshVersion
Mesh compatibility versions Naming convention: MeshSerializer_v2.1 R0 LEGACYV1.
Definition: OgreMesh2Serializer.h:60
@ HWInstancingVTF
Needs SM 3.0+, HW instancing support & VTF.
Definition: OgreInstanceManager.h:73
virtual void _setTextureBlendMode(size_t unit, const LayerBlendModeEx &bm)=0
Sets the texture blend modes from a TextureUnitState record.
size_t size() const
Definition: OgreRawPtr.h:119
GLsizei stride
Definition: OgreGLES2VaoManager.h:102
static ParameterPtr createInTexcoord2(int index, Parameter::Content content)
PageContentFactory * getContentFactory(const String &name)
Get a PageContentFactory.
void mergePolygons(void)
Merges all neighboring polygons into one single polygon if they are lay in the same plane.
_StringStreamBase StringStream
Definition: OgrePrerequisites.h:561
FontType getType(void) const
Gets the type of font.
GL3PlusContext * getGLContext() const
Definition: OgreGL3PlusDepthBuffer.h:67
virtual AnimableValuePtr createAnimableValue(const String &valueName)
Create a reference-counted AnimableValuePtr for the named value.
Definition: OgreAnimable.h:316
void recalcTangents(void)
Recalculates the tangents associated with this spline.
void setParameters(GpuProgramParametersSharedPtr params)
Sets the program parameters that should be used; because parameters can be shared between multiple us...
HardwareBufferManagerBase * getManager() const
Return the manager of this buffer, if any.
Definition: OgreHardwareUniformBuffer.h:60
void Attach(T *other) ASSUME_NOEXCEPT
Definition: OgreComPtr.h:225
size_t alignToNextMultiple(size_t offset, size_t alignment)
Aligns the input 'offset' to the next multiple of 'alignment'.
Definition: OgreCommon.h:976
@ CBT_BACK_RIGHT
Definition: OgreCommon.h:352
int XRRConfigCurrentRate(XRRScreenConfiguration *config)
@ PF_ASTC_RGBA_6X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 6x5)
Definition: OgrePixelFormat.h:267
virtual ~GpuProgram()
Definition: OgreGpuProgram.h:235
Real distance(const Vector3 &rhs) const
Returns the distance to another vector.
Definition: OgreVector3.h:389
static PropertyType getTypeForValue(const Matrix3 &val)
Definition: OgreProperty.h:170
void doSet(void *target, const String &val)
void reinterpretGSForStreamOut(void)
unsigned char * mLightmaps
Definition: OgreQuake3Level.h:147
unordered_set< Vertex *, VertexHash, VertexEqual >::type UniqueVertexSet
Definition: OgreLodData.h:147
AccessMode
Definition: OgreDataStream.h:182
@ CE_DUPLICATEOVERRIDE
Definition: OgreScriptCompiler.h:214
void * getUserData(void)
Get & set the user data.
Definition: OgrePCZone.h:246
virtual void bindGpuProgramPassIterationParameters(GpuProgramType gptype)
Only binds Gpu program parameters used for passes that have more than one iteration rendering.
virtual void setWorldGeometry(DataStreamPtr &stream, const String &typeName=BLANKSTRING)
Sets the source of the 'world' geometry, i.e.
virtual void setCloneable(bool c)
Definition: OgreOverlayElement.h:427
void setVisible(bool visible)
Tells this object whether to be visible or not, if it has a renderable component.
void * getDataPtr(size_t offset) const
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:147
virtual bool resolveParameters(ProgramSet *programSet)
@ SPC_TANGENT_VIEW_SPACE
Tangent in view space.
Definition: OgreShaderParameter.h:252
WorkQueue::RequestID BackgroundProcessTicket
Identifier of a background process.
Definition: OgreResourceBackgroundQueue.h:48
virtual bool requiresTextureFlipping(void) const
Definition: OgreNULLTexture.h:89
@ SPC_POSITION_LIGHT_SPACE6
Definition: OgreShaderParameter.h:99
void setNumberOfChains(size_t numChains)
Set the number of chain segments (this class can render multiple chains at once using the same materi...
HlmsDatablock * createDatablock(IdString name, const String &refName, const HlmsMacroblock ¯oblockRef, const HlmsBlendblock &blendblockRef, const HlmsParamVec ¶mVec, bool visibleToManager=true, const String &filename=BLANKSTRING, const String &resourceGroup=BLANKSTRING)
Creates a unique datablock that can be shared by multiple renderables.
Definition: OgreGLES2DepthTexture.h:74
bool hasCorrectAntipodalityHandling()
Only applicable for dual quaternion skinning.
virtual void translate(Real x, Real y, Real z, TransformSpace relativeTo=TS_PARENT)
Moves the OldNode along the Cartesian axes.
virtual ~HardwareOcclusionQuery()
Object destructor.
static OldSkeletonManager & getSingleton(void)
Override standard Singleton retrieval.
MaterialPtr create(const String &name, const String &group, bool isManual=false, ManualResourceLoader *loader=0, const NameValuePairList *createParams=0)
Create a new material.
virtual ~Listener()
Definition: OgreNode.h:84
virtual void resetCompileError(void)
Reset a compile error if it occurred, allowing the load to be retried.
Definition: OgreGpuProgram.h:431
Definition: OgreCommon.h:130
virtual void regressFrame(void)
void TransferOwnership(ID3D11DeviceN *device)
short * XRRConfigRates(XRRScreenConfiguration *config, int sizeID, int *nRates)
void loadResourceGroup(const String &name, bool loadMainResources=true, bool loadWorldGeom=true)
Loads a resource group.
const String & getGLVendor(void) const
Get vendor information.
Definition: OgreGLES2Support.h:74
Specialisation of HardwareBufferManager to emulate hardware buffers.
Definition: OgreGL3PlusDefaultHardwareBufferManager.h:158
static uint32 halfToFloatI(uint16 y)
Converts a half in uint16 format to a float in uint32 format.
Definition: OgreBitwise.h:361
TerrainLayerSamplerSemantic semantic
The semantic this element represents.
Definition: OgreTerrainMaterialGenerator.h:75
virtual ~FunctionAtom()
Class default destructor.
Definition: OgreShaderFunctionAtom.h:54
void setEnabled(bool bEnable)
Enables or disables this animation. A disabled animation won't be processed at all.
void setBlendType(SceneBlendType blendType)
Shortcut to set the blend factors to common blending operations.
void pop_back()
Definition: OgreCommon.h:577
@ PF_R32G32B32A32_UINT
128-bit pixel format, 32 bits red (unsigned int), 32 bits blue (unsigned int), 32 bits green (unsigne...
Definition: OgrePixelFormat.h:182
Command object for ParticleEmitter - see ParamCommand.
Definition: OgreParticleEmitterCommands.h:46
OGRE_AUTO_MUTEX
Definition: OgreLogManager.h:76
Real x
Definition: OgreVector3.h:54
float width
Definition: OgreShaderExTextureAtlasSampler.h:61
@ ID_HLMS
Definition: OgreScriptCompiler.h:965
Command object for setting macro defines.
Definition: OgreGLSLShader.h:74
C++ encapsulation of GLSL ES Program Object.
Definition: OgreGLSLESProgramCommon.h:59
static const IdString TexMatrixCount5
Definition: OgreHlmsUnlitMobile.h:101
Real getBounce(void) const
Gets the bounce value of the deflection.
void setRadius(Real radius)
Sets the radius of the sphere.
Definition: OgreSphere.h:69
size_t tell(void) const
Returns the current byte offset from beginning.
DefaultSceneManager(const String &name, size_t numWorkerThreads, InstancingThreadedCullingMethod threadedCullingMethod)
void _oneTimeContextInitialization()
One time initialization for the RenderState of a context.
virtual void _updateSceneGraph(Camera *cam)
Update Scene Graph (does several things now)
void importUnity(const Vector3 &diffuse, const Vector3 &specular, Real roughness, bool changeBrdf)
Helper function to import & convert values from Unity (specular workflow).
void addEffect(TextureEffect &effect)
Generic method for setting up texture effects.
@ M_SUBMESH_M_GEOMETRY_EXTERNAL_SOURCE
Definition: OgreMeshFileFormat.h:98
virtual void setOrigin(const Vector3 &pos)
Define the centre position of the grid of terrain.
virtual ~GLSLESProgramCommon(void)
virtual void write(const Real *val, size_t count=1)
void setVSyncInterval(unsigned int interval)
RenderWindow::setVSyncInterval
Real getInnerSizeY(void) const
Gets the y component of the area inside the ellipsoid which doesn't emit particles.
Real arg2
Definition: OgreTextureUnitState.h:137
CG program writer factory implementation.
Definition: OgreShaderCGProgramWriter.h:119
T begin() const
access to the begin of the range
Definition: OgreIteratorRange.h:84
virtual BufferPackedTypes getBufferPackedType(void) const
Useful to query which one is the derived class.
Definition: OgreConstBufferPacked.h:50
@ ID_DEPTH_TEXTURE
Definition: OgreScriptCompiler.h:838
static PCZoneFactoryManager & getSingleton(void)
Override standard Singleton retrieval.
This class defines a ParticleAffector which applies a linear force to particles in a system.
Definition: OgreLinearForceAffector.h:52
std::map< IdString, HlmsDatablock * > HlmsDatablockMap
Definition: OgreHlmsManager.h:108
uint8 getBlendTextureCount() const
Get the number of blend textures in use.
@ ID_ENV_MAP
Definition: OgreScriptCompiler.h:775
virtual bool getCastsShadows(void) const OGRE_OVERRIDE
LodOutputProviderBuffer(v1::MeshPtr mesh)
Definition: OgreLodOutputProviderBuffer.h:44
static const IdString Pose
Definition: OgreHlms.h:774
Abstract base class for level of detail strategy based on pixel count approximations from bounding sp...
Definition: OgrePixelCountLodStrategy.h:51
static Real SymmetricRandom()
Generate a random number in the range [-1,1].
const Any & getData() const
Return the response data (user defined, only valid on success)
Definition: OgreWorkQueue.h:144
virtual void _render(const v1::CbDrawCallIndexed *cmd)
Renders a V1 RenderOperation. Assumes _setRenderOperation has already been called.
const String & getMovableType(void) const
Returns the type name of this object.
uint16 getBaseLod() const
Get the base LOD level this node starts at (the highest LOD it handles)
Definition: OgreTerrainQuadTreeNode.h:105
static bool intersects(const Plane &plane, const AxisAlignedBox &box)
Plane / box intersection test.
const GpuNamedConstants & getConstantDefinitions() const
Get the full list of GpuConstantDefinition instances.
@ ACT_INVERSE_TRANSPOSE_VIEWPROJ_MATRIX
Provides inverse transpose of concatenated view and projection matrices.
Definition: OgreGpuProgramParams.h:958
void pop_back()
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:531
vector< byte >::type MicroCode
Definition: OgreD3D11HLSLProgram.h:39
Archive * createInstance(const String &name, bool readOnly)
Creates a new object.
Definition: OgreAPKFileSystemArchive.h:91
const TransformArray & _getTransformArray() const
Definition: OgreSkeletonInstance.h:205
Property instance with passthrough calls to a given object.
Definition: OgreProperty.h:217
void setLastVisibleFrame(unsigned long frameCount)
Set the lastVisibleFrame counter.
Definition: OgrePCZone.h:113
bool resourceExistsInAnyGroup(const String &filename)
Find out if the named file exists in any group.
@ LB_BlendMultiply
Definition: OgreShaderExLayeredBlending.h:54
@ ID_IN_BUFFER
Definition: OgreScriptCompiler.h:822
virtual const String & getMaterialName(void) const
Sets the name of the material to be used for this billboard set.
virtual void _setHlmsSamplerblockCS(uint8 texUnit, const HlmsSamplerblock *samplerblock)
Implementation of CompositorPass This implementation will clear the RenderTarget using the parameters...
Definition: OgreCompositorPassStencil.h:57
PCZone * createZone(const String &zoneType, const String &instanceName)
Create a zone with the given name
A frustum represents a pyramid, capped at the near and far end which is used to represent either a vi...
Definition: OgreFrustum.h:95
GLboolean depthWrite
Definition: OgreGLES2HlmsPso.h:48
String doGet(const void *target) const
AsyncTicket(BufferPacked *creator, StagingBuffer *stagingBuffer, size_t elementStart, size_t elementCount)
std::pair< uint8, uint8 > getLayerBlendTextureIndex(uint8 layerIndex) const
Get the texture index and colour channel of the blend information for a given layer.
void importV2(Ogre::Mesh *mesh)
Converts a v2 mesh back to v1.
virtual String getAsString(void)
Returns a String containing the entire stream.
void removeShadowNodeDefinition(IdString nodeDefName)
Removes the node definition with the given name. Throws if not found.
FastArray< BoneTransform > TransformArray
Definition: OgreSkeletonTrack.h:51
@ PF_FLOAT16_RGBA
64-bit pixel format, 16 bits (float) for red, 16 bits (float) for green, 16 bits (float) for blue,...
Definition: OgrePixelFormat.h:126
static bool msOptimizeForShadowMapping
Definition: OgreMesh.h:695
PlaneOptimalShadowCameraSetup(MovablePlane *plane)
Constructor – requires a plane of interest.
RenderWindow * createWindow(bool autoCreateWindow, GLES2RenderSystem *renderSystem, const String &windowTitle)
PageContentCollectionFactory * getContentCollectionFactory(const String &name)
Get a PageContentCollectionFactory.
void _updateBoundsFromVertexBuffers(bool pad=false)
Automatically update the bounding radius and bounding box for this Mesh.
@ HBL_NORMAL
Normal mode, ie allows read/write and contents are preserved.
Definition: OgreHardwareBuffer.h:125
void renameBuffer(IdString oldName, const String &newName)
Changes the name of a buffer.
void setManualValue(const int32 *value, uint32 numValues)
void setNumWorldMatrices(ushort num)
Definition: OgreRenderSystemCapabilities.h:479
virtual Real getParticleVelocity(void) const
Returns the initial velocity of particles emitted.
int getIndex() const
Get the index of this parameter.
Definition: OgreShaderParameter.h:332
virtual ~LodWorkQueueInjector()
Definition: OgreScriptCompiler.h:577
map< String, PropertyValue >::type PropertyValueMap
Defines a transferable map of properties using wrapped value types (Ogre::Any)
Definition: OgreProperty.h:269
void setRoughness(float roughness)
Sets the roughness.
BspSceneNode(SceneManager *creator, const String &name)
Definition: OgreBspSceneNode.h:56
bool supportsBaseInstance(void) const
Definition: OgreVaoManager.h:371
bool hasColourWriteDisabled(void) const
Exists colour writing disabled pass on this technique?
PCZone * getNewHomeZone()
Get the Zone the Portal should be moved to.
Definition: OgrePortalBase.h:118
virtual void setOrientation(Real w, Real x, Real y, Real z)
Sets the orientation of this OldNode via quaternion parameters.
SourceCode(const Hlms::ShaderCodeCache &shaderCodeCache)
virtual void setTrailLength(Real len)
Set the length of the trail.
DataStreamPtr encode(MemoryDataStreamPtr &input, CodecDataPtr &pData) const
Codes the data in the input stream and saves the result in the output stream.
PixelBox * calculateNormals(const Rect &rect, Rect &outFinalRect)
Calculate (or recalculate) the normals on the terrain.
MapIterator< ResourceManagerMap > ResourceManagerIterator
Definition: OgreResourceGroupManager.h:284
virtual bool getInvertVertexWinding(void) const
Indicates whether or not the vertex windings set will be inverted for the current render (e....
NumericKeyFrame * getNumericKeyFrame(unsigned short index) const
Returns the KeyFrame at the specified index.
@ TU_NOT_SRV
Texture would not be used as Shader Resource View, i.e.
Definition: OgreTexture.h:69
static const uint32 SUBCLASS_CHUNK_ID
Definition: OgreSimplePageContentCollection.h:70
PCZ implementation of SphereSceneQuery.
Definition: OgrePCZSceneQuery.h:94
virtual void setRenderQueueSubGroup(uint8 subGroupId)=0
void blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
HlmsPso * getPso(uint32 renderableHash, bool renderableCacheAlreadySet=false)
Returns an HlmsPso you can set via renderSystem->_setPipelineStateObject based on the input hash calc...
static void toStr(const Vector4 &value, String &outString)
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
virtual bool isShuttingDown() const
Returns whether the queue is trying to shut down.
Definition: OgreWorkQueue.h:423
static const IdString BlendModeIndex6
Definition: OgreUnlitProperty.h:115
ConstPoseIterator getPoseIterator(void) const
Get an iterator over all the poses defined.
vector< const Image * >::type ConstImagePtrList
Definition: OgreImage.h:525
@ OT_PATCH_26_CONTROL_POINT
Definition: OgreHlmsPso.h:85
bool mDepthCheck
Definition: OgreHlmsDatablock.h:80
bsp_plane_t * mPlanes
Definition: OgreQuake3Level.h:135
Definition: OgreHlmsJsonUnlit.h:48
static const IdString AmbientFixed
Definition: OgreHlmsPbs.h:397
static const int RenderableMask
Definition: OgreHlms.h:902
virtual ~CompositorShadowNode()
Controller< Real > * _getAnimController() const
Gets the animation controller (as created because of setAnimatedTexture) if it exists.
Definition: OgreTextureUnitState.h:1067
virtual Real computeEdgeCollapseCost(LodData *data, LodData::Vertex *src, LodData::Edge *dstEdge)
Returns the collapse cost of the given edge.
void setRedAdjust1(float red)
Sets the red adjustment to be made per second to particles.
StrongMacroblockBits
Definition: OgreHlmsPso.h:139
@ HullShader
Definition: OgreCommon.h:367
AbstractNodeListPtr _generateAST(const String &str, const String &source, bool doImports=false, bool doObjects=false, bool doVariables=false)
Generates the AST from the given string script.
virtual void setSkyBoxEnabled(bool enable)
Enables / disables a 'sky box'.
Definition: OgreSceneManager.h:2264
void setName(const String &name)
TransparencyModes getTransparencyMode(void) const
Definition: OgreHlmsPbsDatablock.h:659
const vector< Renderable * >::type & getLinkedRenderables(void) const
Definition: OgreHlmsDatablock.h:402
void setGlobalColourMapEnabled(bool enabled, uint16 size=0)
Set whether a global colour map is enabled.
const SubRenderStateList & getTemplateSubRenderStateList() const
Get the list of the template sub render states composing this render state.
Definition: OgreShaderRenderState.h:75
void logResults()
Outputs current profile statistics to the log.
void freeMemory(void)
"build" will download meshes for raycasting.
StaticGeometry(SceneManager *owner, const String &name)
Constructor; do not use directly (.
virtual bool hasAlpha(void) const
Returns true if the texture has an alpha layer.
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:242
@ PF_PVRTC_RGB2
PVRTC (PowerVR) RGB 2 bpp.
Definition: OgrePixelFormat.h:146
NULLConstBufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface, size_t bindableSize)
VertexElementType getColourVertexElementType() const
Get the native VertexElementType for a compact 32-bit colour value for this rendersystem.
CompositorWorkspaceDef(const String &name, CompositorManager2 *compositorManager)
vector< SubMeshLodGeometryLink >::type SubMeshLodGeometryLinkList
Definition: OgreStaticGeometry.h:158
SubRenderStateAccessorPtr getAccessor()
Return the accessor object to this sub render state.
Definition: OgreHlms.h:878
virtual void findVisibleNodes(PCZCamera *, NodeList &visibleNodeList, RenderQueue *queue, VisibleObjectsBoundsInfo *visibleBounds, bool onlyShadowCasters, bool displayNodes, bool showBoundingBoxes)
Find and add visible objects to the render queue.
bool test(size_t position) const
Definition: OgreBitset.h:78
Definition: OgreGLES2GpuProgramManager.h:38
void clear()
Clear the cache.
Definition: OgreDataStream.h:144
float mRoughness
Definition: OgreDecal.h:91
void setHardwareGammaEnabled(bool enabled)
Sets whether this texture will be set up so that on sampling it, hardware gamma correction is applied...
static const IdString BlendModeIdx8
Definition: OgreHlmsUnlitMobile.h:133
void destroy(HighLevelGpuProgram *prog)
PageStrategyData * createData()
Create a PageStrategyData instance containing the data specific to this PageStrategy.
@ SBO_REVERSE_SUBTRACT
Definition: OgreBlendMode.h:257
@ PF_R3G3B2
8-bit pixel format, 2 bits blue, 3 bits green, 3 bits red.
Definition: OgrePixelFormat.h:65
void setActiveGeometryShader(GLSLShader *geometryShader)
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
@ PROP_UNKNOWN
Definition: OgreProperty.h:124
std::deque< T, A > type
Definition: OgrePrerequisites.h:601
const String & getMovableType(void) const
Overridden from MovableObject.
virtual Real getRepeatDelay(void) const
Gets the duration of the emitter from when it is created or re-enabled.
#define _snprintf
Definition: OgreLwString.h:40
BspRaySceneQuery(SceneManager *creator)
UpdateLodRequest()
Definition: OgreSceneManager.h:196
virtual void setDirection(const Vector3 &direction)
Sets the direction of the emitter.
#define OGRE_THREAD_POINTER(T, var)
Definition: OgreThreadDefinesBoost.h:66
@ ACT_VIEWPORT_HEIGHT
Current viewport height (in pixels) as floating point value.
Definition: OgreGpuProgramParams.h:1226
virtual ~ArchiveFactory()
Definition: OgreArchiveFactory.h:62
@ ID_FOG_OVERRIDE
Definition: OgreScriptCompiler.h:698
virtual void setConfigOption(const String &name, const String &value)
int DisplayWidth(Display *nativeDisplayType, int screen)
Definition: OgreCompositorPassDepthCopyDef.h:49
PropertyType getType() const
Get the type of the property.
Definition: OgreProperty.h:202
Definition: OgreCompositorPassUavDef.h:51
@ SO_FLAT
Definition: OgreCommon.h:250
String doGet(const void *target) const
void setUseAccurateFacing(bool acc)
Sets whether or not billboards should use an 'accurate' facing model based on the vector from each bi...
static void updateAllTransformsBoneToTag(const size_t numNodes, Transform t)
@See Node::updateAllTransforms.
virtual void colour(Real r, Real g, Real b, Real a=1.0f)
Add a vertex colour to a vertex.
VSOutputCompactPolicy
Definition: OgreShaderPrerequisites.h:87
GLint getAttributeIndex(VertexElementSemantic semantic, uint index)
Get the index of a non-standard attribute bound in the linked code.
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
virtual void switchMode(uint &width, uint &height, short &frequency)
ImageBlur2D separableBlur_Float32_XXXA
Definition: OgreImageDownsampler.h:167
void setClipPlanesImpl(const Ogre::PlaneList &planeList)
Internal method used to set the underlying clip planes when needed.
Definition: OgreGLES2RenderSystem.h:442
Vector2(Real *const r)
Definition: OgreVector2.h:86
virtual void setInitialColour(size_t chainIndex, Real r, Real g, Real b, Real a=1.0)
Set the starting ribbon colour.
const String & getName() const
Get the name of the plugin.
SceneManager * createSceneManager(SceneTypeMask typeMask, size_t numWorkerThreads, InstancingThreadedCullingMethod threadedCullingMethod, const String &instanceName=BLANKSTRING)
Create a SceneManager instance based on scene type support.
bool getDecalsEnabled(void) const
Definition: OgreForwardPlusBase.h:217
const TextureUnitState * getTextureUnitState(size_t index) const
Retrieves a const pointer to a texture unit state.
String doGet(const void *target) const
bool operator>(const Degree &d) const
Definition: OgreMath.h:136
CompareFunction
Comparison functions used for the depth/stencil buffer operations and others.
Definition: OgreCommon.h:96
void setBuildLegacyLightList(bool bEnable)
Enables or disables the legace 1.9 way of building light lists which can be used by HlmsLowLevel mate...
unsigned int getLastQuerysPixelcount() const
Let's you get the last pixel count with out doing the hardware occlusion test.
Definition: OgreHardwareOcclusionQuery.h:109
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
type::iterator iterator
Definition: OgrePrerequisites.h:713
static unsigned int fixedToFixed(uint32 value, unsigned int n, unsigned int p)
Convert N bit colour channel value to P bits.
Definition: OgreBitwise.h:206
void setDesiredFormat(PixelFormat desiredFormat)
Sets the desired pixel format when load the texture.
const String & getReturnType() const
Return the return type.
Definition: OgreShaderFunctionAtom.h:218
GL3PlusDepthPixelBuffer(GL3PlusDepthTexture *parentTexture, const String &baseName, uint32 width, uint32 height, uint32 depth, PixelFormat format)
virtual void advanceFrame(void)=0
void setUseColour(bool useColour)
Controls whether the value in.
Definition: OgreD3D11VideoMode.h:38
void destroyAllOverlayElements(bool isTemplate=false)
Destroys all the OverlayElement created so far.
list< VertexSplit >::type VertexSplits
Definition: OgreTangentSpaceCalc.h:75
bool requiresTextureFlipping() const
Definition: OgreSDLWindow.h:84
static Real boundingRadiusFromAABB(const AxisAlignedBox &aabb)
Get a bounding radius value from a bounding box.
Definition: OgreLodCollapseCostCurvature.h:42
String getNameForMicrocodeCache()
FilterOptions mMipFilter
Definition: OgreHlmsSamplerblock.h:68
void _writeRawConstant(size_t physicalIndex, Real val, size_t count)
Write a variable number of floating-point parameters to the program.
@ LBX_BLEND_DIFFUSE_COLOUR
use interpolated color values from vertices to scale source1, then add source2 scaled by (1-color)
Definition: OgreBlendMode.h:105
size_t getFirstNode(Transform &outTransform)
Retrieves a Transform pointing to the first Node.
@ CE_OBJECTALLOCATIONERROR
Definition: OgreScriptCompiler.h:212
bool isEnabled(void)
Definition: OgrePCZSceneNode.h:118
static void cullFrustum(const size_t numNodes, ObjectData t, const Camera *frustum, uint32 sceneVisibilityFlags, MovableObjectArray &outCulledObjects, const Camera *lodCamera)
bool _createRenderWindows(const RenderWindowDescriptionList &renderWindowDescriptions, RenderWindowList &createdWindows)
Creates multiple rendering windows.
@ ID_SOLID
Definition: OgreScriptCompiler.h:694
String doGet(const void *target) const
ImageBlur2D separableBlur_sRGB_A8
Definition: OgreImageDownsampler.h:210
unsigned long getDirtyFrameNumber(void) const
Get the latest animation state been altered frame number.
Definition: OgreAnimationState.h:246
void updateDerivedData(bool synchronous=false, uint8 typeMask=0xFF)
Updates derived data for the terrain (LOD, lighting) to reflect changed height data,...
This class responsible for translating core features of the RT Shader System for Ogre material script...
Definition: OgreShaderScriptTranslator.h:48
virtual void _endFrameOnce(void)
Called once per frame, regardless of how many active workspaces there are.
Definition: OgreRenderSystem.h:892
static PixelBox getPixelBoxWithMapping(D3D11_BOX extents, DXGI_FORMAT pixelFormat, const D3D11_MAPPED_SUBRESOURCE &mapping)
utility method, generates Ogre PixelBox using usual parameters and dataPtr/rowPitch/slicePitch from D...
void destroyZone(PCZone *zone, bool destroySceneNodes)
Destroy an existing zone within the scene.
virtual Page * loadOrCreatePage(const Vector3 &worldPos)
Load or create a page against this section covering the given world space position.
virtual void _addNode(PCZSceneNode *)=0
Adds an SceneNode to this PCZone.
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
const FilterKernel c_filterKernels[3]
void setInnerSizeX(Real x)
Sets the x component of the area inside the ellipsoid which doesn't emit particles.
static const IdString BlendModeIdx7
Definition: OgreHlmsUnlitMobile.h:132
Specialisation of VertexDeclaration for OpenGL Vertex Array Object usage.
Definition: OgreGL3PlusVertexArrayObject.h:38
@ SpecularAsFresnelWorkflow
Specular workflow where the specular texture is addressed to the fresnel instead of kS.
Definition: OgreHlmsPbsDatablock.h:215
void deallocateScratch(void *ptr)
Definition: OgreGL3PlusHardwareBufferManager.h:146
virtual void _notifyResourceUnloaded(Resource *res)
Notify this manager that a resource which it manages has been unloaded.
@ PM_SOLID
Solid polygons are rendered.
Definition: OgreCommon.h:318
@ PF_R8_SNORM
8-bit pixel format, 8 bits red (signed normalised int).
Definition: OgrePixelFormat.h:230
void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
DataStreamPtr createResource(const String &filename, const String &groupName=DEFAULT_RESOURCE_GROUP_NAME, bool overwrite=false, const String &locationPattern=BLANKSTRING)
Create a new resource file in a given group.
@ ACT_TRANSPOSE_WORLDVIEWPROJ_MATRIX
Provides transpose of concatenated world, view and projection matrices.
Definition: OgreGpuProgramParams.h:983
Definition: OgreD3D11Driver.h:41
Command object for green adjust (see ParamCommand).
Definition: OgreColourFaderAffector2.h:57
virtual void setPreferredFloatBitDepth(ushort bits, bool reloadTextures=true)
Sets preferred bit depth for float pixel format textures.
@ ID_SHADOW_MAP_TARGET_TYPE
Definition: OgreScriptCompiler.h:956
void importV1(v1::Mesh *mesh, bool halfPos, bool halfTexCoords, bool qTangents, bool halfPose=true)
Imports a v1 mesh to this mesh, with optional optimization conversions.
virtual void setFOVy(const Radian &fovy)
Sets the Y-dimension Field Of View (FOV) of the frustum.
virtual void setZoneGeometry(const String &filename, PCZSceneNode *parentNode)
Called by PCZSM during setZoneGeometry()
SmallVector & operator=(const SmallVectorImpl< T > &RHS)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:970
void destroyRenderWindow(RenderWindow *pWin)
See RenderSystem.
void _prepare(void)
Internal method for preparing this object for load, as part of Material::prepare.
bool intersects(const Ray &ray)
Check if portal intersects a ray.
GLuint getVboName(void) const
Definition: OgreGLES2DynamicBuffer.h:81
const String & getWorldResourceGroupName(void) const
Gets the resource group that 'world' resources will use.
Definition: OgreResourceGroupManager.h:932
Factory for OctreeSceneManager.
Definition: OgreOctreeSceneManager.h:215
@ RSC_HWOCCLUSION_ASYNCHRONOUS
Supports asynchronous hardware occlusion queries.
Definition: OgreRenderSystemCapabilities.h:190
void setWidth(Real width)
Sets the width of this element in relation to the screen (where 1.0 = screen width)
vector< StrideChanger >::type StrideChangerVec
Definition: OgreNULLVaoManager.h:81
Specialised KeyFrame which stores absolute vertex positions for a complete buffer,...
Definition: OgreKeyFrame.h:157
bool operator==(const TerrainLayerSamplerElement &e) const
Definition: OgreTerrainMaterialGenerator.h:81
void setSourceModifier(unsigned short index, SourceModifier modType, int customNum)
Set the source modifier parameters for a given texture unit.
virtual bool isManuallyLoaded(void) const
Is this resource manually loaded?
Definition: OgreResource.h:293
void reset(void)
Resets the position and orientation of this OldBone to the original binding position.
const String & getFragmentProgramName(void) const
Gets the name of the fragment program used by this pass.
@ OR_DEGREE_0
Definition: OgreFrustum.h:50
virtual bool areFixedFunctionLightsInViewSpace() const
Are fixed-function lights provided in view space? Affects optimisation.
Definition: OgreRenderSystem.h:611
static const char * Uav
Definition: OgreHlmsCompute.h:208
void setRenderToBufferMaterialName(const String &materialName)
Set the material name which is used to render the geometry into the vertex buffer.
@ VSOCP_LOW
Definition: OgreShaderPrerequisites.h:88
virtual SceneNode * createChildSceneNode(const Vector3 &translate=Vector3::ZERO, const Quaternion &rotate=Quaternion::IDENTITY)
Creates an unnamed new SceneNode as a child of this node.
StencilStateOp stencilBack
Definition: OgreCommon.h:176
void rotate(const Quaternion &q)
Rotate the camera around an arbitrary axis using a Quaternion.
static const IdString AlphaTestCmpFunc
Definition: OgreHlms.h:886
virtual bool getPassFogStates(void) const
Returns whether a fragment program wants fog state to be passed through fixed pipeline low level API ...
Definition: OgreGpuProgram.h:410
virtual void _hlmsMacroblockDestroyed(HlmsMacroblock *block)
void seek(size_t pos)
Repositions the read point to a specified byte.
void destroyAll(void)
Destroys all existing overlays.
static ParameterPtr createConstParamFloat(float val)
static String TargetLanguage
Definition: OgreShaderGLSLESProgramWriter.h:76
TransformSpace
Enumeration denoting the spaces which a transform can be relative to.
Definition: OgreOldNode.h:70
const ColourValue & getColour(void) const
Gets the colour of the text.
HlmsPassPso pass
Fixed to 0xffffffff for now.
Definition: OgreHlmsPso.h:187
static bool isNaN(Real f)
Definition: OgreMath.h:307
size_t getNumChildren(void) const
Reports the number of child nodes under this one.
Definition: OgreBone.h:145
String doGet(const void *target) const
Represents the transform of a single object, arranged in SoA (Structure of Arrays)
Definition: OgreObjectData.h:39
void setSelfIllumination(Real red, Real green, Real blue)
Sets the amount of self-illumination of every Pass in every Technique.
virtual size_t getConstBufferSize(void) const
Returns the amount of bytes that fillConstBufferData is going to fill.
@ OPM_ALL
Definition: OgreShaderFunctionAtom.h:96
virtual MultiRenderTarget * createMultiRenderTarget(const String &name)=0
Create a MultiRenderTarget, which is a render target that renders to multiple RenderTextures at once.
ParticleAffector * addAffector(const String &affectorType)
Adds an affector to this particle system.
const Ogre::String & getName()
Gets the previously set name.
void setBlendblock(const HlmsBlendblock &blendblock, bool casterBlock=false)
Sets a new blendblock that matches the same parameter as the input.
bool hasCompileError(void) const
Did this program encounter a compile error when loading?
virtual bool getForceDisableColourWrites(void) const
Used by depth texture views which need to disable colour writes when rendering to it PF_NULL targets ...
Definition: OgreMetalNullTexture.h:110
std::list< T, A >::iterator iterator
Definition: OgrePrerequisites.h:630
void normalise(void)
Unlike Quaternion::normalise(), this function does not return the length of the vector because such v...
PageManager * getManager() const
Get the manager of this world.
Definition: OgrePagedWorld.h:78
void FromEulerAnglesYZX(const Radian &fYAngle, const Radian &fPAngle, const Radian &fRAngle)
Definition: OgreHlmsTextureManager.h:157
Vector3 & getMaximum(void)
Gets a modifiable version of the maximum corner of the box.
Definition: OgreAxisAlignedBox.h:172
@ RSC_TEXTURE_COMPRESSION_PVRTC
Supports compressed textures in the PVRTC format.
Definition: OgreRenderSystemCapabilities.h:142
void initialiseAllResourceGroups(bool changeLocaleTemporarily)
Initialise all resource groups which are yet to be initialised.
@ CB_DRAW_V1_INDEXED
Definition: OgreCbCommon.h:66
ConstVectorIterator< EnabledAnimationStateList > ConstEnabledAnimationStateIterator
Definition: OgreAnimationState.h:193
bool getStatic(void) const
Definition: OgreCubemapProbe.h:166
@ ID_ONE
Definition: OgreScriptCompiler.h:652
virtual void getRenderOperation(RenderOperation &op)
Sets up the LegacyRenderOperation for rendering this scene node as geometry.
@ ACT_TANTIME_0_2PI
Tangent of "Time0_2PI". Equivalent to RenderMonkey's "TanTime0_2PI".
Definition: OgreGpuProgramParams.h:1209
virtual void setAspectRatio(Real ratio)
Sets the aspect ratio for the frustum viewport.
ChunkParameters * getChunkParameters(void)
Gets the parameters with which the chunktree got loaded.
ShaderProgramWriterCGFactory()
Definition: OgreShaderCGProgramWriter.h:121
PixelFormatDescription _pixelFormats[PF_COUNT]
Pixel format database.
Definition: OgrePixelFormatDescriptions.h:65
virtual GL3PlusContext * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
void setFrameTextureName(const String &name, unsigned int frameNumber)
Sets the name of the texture associated with a frame.
static GLenum getClosestGLImageInternalFormat(PixelFormat format)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format for i...
DXGI_RATIONAL getRefreshRate() const
ArrayReal Norm(void) const
void destroyAllNodeTracks(void)
Removes and destroys all tracks making up this animation.
@ AU_DEGREE
Definition: OgreMath.h:203
NumericAnimationTrack(Animation *parent, unsigned short handle, AnimableValuePtr &target)
Constructor, associates with an AnimableValue.
void dearrangeToInefficient(void)
void setSubroutine(GpuProgramType gptype, unsigned int slotIndex, const String &subroutineName)
virtual void allWorkspacesBeginUpdate(void)
Called from CompositorManager2 (not CompositorWorkspace) when we're about to update all the workspace...
Definition: OgreCompositorWorkspaceListener.h:80
void profilingBegin(void)
virtual VertexAnimationType getSharedVertexDataAnimationType(void) const
Gets the type of vertex animation the shared vertex data of this mesh supports.
static Radian ATan2(Real fY, Real fX)
Arc tangent between two values function.
Definition: OgreMath.h:298
void _removeAllBarriers(void)
Command object for particle_width (see ParamCommand).
Definition: OgreParticleSystem.h:99
void loadJobs(const rapidjson::Value &json, const HlmsJson::NamedBlocks &blocks)
virtual bool hasNonZeroKeyFrames(void) const
Method to determine if this track has any KeyFrames which are doing anything useful - can be used to ...
Definition: OgreAnimationTrack.h:225
virtual const String & getSource() const
Gets the source function.
Definition: OgreException.h:158
virtual void freeInternalResources(void)
Frees internal texture resources for this texture.
void convertTerrainSlotToWorldPosition(long x, long y, Vector3 *pos) const
Convert a slot location to a world position at the centre.
Real getLoadingOrder(void) const
Gets the relative loading order of scripts of this type.
virtual void extrudeVertices(const Vector4 &lightPos, Real extrudeDist, const float *srcPositions, float *destPositions, size_t numVertices)=0
Extruding vertices by a fixed distance based on light position.
const CompositorNode * getParentNode(void) const
Definition: OgreCompositorPass.h:175
virtual void removeChainElement(size_t chainIndex)
Remove an element from the 'tail' of a chain.
AreaEmitter(ParticleSystem *psys)
Definition: OgreAreaEmitter.h:73
void setPageProvider(PageProvider *provider)
Set the PageProvider which can provide streams for Pages in this world.
Definition: OgrePagedWorld.h:174
FunctionAtomInstanceList::const_iterator FunctionAtomInstanceConstIterator
Definition: OgreShaderFunctionAtom.h:257
virtual void startup(bool forceRestart=true)=0
Start up the queue with the options that have been set.
vector< CompositorNode * >::type CompositorNodeVec
Definition: OgreCompositorCommon.h:53
UniformParameterPtr resolveAutoParameterInt(GpuProgramParameters::AutoConstantType autoType, GpuConstantType type, size_t data, size_t size=0)
Resolve uniform auto constant parameter with associated int data of this program.
virtual void cancelUpdate(OldNode *child)
Called by children to notify their parent that they no longer need an update.
virtual void setSyntaxCode(const String &syntax)
Sets the syntax code for this program e.g.
Used as the light list, sorted.
Definition: OgreCommon.h:668
ShaderProgramWriterHLSLFactory()
Definition: OgreShaderHLSLProgramWriter.h:122
void writeData(size_t offset, size_t length, const void *pSource, bool discardWholeBuffer=false)
See HardwareBuffer.
GL3PlusRenderBuffer(GLenum format, uint32 width, uint32 height, GLsizei numSamples)
This is the main class for the compiler.
Definition: OgreScriptCompiler.h:189
RingEmitter(ParticleSystem *psys)
@ ID_CLOCKWISE
Definition: OgreScriptCompiler.h:687
virtual void bindToFramebuffer(GLenum attachment, uint32 zoffset)
Bind surface to frame buffer.
void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)
Clears one or more frame buffers on the active render target.
uint getUpdateDisplayFrequency() const
Gets the frequency that the Profiler display is updated.
LodOutsideMarker(LodData::VertexList &vertexList, Real boundingSphereRadius, Real walkAngle)
@ VECTOR2
Definition: OgreAnimable.h:80
unsigned long ulong
Definition: OgrePrerequisites.h:131
MapIterator(typename T::iterator start, typename T::iterator last)
Constructor.
Definition: OgreIteratorWrapper.h:326
bool getCastsShadows(void) const
Method which reports whether this renderable would normally cast a shadow.
size_t findFirstOf(const char *c, size_t pos) const
Definition: OgreHlmsCommon.h:101
GLSLESLinkProgram * getActiveLinkProgram(void)
Get the program object that links the two active shader objects together if a program object was not ...
Vector3 normalisedCopy(void) const
As normalise, except that this vector is unaffected and the normalised vector is returned as a copy.
Definition: OgreVector3.h:729
#define _OgreHlmsUnlitMobileExport
Definition: OgreHlmsUnlitMobilePrerequisites.h:48
@ ACT_LIGHT_DIFFUSE_COLOUR_POWER_SCALED_ARRAY
Array of light diffuse colours scaled by light power (count set by extra param)
Definition: OgreGpuProgramParams.h:1067
void resetCompileError(void)
Reset a compile error if it occurred, allowing the load to be retried.
virtual void getFormatsForPso(PixelFormat outFormats[OGRE_MAX_MULTIPLE_RENDER_TARGETS], bool outHwGamma[OGRE_MAX_MULTIPLE_RENDER_TARGETS]) const
IdString getName(void) const
Definition: OgreTextureDefinition.h:119
bool operator<(const Degree &d) const
Definition: OgreMath.h:131
ImageDownsampler2D downscale2x_sRGB_XA88
Definition: OgreImageDownsampler.h:185
HlmsDatablock * clone(String name) const
Creates a copy of this datablock with the same settings, but a different name.
ushort getMaximumResolutionCubemap(void) const
Maximum resolution (width or height)
Definition: OgreRenderSystemCapabilities.h:747
Ogre assumes that there are separate programs to deal with but GLSL ES has one program object that re...
Definition: OgreGLSLESProgramManagerCommon.h:57
void setDepthTextureCopy(const String &srcTextureName, const String &dstTextureName)
Indicates the pass to change the texture units to use the specified texture sources.
Encapsulates a node in a BSP tree.
Definition: OgreBspNode.h:52
T operator-=(const T &sub)
Definition: OgreAtomicScalar.h:476
WorkQueue * getWorkQueue() const
Get the WorkQueue for processing background tasks.
Definition: OgreRoot.h:1044
@ ID_DEPTH_POOL
Definition: OgreScriptCompiler.h:837
const FrameStats * getFrameStats(void) const
Definition: OgreRoot.h:534
virtual Animation * getAnimation(unsigned short index) const
Gets a single animation by index.
virtual CompositorPassDef * addPassDef(CompositorPassType passType, IdString customId, CompositorTargetDef *parentTargetDef, CompositorNodeDef *parentNodeDef)=0
Called from CompositorTargetDef::addPass when adding a Compositor Pass of type 'custom'.
bool scalingShearingSupport
Definition: OgreShaderExHardwareSkinning.h:70
GLES2Context * clone() const
Create a new context based on the same window/pbuffer as this context - mostly useful for additional ...
bool mReadOnlyStencil
Definition: OgreCompositorPassDef.h:124
void setMaximumY(Real y)
Definition: OgreAxisAlignedBox.h:236
@ SPC_POSTOLIGHT_TANGENT_SPACE7
Definition: OgreShaderParameter.h:164
float invDivisor
Definition: OgreHlmsUnlitMobileDatablock.h:79
OctreeSceneManager(const String &name)
Standard Constructor.
ushort getTarget(void) const
Return the target geometry index of the pose.
Definition: OgrePose.h:68
virtual void notifyOnDeviceReset(IDirect3DDevice9 *d3d9Device)
virtual void setMaterialOfLevel(size_t level, const String &matName)
Sets the material of all chunks of a specific level in the tree.
Definition: OgreGLES2Support.h:42
void clearState(void)
The RenderQueue keeps track of API state to avoid redundant state change passes Calling this function...
DistanceLodStrategyBase(const String &name)
Default constructor.
Real getCosTime_0_2Pi(Real x) const
bool requiresTextureFlipping() const
static RenderSystemCapabilitiesManager * getSingletonPtr(void)
Override standard Singleton retrieval.
virtual SceneNode * createSceneNode(void)
Creates a PCZSceneNode
virtual Vector3 convertLocalToWorldPosition(const Vector3 &localPos)
Gets the world position of a point in the OldNode local space useful for simple transforms that don't...
static Radian Sign(const Radian &rValue)
Definition: OgreMath.h:357
Definition: OgreCbCommon.h:74
uint8 mBlendChannelMask
Masks which colour channels will be writing to.
Definition: OgreHlmsDatablock.h:165
const GpuSharedParamUsageList & getSharedParameters() const
Get the list of shared parameter sets.
void setDebugMode(bool debugMode)
Turns on visualization of light cell occupancy.
Definition: OgreForwardPlusBase.h:194
Real getTimeFactor(void) const
Return relative speed of time as perceived by time based controllers.
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
virtual void destroyInstance(SubRenderState *subRenderState)
Destroy the given instance.
uint32 getLightsPerCell(void) const
Definition: OgreForwardClustered.h:126
Builds the difference between two sources.
Definition: OgreVolumeCSGSource.h:274
void setVertexShader(GpuProgramPtr &shader)
Calls to this function can be skipped if it's valid to not have a shader set at this stage,...
bool isDeferredProcessInProgress() const
If true, it's not safe to access this Page at this time, contents may be changing.
Definition: OgrePage.h:110
bool restoreConfig(void)
Checks for saved video/sound/etc settings.
Real getFrameDelay(void) const
OctreeAxisAlignedBoxSceneQuery(SceneManager *creator)
String getAttachedShaderNames() const
Definition: OgreGLSLShader.h:149
~D3D9HardwareBufferManager()
Definition: OgreD3D9HardwareBufferManager.h:74
virtual void getFormatsForPso(PixelFormat outFormats[OGRE_MAX_MULTIPLE_RENDER_TARGETS], bool outHwGamma[OGRE_MAX_MULTIPLE_RENDER_TARGETS]) const
@ SBF_SOURCE_ALPHA
Definition: OgreBlendMode.h:243
virtual void setShadowDirectionalLightExtrusionDistance(Real dist)
Sets the distance a shadow volume is extruded for a directional light.
FastArray< Real > LodValueArray
distance list used to specify LOD
Definition: OgreMaterial.h:92
virtual_l1 void estimateVertexCount(size_t vcount)
Estimate the number of vertices ahead of time.
static const IdString DiffuseMapCount1
Definition: OgreHlmsUnlitMobile.h:109
void setTimeFactor(Real tf)
Class representing the state of a single texture unit during a Pass of a Technique,...
Definition: OgreTextureUnitState.h:62
@ NUM_BUFFER_PACKED_TYPES
Definition: OgreBufferPacked.h:90
virtual uint32 getHeight() const
void setMinimum(Real x, Real y, Real z)
Definition: OgreAxisAlignedBox.h:186
virtual void _markGpuParamsDirty(uint16 mask)
Method to allow you to mark gpu parameters as dirty, causing them to be updated according to the mask...
virtual void apply(const TimeIndex &timeIndex, Real weight=1.0, Real scale=1.0f)=0
Applies an animation track to the designated target.
static String FACTORY_TYPE_NAME
Definition: OgreWireAabb.h:72
virtual void waitForSpecificFrameToFinish(uint32 frameCount)=0
Waits for a specific frame to be ready.
void _setSurfaceParams(const ColourValue &ambient, const ColourValue &diffuse, const ColourValue &specular, const ColourValue &emissive, Real shininess, TrackVertexColourType tracking)
Sets the surface properties to be used for future rendering.
const MovableObject * getTrackedObject(void) const
Definition: OgreWireAabb.h:45
BufferPackedTypes
Definition: OgreBufferPacked.h:83
void setTime(Real timeVal)
Set the time value manually.
uint32 ABGR
Definition: OgreColourValue.h:43
void shutdown()
Perform any tasks the plugin needs to perform when the system is shut down.
@ SPC_LIGHTDIRECTION_VIEW_SPACE7
Definition: OgreShaderParameter.h:194
size_t mFloatsPerEntity
Definition: OgreInstanceBatchHW_VTF.h:67
static size_t getMaxMipmaps(uint32 width, uint32 height, uint32 depth, PixelFormat format)
Returns the maximum number of Mipmaps that can be generated until we reach the mininum format possibl...
void _setTextureBorderColour(size_t stage, const ColourValue &colour)
Win32EGLContext(EGLDisplay eglDisplay, const EGLSupport *glsupport, ::EGLConfig fbconfig, ::EGLSurface drawable)
void setTextureType(TextureType ttype)
Sets the type of texture; can only be changed before load()
Definition: OgreTexture.h:133
virtual ~ScriptLoader()
Definition: OgreScriptLoader.h:62
size_t getSize(void) const
Retrieves info about the size of the resource.
Default implementation of IntersectionSceneQuery.
Definition: OgreSceneManager.h:3242
virtual bool getOption(const String &, void *)
Gets the given option for the Scene Manager.
int _OgreExport findCommandLineOpts(int numargs, char **argv, UnaryOptionList &unaryOptList, BinaryOptionList &binOptList)
Locate command-line options of the unary form '-blah' and of the binary form '-blah foo',...
static void startup(void)
Static method to startup FreeImage and register the FreeImage codecs.
Virtual interface of the stereo driver.
Definition: OgreD3D9StereoDriverAMD.h:46
T & operator*() const
Definition: OgreSharedPtr.h:264
Definition: OgreSceneManager.h:324
ushort poseIndex
The linked pose index.
Definition: OgreKeyFrame.h:206
Definition: OgreImageResampler.h:94
void _findNodes(const AxisAlignedBox &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
int getTargetLodLevel() const
Definition: OgreTerrain.h:1898
void setUseStableMarkers(bool useStableMarkers)
Sets whether each frame should be tagged with the frame number (starting from 0).
void createBlendMask(size_t blendMaskSizeHint, float initialWeight=1.0f)
Create a new blend mask with the given number of entries.
virtual void save()
Save page data to an automatically generated file name.
void setDecalsEmissive(const TexturePtr &tex)
See SceneManager::setDecalsDiffuse.
Definition: OgreSceneManager.h:1370
virtual RenderSystemCapabilities * createRenderSystemCapabilities(void) const
Query the real capabilities of the GPU and driver in the RenderSystem.
PbsUvAtlasParams mUvAtlasParams[4]
Definition: OgrePbsMobileShaderCreationData.h:59
virtual void setColour(const ColourValue &col)
Sets the colour on elements that support it.
Specialized SceneNode that is customized for working within an Octree.
Definition: OgreOctreeNode.h:54
static void setDefaultVisibilityFlags(uint32 flags)
Set the default visibility flags for all future MovableObject instances.
static bool isSampler(GpuConstantType c)
Definition: OgreGpuProgramParams.h:286
virtual ~CPreprocessor()
Destroy the preprocessor object.
PatchMesh(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group)
Constructor.
static const IdString UvCount0
Definition: OgreHlms.h:790
virtual void write(const Vector3 *vec, size_t count=1)
void setShininess(Real val)
Sets the shininess of the pass, affecting the size of specular highlights.
@ TU_AUTOMIPMAP
Mipmaps will be automatically generated for this texture.
Definition: OgreTexture.h:63
@ WorldMat
Definition: OgreBoneArrayMemoryManager.h:63
#define _OgreVolumeExport
Definition: OgreVolumePrerequisites.h:50
const ShaderParameterList & getInputParameters() const
Return a list of input parameters.
Definition: OgreShaderFunction.h:134
virtual ProjectionType getProjectionType(void) const
Retrieves info on the type of projection used (orthographic or perspective).
unsigned int getMisses()
Definition: OgreVertexIndexData.h:349
void nodeCreated(Transform &outTransform, size_t depth)
Requests memory for the given transform for the first, initializing values.
void removePiece(IdString pieceName)
Removes an existing piece.
ID3D11DepthStencilView * getDepthStencilView(uint8 viewportRenderTargetFlags)
~AxisAlignedBox()
Definition: OgreAxisAlignedBox.h:140
const ShaderProfiles & getSupportedShaderProfiles() const
Returns a set of all supported shader profiles.
Definition: OgreRenderSystemCapabilities.h:620
VertexElementType getType(void) const
Gets the data format of this element.
Definition: OgreHardwareVertexBuffer.h:136
void * getDataPtr(size_t offset) const
Definition: OgreGLES2DefaultHardwareBufferManager.h:92
KeyFrame * _clone(AnimationTrack *newParent) const
Clone a keyframe (internal use only)
float mDepthBiasSlopeScale
The slope-relative bias value, expressed as a factor of the depth slope.
Definition: OgreHlmsDatablock.h:100
virtual void destroyLight(Light *light)
Removes the light from the scene and destroys it based on a pointer.
void doSet(void *target, const String &val)
void queueEndRendering(bool state=true)
Queues the end of rendering.
void exportMesh(const Mesh *pMesh, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE)
Exports a mesh to the stream specified, in the latest format.
uint32 getPrimitiveStart(void) const
Definition: OgreVertexArrayObject.h:113
Real getOwnWidth(void) const
Retrieves the billboard's personal width, if hasOwnDimensions is true.
ConstMapIterator< VertexTrackList > VertexTrackIterator
Definition: OgreAnimation.h:407
ResourceManager * _getResourceManager(const String &resourceType)
Internal method for getting a registered ResourceManager.
virtual SceneNode * createSceneNodeImpl(const String &name)
Creates a specialized OctreeNode.
GLint mMinFilter
Definition: OgreGLES2HlmsSamplerblock.h:52
virtual void _setGeometryTexture(size_t unit, const TexturePtr &tex)
Compositor nodes are the core subject of compositing.
Definition: OgreCompositorNodeDef.h:78
static const int SubRqIdBits
Definition: OgreRenderQueue.h:259
size_type max_size() const
Definition: OgreMemorySTLAllocator.h:153
void makeTransform(const Vector3 &position, const Vector3 &scale, const Quaternion &orientation)
Building a Matrix4 from orientation / scale / position.
bool supportsMorphAnimation
Definition: OgreMaterialSerializer.h:54
void doSet(void *target, const String &val)
Image & flipAroundY()
Flips (mirrors) the image around the Y-axis.
virtual void getFormatsForPso(PixelFormat outFormats[OGRE_MAX_MULTIPLE_RENDER_TARGETS], bool outHwGamma[OGRE_MAX_MULTIPLE_RENDER_TARGETS]) const
size_t offset
Definition: OgreCompositorPassUavDef.h:84
void _findNodes(const Ray &t, PCZSceneNodeList &list, PortalList &visitedPortals, bool includeVisitors, bool recurseThruPortals, PCZSceneNode *exclude)
virtual void setSource(Source *a)
Sets the source.
const String & getName(void) const
Get the name of this object.
Definition: OgreStaticGeometry.h:543
String doGet(const void *target) const
bool operator<(const StencilStateOp &other) const
Definition: OgreCommon.h:142
virtual const Microcode & getMicrocodeFromCache(const String &source) const
Returns a microcode for a program from the microcode cache.
This is a abstract class that that provides the interface for the query class for hardware occlusion.
Definition: OgreHardwareOcclusionQuery.h:52
@ M_ANIMATION_POSE_REF
Definition: OgreMeshFileFormat.h:176
@ PASS_QUAD
Definition: OgreCompositorPassDef.h:52
void removeListener(ProfileSessionListener *listener)
Class for providing backwards-compatibility for loading version 1.3 of the .mesh format.
Definition: OgreMeshSerializerImpl.h:281
String filename
Filename, if this is to be loaded from a file.
Definition: OgreTerrainGroup.h:307
vector< PageContent * >::type ContentList
Definition: OgreSimplePageContentCollection.h:69
void addPCZSceneNode(PCZSceneNode *sn, PCZone *zone)
add a PCZSceneNode to the scene by putting it in a zone NOTE: This zone will be the scene node's home...
bool isManuallyControlled() const
Getter for mManuallyControlled Flag.
ForwardPlusBase(SceneManager *sceneManager, bool decalsEnabled)
void setBoneDualQuaternions(bool enable)
Definition: OgreInstanceBatchVTF.h:185
@ SPC_LIGHTDIRECTION_TANGENT_SPACE1
Definition: OgreShaderParameter.h:198
@ OT_PATCH_7_CONTROL_POINT
Definition: OgreHlmsPso.h:66
void bindGpuProgramParameters(GpuProgramType gptype, GpuProgramParametersSharedPtr params, uint16 variabilityMask)
See RenderSystem.
D3D11NullPixelBuffer(D3D11NullTexture *parentTexture, const String &baseName, uint32 width, uint32 height, uint32 Null, PixelFormat format)
ArrayVector3 normalisedCopy(void) const
As normalise, except that this vector is unaffected and the normalised vector is returned as a copy.
void _keyFrameDataChanged(void) const
Internal method used to tell the track that keyframe data has been changed, which may cause it to reb...
void setActiveRenderTargetDevice(D3D9Device *device)
VertexList mVertexList
Definition: OgreLodData.h:152
Definition: OgreLodCollapseCost.h:40
bool isUsingSharedParameters(const String &sharedParamsName) const
Returns whether this parameter set is using the named shared parameter set.
@ FILTER_LINEAR
Definition: OgreImage.h:452
General purpose class used for encapsulating the reading and writing of data.
Definition: OgreDataStream.h:179
virtual void destroyAllAnimations(void)
Removes all animations created using this SceneManager.
const String & getName(void) const
Definition: OgrePCZone.h:98
void setAutoTracking(bool enabled, SceneNode *const target=0, const Vector3 &offset=Vector3::ZERO)
Enables / disables automatic tracking of a SceneNode.
bool isHardwareGammaEnabled() const
Gets whether this texture will be set up so that on sampling it, hardware gamma correction is applied...
virtual void setShadowTextureFadeStart(Real fadeStart)
Sets the proportional distance at which texture shadows begin to fade out.
Definition: OgreSceneManager.h:2788
map< String, PagedWorld * >::type WorldMap
Definition: OgrePageManager.h:179
void setTexture(const TexturePtr &texture, uint16 sliceIdx)
Sets a textured for types of light that support it.
void detachRenderWindow(D3D9RenderWindow *renderWindow)
virtual Terrain::Alignment getAlignment() const
Retrieve the alignment of the grid of terrain (cannot be modified after construction).
Definition: OgreTerrainGroup.h:120
virtual void registerSceneNodeListener(SceneNode *sceneNode)
Node listeners need to be registered with us so that they can be successfully called when calling upd...
uint16 yIdx
Definition: OgreHlmsTextureManager.h:282
void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)
See ParticleAffector.
#define OGRE_DOUBLE_PRECISION
If set to 1, Real is typedef'ed to double.
Definition: OgreConfig.h:68
Lighting sub render state implementation of the Fixed Function Pipeline.
Definition: OgreShaderFFPLighting.h:52
void setVertex(const Vector3 &vdata, size_t vertexIndex)
Sets a specific vertex of a polygon.
static Matrix4 getTrans(const Vector3 &v)
Gets a translation matrix.
Definition: OgreMatrix4.h:444
virtual bool isFrameFinished(uint32 frameCount)
See VaoManager::isFrameFinished.
void destroyInstance(SceneManager *instance)
Destroy an instance of a SceneManager.
@ ID_FRAGMENT_PROGRAM_REF
Definition: OgreScriptCompiler.h:618
~PCZIntersectionSceneQuery()
Factory class for GLSL ES programs.
Definition: OgreGLSLESCgProgramFactory.h:40
Edge data.
Definition: OgreEdgeListBuilder.h:75
Real getPixelDisplayRatio() const
Returns an estimated ratio between a pixel and the display area it represents.
Definition: OgreCamera.h:683
CustomParameterBits
Definition: OgrePlanarReflections.h:270
const String & getType(void) const
Get the type of the object to be created.
Viewport(RenderTarget *target, Real left, Real top, Real width, Real height)
The usual constructor.
virtual void _notifyBeforeIlluminationPassesCleared(Technique *mat)
Internal method for sorting out illumination passes for a scheme.
char * begin()
Definition: OgreLwString.h:345
virtual void setValue(const Vector3 &)
Set value.
Definition: OgreAnimable.h:160
~D3D11HardwarePixelBuffer()
GPUDeviceNameRule()
Definition: OgreTechnique.h:109
@ PF_D32_FLOAT_X24_S8_UINT
Depth texture format. 32 bits for depth. 8 bits for stencil.
Definition: OgrePixelFormat.h:350
@ ACT_VIEWPROJ_MATRIX
The current view & projection matrices concatenated.
Definition: OgreGpuProgramParams.h:946
@ ID_LOD_CAMERA
Definition: OgreScriptCompiler.h:869
@ ID_DEPTH_FORMAT
Definition: OgreScriptCompiler.h:839
Real calculate(Real source)
Overridden function.
CompositorPassDefVec & getCompositorPassesNonConst()
@See getNodeDefinition.
Definition: OgreCompositorPassDef.h:237
void closeGapsInBindings(void)
Remove any gaps in the vertex buffer bindings.
Vector2 normalisedCopy(void) const
As normalise, except that this vector is unaffected and the normalised vector is returned as a copy.
Definition: OgreVector2.h:530
static AtomicScalar< uint32 > MeshIndexId
Definition: OgreRenderOperation.h:47
unsigned long getVersion() const
Get the version number of this shared parameter set, can be used to identify when changes have occurr...
Definition: OgreGpuProgramParams.h:684
virtual void setListener(Listener *l)
Set a listener for this track.
Definition: OgreAnimationTrack.h:241
virtual void setListener(Listener *listener)
Sets a listener for this OldNode.
Definition: OgreOldNode.h:641
bool load(StreamSerialiser &stream)
Load this data from a stream (returns true if successful)
virtual void generateLodLevels(LodConfig &lodConfig, LodCollapseCostPtr cost=LodCollapseCostPtr(), LodDataPtr data=LodDataPtr(), LodInputProviderPtr input=LodInputProviderPtr(), LodOutputProviderPtr output=LodOutputProviderPtr(), LodCollapserPtr collapser=LodCollapserPtr())
Generates the Lod levels for a mesh.
bool _getOwnShadowFarDistance(void) const
Definition: OgreSharedPtr.h:84
void updatePassIterationUniforms(GpuProgramParametersSharedPtr params)
Updates program object uniforms using data from pass iteration GpuProgramParameters.
VertexData * vertexData
Definition: OgreStaticGeometry.h:155
void prepare(size_t originalSize)
Definition: OgreLod0Stripifier.h:67
const String & getTarget(void) const
Gets the shader target to compile down to, e.g.
Definition: OgreD3D11HLSLProgram.h:333
const Real * ptr() const
Pointer accessor for direct copying.
Definition: OgreVector3.h:131
TextureUnitState * getTextureUnitState(size_t index)
Retrieves a pointer to a texture unit state so it may be modified.
int TrackVertexColourType
An enumeration describing which material properties should track the vertex colours.
Definition: OgreCommon.h:322
Vector3 mTrackedPosition
This variable should be updated every frame and often represents the camera position,...
Definition: OgreParallaxCorrectedCubemap.h:67
@ G2D_X_Y
Grid is in the X/Y plane.
Definition: OgreGrid2DPageStrategy.h:54
void doSet(void *target, const String &val)
size_t triCount
Number triangles of this edge group.
Definition: OgreEdgeListBuilder.h:115
virtual ~D3D9StereoDriverNVIDIA()
static ParameterPtr createOutTexcoord(GpuConstantType type, int index, Parameter::Content content)
virtual void addListener(Listener *lis)
Register a listener on this resource.
bool usesVertexTextureFetch
Definition: OgreMaterialSerializer.h:56
virtual void endGPUSampleProfile(const String &name)
virtual const String & getName(void) const
Gets resource name.
Definition: OgreResource.h:324
const String & getLanguage(void) const
Get the name of the language this factory creates programs for.
This is the same technique the old "InstancedGeometry" implementation used (with improvements).
Definition: OgreInstanceBatchShader.h:69
uchar * getCurrentPtr(void)
Get a pointer to the current position in the memory block this stream holds.
Definition: OgreDataStream.h:436
CompositorManager2 * getCompositorManager(void) const
Definition: OgreCompositorNodeDef.h:231
void setPassIterationCount(const size_t count)
set the number of iterations that this pass should perform when doing fast multi pass operation.
Definition: OgrePass.h:1018
Implementation to create the Transform variables needed by Bones.
Definition: OgreBoneArrayMemoryManager.h:49
Real maxTimePercent
The maximum percentage of frame time this profile has taken.
Definition: OgreProfiler.h:270
void removeEmitter(unsigned short index)
Removes an emitter from the system.
bool getPassSurfaceAndLightStates(void) const
virtual void waitForSpecificFrameToFinish(uint32 frameCount)
See VaoManager::waitForSpecificFrameToFinish.
unsigned char getNumCustomParams() const
Definition: OgreInstanceManager.h:204
ColourValue getColour(void) const
Gets the current colour. The returned value is meaningless if mHasColour is false.
Definition: OgreHlmsUnlitMobileDatablock.h:176
virtual ~GL3PlusNullTextureTarget()
static void startup(void)
Static method to startup FreeImage and register the FreeImage codecs.
A viewpoint from which the scene will be rendered.
Definition: OgreCamera.h:83
virtual void load()=0
Load - will be called in main thread.
virtual ~GLES2DefaultHardwareBufferManagerBase()
Provides methods to find out where the Ogre config files are stored and where logs and settings files...
Definition: OgreFileSystemLayer.h:50
static void _initialisePool()
Initialise the internal polygon pool used to minimise allocations.
@ ID_TARGET_FORMAT
Definition: OgreScriptCompiler.h:831
OGRE_AUTO_MUTEX
Definition: OgreResourceGroupManager.h:264
size_t getNumTexUnits(void) const
Definition: OgreHlmsComputeJob.h:301
virtual SubRenderState * createInstance(ScriptCompiler *compiler, PropertyAbstractNode *prop, Pass *pass, SGScriptTranslator *translator)
TexturePtr findTmpRtt(const TexturePtr &baseParams)
See mTmpRtt.
virtual void setCaption(const DisplayString &text)
Sets the caption on elements that support it.
bool isVisible(const PortalBase *portal) const
size_t getRequiredVertexCount(void) const
Based on a previous call to defineSurface, establishes the number of vertices required to hold this p...
CompositorWorkspaceDef * getWorkspaceDefinition(IdString name) const
Returns the workspace definition with the given name. Throws if not found.
vector< LayerInstance >::type LayerInstanceList
Definition: OgreTerrain.h:311
const MaterialPtr & getMaterial(void) const
Retrieves the material this renderable object uses.
size_t getEmittedEmitterQuota(void) const
Returns the maximum number of emitted emitters this system is allowed to have active at once.
virtual void deinitGPUProfiling(void)
void destroy()
Definition: OgreFastArray.h:169
Factory for default scene manager.
Definition: OgreSceneManagerEnumerator.h:47
DataStreamPtr openResource(const String &resourceName, const String &groupName=DEFAULT_RESOURCE_GROUP_NAME, bool searchGroupsIfNotFound=true, Resource *resourceBeingLoaded=0)
Open a single resource by name and return a DataStream pointing at the source of the data.
SubStringRef(const String *original, size_t _start, size_t _end)
Definition: OgreHlmsCommon.h:63
void setDiffuse(const ColourValue &diffuse)
Sets the diffuse colour reflectance properties of every Pass in every Technique.
static StringVector parseStringVector(const String &val)
Parses a StringVector from a string.
~PixelBox()
Definition: OgrePixelBox.h:48
virtual ~GLES2HardwareVertexBuffer()
HardwareCounterBufferSharedPtr createCounterBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create a hardware counter buffer.
@ ID_CAMERA_DIRECTION
Definition: OgreScriptCompiler.h:892
bool hasPlanarReflections(const Renderable *renderable) const
void _getDepthStencilFormatFor(GLenum internalColourFormat, GLenum *depthFormat, GLenum *stencilFormat)
Mimics D3D9RenderSystem::_getDepthStencilFormatFor, if no FBO RTT manager, outputs GL_NONE.
Resolution(uint32 x, uint32 y)
LightClosest()
Definition: OgreCommon.h:679
virtual void windowMovedOrResized(void)
Notify that the window has been resized.
virtual ~EmscriptenEGLSupport()
bool isNull(void) const
Returns true if the box is null i.e.
Definition: OgreAxisAlignedBox.h:535
unsigned short getMaxSimultaneousLights(void) const
Gets the maximum number of lights to be used by this pass.
size_t getVboPoolIndex(void)
Definition: OgreNULLBufferInterface.h:55
unsigned int getDisplayMonitorCount() const
Gets the number of display monitors.
virtual void initialiseExtensions()
Initialises GL extensions, must be done AFTER the GL context has been established.
void doSet(void *target, const String &val)
@ M_HEADER
Definition: OgreMeshFileFormat.h:58
Class to provide access to common mathematical functions.
Definition: OgreMath.h:194
size_t size() const
Definition: OgreLwConstString.h:102
void doSet(void *target, const String &val)
bool getReceiveDynamicShadowsEnabled() const
Whether to support dynamic texture shadows received from other objects, on the terrain (default true)...
Definition: OgreTerrainMaterialGeneratorA.h:118
bool getPortalsUpdated(void)
Definition: OgrePCZone.h:244
void fillConstBufferData(const Matrix4 &viewMatrix, float *RESTRICT_ALIAS passBufferPtr) const
void connectExternalBuffer(uint32 externalBufferIdx, IdString inNode, uint32 inChannel)
Connects an external buffer to the given input channel.
virtual uint32 getPassBufferSize(const CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager) const
Listeners should return the extra bytes they wish to allocate for storing additional data in the pass...
Definition: OgreHlmsListener.h:116
virtual bool prepareProceduralPage(Page *page, PagedWorldSection *section)
Give a provider the opportunity to prepare page content procedurally.
Definition: OgrePageManager.h:69
uint32 getVisibilityFlags() const
Returns the visibility flags of the regions.
ConstNormalsIterator getNormalsIterator(void) const
Gets an iterator over all the vertex offsets.
Command object for randomness (see ParamCommand).
Definition: OgreDirectionRandomiserAffector.h:52
void copyData(HardwareBuffer &srcBuffer, size_t srcOffset, size_t dstOffset, size_t length, bool discardWholeBuffer=false)
Copy data from another buffer into this one.
ResourcePool(const String &name)
Definition: OgreLodData.h:48
void setName(const String &name)
Set the name of the technique.
TransparencyModes
Definition: OgreHlmsPbsDatablock.h:191
void bindTempCopies(VertexData *targetData, bool suppressHardwareUpload)
Utility method, binds dest copies into a given VertexData struct.
void increaseLodLevel(bool synchronous=false)
Increase Terrain's LOD level by 1.
static Real Log2(Real fValue)
Definition: OgreMath.h:350
Ogre assumes that there are separate vertex and fragment programs to deal with but GLSL has one progr...
Definition: OgreGLSLMonolithicProgramManager.h:56
const CompositorWorkspaceDef * getDefinition(void)
Definition: OgreCompositorWorkspace.h:326
void setTextureScale(Real uScale, Real vScale)
Sets the scaling factor applied to texture coordinates.
virtual void encodeToFile(MemoryDataStreamPtr &input, const String &outFileName, CodecDataPtr &pData) const
Codes the data in the input chunk and saves the result in the output filename provided.
Command object for material (see ParamCommand).
Definition: OgreParticleSystem.h:85
WorkQueue::Response * handleRequest(const WorkQueue::Request *req, const WorkQueue *srcQ)
Implementation for WorkQueue::RequestHandler.
ZoneIterator getZoneIterator(void)
Definition: OgrePCZSceneManager.h:318
@ ElementUInt
Definition: OgreShaderParams.h:58
unsigned short _getEmissionCount(Real timeElapsed)
See ParticleEmitter.
Real getPointMaxSize(void) const
Get the maximum point size, when point attenuation is in use.
GLuint getGLBufferId(void) const
Definition: OgreGL3PlusHardwareCounterBuffer.h:65
virtual void set(T val)
Set the property value.
Definition: OgreProperty.h:235
@ FFP_PS_FOG
Definition: OgreShaderFFPRenderState.h:62
bool getFineLightMaskGranularity(void) const
Definition: OgreHlmsPbs.h:250
IDirect3DSurface9 * getRenderSurface()
Accessor for render surface.
bsp_header_t * mHeader
Definition: OgreQuake3Level.h:114
virtual Animation * _getAnimationImpl(const String &name) const
Internal access to the named vertex Animation object - returns null if it does not exist.
bool hasIndependentShadowMappingBuffers(void) const
Returns true if the shadow mapping buffers do not just reference the real buffers,...
bool isVSyncEnabled() const
Indicates whether vertical sync is activated for the window.
Definition: OgreD3D11RenderWindow.h:123
HlmsDatablock * getDatablock(IdString name) const
Finds an existing datablock based on its name (.
uint8 mActivationPriority
Ogre tries to activate visible planar reflections, sorting those that are closest to the camera,...
Definition: OgrePlanarReflectionActor.h:102
Definition: OgreGL3PlusNullTexture.h:37
const String & getName() const
Returns the name of the rendering system.
const Matrix4 & getInverseWorldViewMatrix(void) const
size_t read(void *buf, size_t count)
Read the requisite number of bytes from the stream, stopping at the end of the file.
~D3D11CompatBufferInterface()
void notifyNeighbours()
Tell this instance to notify all neighbours that will be affected by a height change that has taken p...
void advanceLightPack()
Advances all pointers needed by MovableObject::buildLightList to the next pack, i....
Definition: OgreObjectData.h:230
Pass * getParent(void) const
Gets the parent Pass object.
Definition: OgreTextureUnitState.h:999
virtual SceneQueryResult & execute(void)
Executes the query, returning the results back in one list.
virtual ~ZipArchiveFactory()
Definition: OgreZip.h:115
SharedPtr< MemoryDataStream > MemoryDataStreamPtr
Definition: OgrePrerequisites.h:356
virtual void *RESTRICT_ALIAS_RETURN map(size_t elementStart, size_t elementCount, MappingState prevMappingState, bool advanceFrame=true)
uint8 getTextureUvSource(PbsTextureTypes sourceType) const
@ BBR_VERTEX
Rotate the billboard's vertices around their facing direction.
Definition: OgreBillboardSet.h:72
static void _destroyPool()
Tear down the internal polygon pool used to minimise allocations.
UserObjectBindings & getUserObjectBindings()
Return an instance of user objects binding associated with this class.
Definition: OgreTechnique.h:535
static uint32 QUERY_ENTITY_DEFAULT_MASK
Default query mask for entities.
Definition: OgreSceneManager.h:285
void _setWorldMatrix(const Matrix4 &m)
Sets the world transform matrix.
size_t level
The current LOD level.
Definition: OgreVolumeChunkHandler.h:57
String toString() const
Definition: OgreRenderSystemCapabilities.h:258
virtual void _setPipelineStateObject(const HlmsPso *pso)
@See HlmsPso
virtual void setKeepParticlesInLocalSpace(bool keepLocal)=0
Setting carried over from ParticleSystem.
virtual void _render(const CbDrawCallIndexed *cmd)
Renders the VAO. Assumes _setVertexArrayObject has already been called.
@ ForceAllSceneNodes
Always export the scene node even if its empty or its only attached objects are things we're not expo...
Definition: OgreSceneFormatBase.h:54
Internal implementation of Mesh reading / writing for the latest version of the .mesh format.
Definition: OgreMesh2SerializerImpl.h:62
String name
Definition: OgreMaterialSerializer.h:48
ObjectMemoryManagerVec const * objectMemManager
Memory manager of the objects to cull.
Definition: OgreSceneManager.h:170
GpuProgramPtr tesselationDomainShader
Definition: OgreHlmsPso.h:164
HardwareIndexBuffer(HardwareBufferManagerBase *mgr, IndexType idxType, size_t numIndexes, HardwareBuffer::Usage usage, bool useSystemMemory, bool useShadowBuffer)
Should be called by HardwareBufferManager.
static size_t calculateNumTargets(const AbstractNodePtr &node)
bool getLightScissoringEnabled() const
Gets whether or not this pass will be clipped by a scissor rectangle encompassing the lights that are...
Definition: OgrePass.h:1061
@ ERR_NOT_IMPLEMENTED
Definition: OgreException.h:117
void setCubicTextureName(const String &name, bool forUVW=false)
Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube...
bool forceOneWeight() const
Definition: OgreInstanceBatchVTF.h:193
static const IdString UvDiffuseSwizzle11
Definition: OgreUnlitProperty.h:103
virtual void queueBindUAV(uint32 slot, TexturePtr texture, ResourceAccess::ResourceAccess access=ResourceAccess::ReadWrite, int32 mipmapLevel=0, int32 textureArrayIndex=0, PixelFormat pixelFormat=PF_UNKNOWN)
Queues the binding of an UAV to the binding point/slot.
void clip(const Plane &pl, bool keepNegative=true)
Clips the object by the positive half space of a plane.
uint8 getProxyReservedRenderQueueId(void) const
Returns the RenderQueue ID you told us you reserved for storing our internal objects.
Definition: OgreParallaxCorrectedCubemap.h:228
void setDefaultGlobalColourMapSize(uint16 sz)
Set the default size of the terrain global colour map for a new terrain.
Definition: OgreTerrain.h:2073
Real normalise(void)
Normalises the plane.
bool getReceiveShadows(void) const
@ ID_BLEND_DIFFUSE_ALPHA
Definition: OgreScriptCompiler.h:763
static const Quaternion ZERO
Definition: OgreQuaternion.h:317
GL3PlusDynamicBuffer(GLuint vboName, GLuint vboSize, GL3PlusVaoManager *vaoManager, BufferType persistentMethod)
Command object for setting entry point.
Definition: OgreCgProgram.h:50
const Vector4 & getFogParams(void) const
@ SHADER_ANIMMAP
Definition: OgreQuake3Types.h:102
const HlmsBlendblock * getBlendblock(const HlmsBlendblock &baseParams)
See HlmsManager::getMacroblock.
const ColourValue getLightSpecularColourWithPower(size_t index) const
AnimationState(AnimationStateSet *parent, const AnimationState &rhs)
Constructor to copy from an existing state with new parent.
Real noise(Real xIn, Real yIn, Real zIn) const
3D noise function.
virtual void regressFrame(void)
void _cleanupDepthBuffers(bool bCleanManualBuffers=true)
Removes all depth buffers.
void doSet(void *target, const String &val)
T end() const
access to the end of the range
Definition: OgreIteratorRange.h:87
SceneManager * getSceneManager() const
Definition: OgreCompositorWorkspace.h:304
static eD3DTexType get(TextureType ogreTexType)
return the D3DtexType equivalent of a Ogre tex. type
void destroyInstance(SceneManager *instance)
Destroy an instance of a SceneManager.
void setShadowCasterVertexProgramParameters(GpuProgramParametersSharedPtr params)
Sets the vertex program parameters for rendering as a shadow caster.
size_t getSize() const
Returns the size of the data buffer.
~BillboardChainFactory()
Definition: OgreBillboardChain.h:362
AutoConstantEntry(AutoConstantType theType, size_t theIndex, Real theData, uint16 theVariability, size_t theElemCount=4)
Definition: OgreGpuProgramParams.h:1439
void _setTextureCoordSet(size_t unit, size_t index)
Sets the texture coordinate set to use for a texture unit.
bool ToEulerAnglesYXZ(Radian &rfYAngle, Radian &rfPAngle, Radian &rfRAngle) const
void replaceLayer(uint8 index, bool keepBlends, Real worldSize=0, const StringVector *textureNames=0)
Replace an existing terrain layer, optionally preserving all other layer blend maps.
Definition: OgreSkeletonTrack.h:54
static String toString(unsigned long val, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts an unsigned long to a String.
@ GCT_UINT1
Definition: OgreGpuProgramParams.h:107
SimplePageContentCollection(PageContentCollectionFactory *creator)
const String & getMovableType(void) const
Overridden from MovableObject.
SceneBlendFactor blendSrc
Definition: OgreQuake3Shader.h:75
@ PF_ASTC_RGBA_8X8_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 8x8)
Definition: OgrePixelFormat.h:275
A factory class for creating types of world section.
Definition: OgrePagedWorldSection.h:302
void _endFrame()
Ends rendering of a frame to the current viewport.
virtual void initialise(void)
Initialise.
ArrayMaskR intersects(const ArrayVector3 &v) const
Returns whether or not this sphere intersects another sphere.
CreateGpuProgramScriptCompilerEvent(const String &file, const String &name, const String &resourceGroup, const String &source, const String &syntax, GpuProgramType programType)
Definition: OgreScriptCompiler.h:555
virtual ~RenderTargetListener()
Definition: OgreRenderTargetListener.h:88
bool getAffectParentNode(void) const
Definition: OgreLight.h:284
TexBufferPacked * getGridBuffer(Camera *camera) const
Cache the return value as internally we perform an O(N) search.
virtual void _setHlmsMacroblock(const HlmsMacroblock *macroblock)
void autoUpdateLod(long x, long y, bool synchronous, const Any &data)
Automatically checks if terrain's LOD level needs to be updated.
GLSLESProgramProcessor()
Class constructor.
bool matchEqual(const char *stringCompare) const
Definition: OgreHlmsCommon.h:112
void setTarget(const String &target)
Sets the shader target to compile down to, e.g.
static bool isSigned(PixelFormat format)
Shortcut method to determine if the format is signed.
const_iterator begin() const
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:249
const CompositorShadowNode * getCurrentShadowNode(void) const
Definition: OgreSceneManager.h:2827
Real getScaleX(void) const
Gets the current X scale value.
InstancingTechnique getInstancingTechnique() const
Definition: OgreInstanceManager.h:208
int getHighestLodLoaded()
Definition: OgreTerrainLodManager.h:117
void setCompositeMapAmbient(const ColourValue &c)
Set the composite map ambient light to use.
Definition: OgreTerrain.h:1957
@ ACT_SINTIME_0_1
Sine of "Time0_1". Equivalent to RenderMonkey's "SinTime0_1".
Definition: OgreGpuProgramParams.h:1192
uint16 currentLoadedLod
Definition: OgreTerrainLodManager.h:71
void setUserData(void *userData)
Definition: OgrePCZone.h:247
Radian operator/(Real a, const Radian &b)
Definition: OgreMath.h:798
Lightweight struct to represent a mesh vertex.
Definition: OgreVolumeMeshBuilder.h:43
virtual void _notifyManualBoneStateChange(OldBone *bone)
Internal method for notifying that a bone is manual.
virtual_l1 void textureCoord(Real x, Real y, Real z, Real w)
Add a texture coordinate to the current vertex.
reverse_iterator rend()
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:281
Real mExtent
Definition: OgreSegment.h:77
static UvAtlasParams textureLocationToAtlasParams(const HlmsTextureManager::TextureLocation &texLocation)
static CommandBufferExecuteFunc execute_setConstantBufferVS
Definition: OgreCommandBuffer.h:74
static const ArrayAabb BOX_INFINITE
Definition: C/OgreArrayAabb.h:170
@ VET_INT1
Definition: OgreVertexElements.h:95
static const uint16 WORKQUEUE_CHANGECOLLECTION_REQUEST
Definition: OgrePage.h:192
@ UNLIT_BLEND_NORMAL_NON_PREMUL
Regular alpha blending.
Definition: OgreHlmsUnlitPrerequisites.h:63
String doGet(const void *target) const
PCZPlaneBoundedVolumeListSceneQuery(SceneManager *creator)
Vector3 getRealRight(void) const
Gets the real world right vector of the camera, including any rotation inherited from a node attachme...
TerrainLayerSamplerSemantic
Enumeration of types of data that can be read from textures that are specific to a given layer.
Definition: OgreTerrainMaterialGenerator.h:57
SceneNode * getDummySceneNode(void) const
Unlike mNodeMemoryManager->_getDummyNode(), this dummy node is fully allocated, which makes it possib...
Definition: OgreSceneManager.h:1277
size_t _getTextureUnitWithContentTypeIndex(TextureUnitState::ContentType contentType, size_t index) const
Gets the 'nth' texture which references the given content type.
void setForceApplication(ForceApplication fa)
Sets how the force vector is applied to a particle.
HardwareUniformBufferSharedPtr createUniformBuffer(size_t sizeBytes, HardwareBuffer::Usage usage=HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY_DISCARDABLE, bool useShadowBuffer=false, const String &name="")
Create a hardware uniform buffer.
const StringVector & getFragmentShaderProfilesList() const
Get the output fragment shader target profiles as list of strings.
Definition: OgreShaderGenerator.h:185
@ BBO_CENTER_RIGHT
Definition: OgreBillboardSet.h:63
~SimplePageContentCollectionFactory()
Definition: OgreSimplePageContentCollection.h:117
virtual Grid2DPageStrategy * getGridStrategy() const
Convenience method - this section always uses a grid strategy.
const String & getResourceGroup() const
Get the resource group in which files will be located.
Definition: OgreTerrainGroup.h:165
Class to do pixel format mapping between GL and OGRE.
Definition: OgreGLES2PixelFormat.h:40
virtual void _loadImages(const ConstImagePtrList &images)
Internal method to load the texture from a set of images.
virtual ~SubEntity()
Destructor.
SharedPtr< LodOutputProvider > LodOutputProviderPtr
Definition: OgreLodPrerequisites.h:68
SubMesh * getSubMesh(const String &name) const
Gets a SubMesh by name.
unsigned short getNumLodLevels(unsigned short schemeIndex) const
Gets the number of levels-of-detail this material has in the given scheme, based on Technique::setLod...
void sort(void)
Sorts the elements in this list to be compatible with the maximum number of rendering APIs / graphics...
virtual ~GLES2HardwareBufferManagerBase()
float lightmap[2]
Definition: OgreQuake3Types.h:211
virtual PagedWorld * getWorld() const
Get the parent world.
Definition: OgrePagedWorldSection.h:133
This class is used to provide an external random value provider.
Definition: OgreMath.h:211
GLES2FrameBufferObject(GLES2FBOManager *manager, uint fsaa)
Real getDetailNormalWeight(uint8 detailNormalMapIdx) const
Returns the detail normal maps' weight.
void setVSyncEnabled(bool vsync)
RenderWindow::setVSyncEnabled
void _notifyObjectMoved(const MovableObject *mov, const Vector3 &pos)
Ensures that the MovableObject is attached to the right leaves of the BSP tree.
GuiMetricsMode
Enum describing how the position / size of an element is to be recorded.
Definition: OgreOverlayElement.h:58
virtual OldBone * getRootBone(void) const
Gets the root bone of the skeleton: deprecated in favour of getRootBoneIterator.
bool hasShaderBasedTechnique(const String &materialName, const String &groupName, const String &srcTechniqueSchemeName, const String &dstTechniqueSchemeName) const
Checks if a shader based technique has been created for a given technique.
Quaternion interpolate(unsigned int fromIndex, Real t, bool useShortestPath=true)
Interpolates a single segment of the spline given a parametric value.
ResourceSimdAllocObject HlmsAlloc
Definition: OgreMemoryAllocatorConfig.h:319
MaterialSerializer()
default constructor
LwString & a(const M &a0, const N &a1, const O &a2)
Definition: OgreLwString.h:362
virtual void getFormatsForPso(PixelFormat outFormats[OGRE_MAX_MULTIPLE_RENDER_TARGETS], bool outHwGamma[OGRE_MAX_MULTIPLE_RENDER_TARGETS]) const
uint32 y
Definition: OgreCompositorShadowNode.h:347
T value_type
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:232
bool isDirty
Definition: OgreCommon.h:677
virtual void initialiseExtensions()
Initialise extensions.
Definition: OgreMovableObject.h:622
@ ACT_TANTIME_0_X
Tangent of "Time0_X". Equivalent to RenderMonkey's "TanTime0_X".
Definition: OgreGpuProgramParams.h:1179
void FromAngleAxis(const ArrayRadian &rfAngle, const ArrayVector3 &rkAxis)
Setups the quaternion using the supplied vector, and "roll" around that vector by the specified radia...
Real x
Definition: OgreVector2.h:53
virtual void _autogenerateMipmaps(void)=0
Tells the API to let the HW autogenerate mipmaps.
virtual ~AxisAlignedBoxSceneQuery()
bool operator()(const IdObject *left, const IdObject *right)
Definition: OgreId.h:76
Internal shared values of the chunks which are equal in the whole tree.
Definition: OgreVolumeChunk.h:107
@ TID_COLON
Definition: OgreScriptLexer.h:50
CompositorPassType getType() const
Definition: OgreCompositorPassDef.h:182
virtual ~ScriptCompilerEvent()
Definition: OgreScriptCompiler.h:353
Listener()
Definition: OgreSceneManager.h:337
void execute(SceneQueryListener *listener)
See SceneQuery.
void endSection(unsigned short level, const bool useMainBuffer=true)
Definition: OgreMaterialSerializer.h:315
virtual bool canGenerateUsingDeclaration(const TerrainLayerDeclaration &decl)
Whether this generator can generate a material for a given declaration.
Definition: OgreTerrainMaterialGenerator.h:271
@ RSC_BLENDING
Definition: OgreRenderSystemCapabilities.h:80
std::map< K, V, P, A >::const_iterator const_iterator
Definition: OgrePrerequisites.h:659
virtual void bindBufferPS(uint16 slot)
Real alphaArg2
Manual alpha value for manual source2.
Definition: OgreBlendMode.h:158
@ ID_WAVE_XFORM
Definition: OgreScriptCompiler.h:785
virtual void setConfigOption(const String &name, const String &value)
ZipDataStream(const String &name, ZZIP_FILE *zzipFile, size_t uncompressedSize)
Constructor for creating named streams.
static void bulkPixelConversion(const PixelBox &src, const PixelBox &dst)
Convert pixels from one format to another.
GpuConstantDefinition()
Definition: OgreGpuProgramParams.h:464
void setBlueAdjust(float blue)
Sets the blue adjustment to be made per second to particles.
virtual bool getCastsShadows(void) const
Method which reports whether this renderable would normally cast a shadow.
Ray(const Vector3 &origin, const Vector3 &direction)
Definition: OgreRay.h:52
STLAllocator(STLAllocator< U, AllocPolicy > const &)
cast
Definition: OgreMemorySTLAllocator.h:116
struct Ogre::Volume::ChunkTreeSharedData ChunkTreeSharedData
Internal shared values of the chunks which are equal in the whole tree.
DepthBuffer * getDepthBuffer() const
String doGet(const void *target) const
virtual void show(void)
Shows this element if it was hidden.
@ OT_PATCH_2_CONTROL_POINT
Definition: OgreHlmsPso.h:61
void getRenderOperation(v1::RenderOperation &op, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
Definition: OgreBorderPanelOverlayElement.h:334
virtual TransformKeyFrame * getNodeKeyFrame(unsigned short index) const
Returns the KeyFrame at the specified index.
virtual void initialise()=0
Perform any tasks the plugin needs to perform on full system initialisation.
String validateConfig(void)
GL3PlusSupport::validateConfig
float * getHeightData(long x, long y) const
Get a pointer to the height data for a given point.
virtual void destroyAllStaticGeometry(void)
Remove & destroy all StaticGeometry instances.
static const IdString UvAtlas
Definition: OgreHlmsUnlitMobile.h:142
virtual bool getDisplaySceneNodes(void) const
Returns true if all scene nodes axis are to be displayed.
Definition: OgreSceneManager.h:2496
virtual bool requiresZoneSpecificNodeData(void)=0
Indicates whether or not this zone requires zone-specific data for each scene node.
void activate(void)
Makes a program object active by making sure it is linked and then putting it in use.
virtual Real getHorizontalTexelOffset(void)
Returns the horizontal texel offset value required for mapping texel origins to pixel origins in this...
const String & getFontName() const
PCZoneFactory(const String &typeName)
Abstract class that defines a 'codec'.
Definition: OgreCodec.h:55
bool getPassTransformStates(void) const
Returns whether a vertex program wants transform state to be passed through fixed pipeline low level ...
AntiPortal datastructure for occlusion culling.
Definition: OgreAntiPortal.h:40
uint32 getHlmsHash(void) const
Definition: OgreRenderable.h:387
float bbox[6]
Definition: OgreQuake3Types.h:154
virtual bool hasGaps(void) const
Check whether any gaps in the bindings.
virtual ~NodeAnimationTrack()
Destructor.
static const IdString TexMatrixCount0
Definition: OgreHlmsUnlitMobile.h:96
Vector3 getLightPosition(size_t index) const
Viewport * getCurrentViewport(void) const
Gets the current viewport being rendered (advanced use only, only valid during viewport update.
Definition: OgreSceneManager.h:3112
@ PF_ASTC_RGBA_5X5_LDR
ASTC (ARM Adaptive Scalable Texture Compression RGBA, block size 5x5)
Definition: OgrePixelFormat.h:265
IdObject(IdType id)
We don't call generateNewId() here, to prevent objects in the stack (i.e.
Definition: OgreId.h:71
void setSpecular(const ColourValue &specular)
Sets the specular colour reflectance properties of every Pass in every Technique.
void _setSamplerblock(uint8 slotIdx, const HlmsSamplerblock *refParams)
Sets a samplerblock directly.
void setDirection(const Vector3 &direction)
Overloaded to update the trans.
float * getHeightData() const
Get a pointer to all the height data for this terrain.
Thread-safe buffer for storing Hardware vertex buffer.
Definition: OgreLodBuffer.h:49
static String toString(size_t val, unsigned short width=0, char fill=' ', std::ios::fmtflags flags=std::ios::fmtflags(0))
Converts a size_t to a String.
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
Vector3(Real *const r)
Definition: OgreVector3.h:84
RenderWindow * _initialise(bool autoCreateWindow, const String &windowTitle="OGRE Render Window")
See RenderSystem.
void setTopRightBorderUV(Real u1, Real v1, Real u2, Real v2)
Sets the texture coordinates for the top-right corner of the border.
virtual void bakeManualLodLevel(LodData *data, String &manualMeshName, int lodIndex)
Command object for setting the top colour.
Definition: OgreTextAreaOverlayElement.h:177
virtual StreamSerialiser * readWorldStream(const String &filename)
Get a serialiser set up to read PagedWorld data for the given world filename.
Definition: OgrePageManager.h:99
PixelBox getPixelBox(size_t face=0, size_t mipmap=0) const
Get a PixelBox encapsulating the image data of a mipmap.
static const char * RoughnessMap
Definition: OgreHlmsPbs.h:327
SharedPtr< D3D11Texture > D3D11TexturePtr
Definition: OgreD3D11Prerequisites.h:117
Abstract class defining the interface to be implemented by creators of ParticleEmitter subclasses.
Definition: OgreParticleEmitterFactory.h:57
const SmallVectorImpl & operator=(const SmallVectorImpl &RHS)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:825
Real getOwnWidth(void) const
Retrieves the particle's personal width, if hasOwnDimensions is true.
Definition: OgreParticle.h:127
static BaseConstantType getBaseType(GpuConstantType ctype)
Definition: OgreGpuProgramParams.h:314
@ SOP_KEEP
Leave the stencil buffer unchanged.
Definition: OgreCommon.h:112
Command object for specifying texture coordinates for the border (see ParamCommand).
Definition: OgreBorderPanelOverlayElement.h:256
@ ACT_SPOTLIGHT_WORLDVIEWPROJ_MATRIX_ARRAY
An array of the view/projection matrix of a given spotlight projection frustum, combined with the cur...
Definition: OgreGpuProgramParams.h:1164
WorkQueue()
Definition: OgreWorkQueue.h:222
static LwConstString FromUnsafeCStr(const char *cStr)
Definition: OgreLwConstString.h:92
static HardwareBufferManager * getSingletonPtr(void)
Override standard Singleton retrieval.
DecalFactory()
Definition: OgreDecal.h:156
ParticleEmitter * getEmitter(unsigned short index) const
Retrieves an emitter by it's index (zero-based).
Vector3 convertDirection(Space inSpace, const Vector3 &inDir, Space outSpace) const
Convert a direction from one space to another with respect to this terrain.
~PCZSceneManagerFactory()
Definition: OgrePCZSceneManager.h:385
GLuint getGLProgramHandle()
MaterialPtr generate(const Terrain *terrain)
Generate / reuse a material for the terrain.
@ TEX_TYPE_1D
1D texture, used in combination with 1D texture coordinates
Definition: OgreTexture.h:91
PagedWorldSection * getSection(const String &name)
Retrieve a section of the world.
@ TEXTURE_TYPE_DIFFUSE
Definition: OgreHlmsTextureManager.h:134
@ ID_SOURCE1
Definition: OgreScriptCompiler.h:755
bool directionEquals(const Vector3 &rhs, const Radian &tolerance) const
Returns whether this vector is within a directional tolerance of another vector.
Definition: OgreVector3.h:777
MapIterator< Instances > SceneManagerIterator
Definition: OgreSceneManagerEnumerator.h:187
StringVectorPtr findResourceNames(const String &groupName, const String &pattern, bool dirs=false)
Find all file or directory names matching a given pattern in a resource group.
virtual ~ParticleEmitter()
Virtual destructor essential.
virtual void _notifyAttached(Node *parent)
Overloaded so we can register ourselves for updating our animations.
const Vector3 getCenter(void) const
Gets the center of this cell.
Definition: OgreVolumeOctreeNode.h:199
static const IdString IdentityViewProjDynamic
When this is set, the value of IdentityViewProj is meaningless.
Definition: OgreHlms.h:787
virtual ~GLES2RenderSystem()
@ ID_WRAP
Definition: OgreScriptCompiler.h:737
void setGeometryProgramNumOutputVertices(int numOutputVertices)
Set the number of vertices a single geometry program run can emit.
Definition: OgreRenderSystemCapabilities.h:811
virtual void read(Real *val, size_t count=1)
void addVertex(size_t index, const Vector3 &offset, const Vector3 &normal)
Adds an offset to a vertex and a new normal for this pose.
static CmdStateChange msStateCmd
Definition: OgreColourFaderAffector2.h:194
@ ID_PROFILING_ID
Definition: OgreScriptCompiler.h:864
String doGet(const void *target) const
void _notifyVisualData(ParticleVisualData *vis)
Internal method for notifying the particle of it's optional visual data.
Definition: OgreParticle.h:143
Specialisation of HighLevelGpuProgram to encapsulate shader objects obtained from compiled shaders wr...
Definition: OgreGLSLESShader.h:48
static DECL_MALLOC void * allocate(size_t size)
Allocate memory with default platform dependent alignment.
void XCloseDisplay(Display *nativeDisplayType)
void load()
Loads the archive.
Real * ptr()
Pointer accessor for direct copying.
Definition: OgreVector2.h:114
HollowEllipsoidEmitter(ParticleSystem *psys)
const Vector3 getCorner2(void) const
Gets the coordinate of corner 2.
Definition: OgreVolumeOctreeNode.h:463
@ CNT_VARIABLE
Definition: OgreScriptCompiler.h:51
@ InstantRadiosity
Definition: OgreSceneFormatBase.h:67
void setNumMultiRenderTargets(ushort num)
The number of simultaneous render targets supported.
Definition: OgreRenderSystemCapabilities.h:500
Class for providing backwards-compatibility for loading version 1.1 of the .mesh format.
Definition: OgreMeshSerializerImpl.h:321
virtual void execute(size_t threadId, size_t numThreads)
Overload this function to perform whatever you want.
uint16 getMaxBatchSize() const
Get the maximum size in vertices along one side of a batch.
ElementType extraParamType
Definition: OgreShaderParams.h:64
void parseScript(DataStreamPtr &stream)
Parses a RenderSystemCapabilities script file passed as a stream.
ImageBlur2D separableBlur_Float32_XA
Definition: OgreImageDownsampler.h:172
CompositorShadowNodeTranslator()
Octree * getOctant()
Returns the Octree in which this OctreeNode resides.
Definition: OgreOctreeZone.h:225
static void unshareVertices(Mesh *mesh)
Called when we you use a mesh which has shared vertices, the function creates separate vertex/index b...
static GLenum getClosestGLImageInternalFormat(PixelFormat format)
Takes the OGRE pixel format and returns the type that must be provided to GL as internal format for i...
virtual void setTextureCoords(Ogre::FloatRect const *coords, uint16 numCoords)
BillboardSet can use custom texture coordinates for various billboards.
const String & getType(void) const
Get the type of the object to be created.
@ WorldMat
Definition: OgreArrayMemoryManager.h:299
float g
Definition: OgreColourValue.h:76
Command object for setting entry point.
Definition: OgreGLSLESCgProgram.h:51
virtual OldNode * removeChild(OldNode *child)
Drops the specified child from this OldNode.
Stream object which targets a log.
Definition: OgreLog.h:202
This class is used to perform Resource operations in a background thread.
Definition: OgreResourceBackgroundQueue.h:83
Technique * getParent(void) const
Gets the parent Technique.
Definition: OgrePass.h:777
GLSLShader * getHullShader() const
Definition: OgreGLSLProgram.h:137
void setActiveVertexShader(GLSLESShader *vertexShader)
Set the active vertex and fragment link programs for the next rendering state.
bool watchForMax(void)
Definition: OgreProfiler.h:311
~OctreeAxisAlignedBoxSceneQuery()
static ArrayInt And(ArrayInt a, ArrayInt b)
Returns the result of "a & b".
Definition: OgreMathlibC.h:147
void setColourBottom(const ColourValue &col)
Sets the colour of the bottom of the letters.
void addTextureAlias(const String &aliasName, const String &textureName)
Adds the alias or replaces an existing one and associates the texture name to it.
bool isBorderRight(const OctreeNode &root) const
Gets whether this cell is at the right of the given root cell.
Definition: OgreVolumeOctreeNode.h:239
LodOutputBuffer & getBuffer()
void skip(long count)
Skip a defined number of bytes.
int32 mipmapLevel
Definition: OgreCompositorPassComputeDef.h:64
Skeleton(ResourceManager *creator, const String &name, ResourceHandle handle, const String &group, bool isManual=false, ManualResourceLoader *loader=0)
Constructor, don't call directly, use SkeletonManager.
void unlock()
Releases the lock aquired through either.
Quaternion qRot
Definition: OgreSkeletonDef.h:50
unsigned short getNumPoints(void) const
Gets the number of control points in the spline.
const Radian & getRotation(void) const
Definition: OgreParticle.h:135
bool requiresTextureFlipping() const
Definition: OgreWin32Window.h:62
virtual void _setHlmsHashes(uint32 hash, uint32 casterHash)
Manually sets the hlms hashes. Don't call this directly.
@ SPC_POSITION_LIGHT_SPACE4
Definition: OgreShaderParameter.h:97
@ D3D_TEX_TYPE_CUBE
cube texture
Definition: OgreD3D9Mappings.h:50
static const IdString HwGammaWrite
Definition: OgreHlmsPbs.h:316
vector< Block >::type BlockVec
Definition: OgreGL3PlusVaoManager.h:80
@ PT_UNSIGNED_SHORT
Definition: OgreStringInterface.h:54
virtual void _affectParticles(ParticleSystem *pSystem, Real timeElapsed)=0
Method called to allow the affector to 'do it's stuff' on all active particles in the system.
static const IdString LightsSpot
Definition: OgreHlms.h:803
void setToInverseDegeneratesAsIdentity(void)
Calculates the inverse of the matrix.
T * operator->() const
Definition: OgreThreadDefinesSTD.h:69
static const Real HALF_PI
Definition: OgreMath.h:741
Mesh::IndexMap::const_iterator boneIdxEnd
Definition: OgreInstanceBatchHW_VTF.h:130
Texture surface.
Definition: OgreGL3PlusTextureBuffer.h:39
static PixelFormat _getPF(DXGI_FORMAT d3dPF)
utility method, convert D3D11 pixel format to Ogre pixel format
Real normalise(void)
Normalises this quaternion, and returns the previous length.
PCZSceneManager * mPCZSM
Pointer to the pcz scene manager that created this zone.
Definition: OgrePCZone.h:253
Real getOverlayHeight() const
virtual void bindBufferVS(uint16 slot, size_t offset=0, size_t sizeBytes=0)
Binds the texture buffer to the given slot in the Vertex/Pixel/Geometry/Hull/Domain/Compute Shader.
virtual void getCustomAttribute(const String &name, void *pData)
Retrieve a platform or API-specific piece of information from this texture.
Terrain * getNeighbour(NeighbourIndex index) const
Retrieve the terrain's neighbour, or null if not present.
Holds all the data associated with a Binary Space Parition (BSP) based indoor level.
Definition: OgreBspLevel.h:57
SmallVectorTemplateBase(size_t Size)
Definition: Components/MeshLodGenerator/include/OgreSmallVector.h:410
DefaultAxisAlignedBoxSceneQuery(SceneManager *creator)
void initialise()
Perform any tasks the plugin needs to perform on full system initialisation.
Vector3 & getPrevPosition(void)
Definition: OgrePCZSceneNode.h:109
Physically based shading implementation specfically designed for OpenGL ES 2.0 and other RenderSystem...
Definition: OgreHlmsPbsMobile.h:55
void setColourOperation(const LayerBlendOperation op)
Determines how this texture layer is combined with the one below it (or the diffuse colour of the geo...
void setGlobalInstanceVertexBuffer(const v1::HardwareVertexBufferSharedPtr &val)
Sets the global instance vertex buffer.
void _notifyNeedsRecompile(void)
Tells the material that it needs recompilation.
@ CNT_QUOTE
Definition: OgreScriptCompiler.h:55
MovableObject * movableObject
The movable object whose level of detail has changed.
Definition: OgreLodListener.h:47
static UINT _getAccessFlags(TextureUsage usage)
Definition: OgreD3D11Mappings.h:85
virtual void destroyContentCollection(PageContentCollection *coll)
Destroy a PageContentCollection within this page.
virtual HlmsCache preparePassHash(const Ogre::CompositorShadowNode *shadowNode, bool casterPass, bool dualParaboloid, SceneManager *sceneManager)
Called every frame by the Render Queue to cache the properties needed by this pass.
void setVisibilityMask(uint32 visibilityMask)
Definition: OgreCompositorPassSceneDef.h:163
Definition: OgreCompositorPassSceneDef.h:73
static CommandBufferExecuteFunc execute_setConstantBufferHS
Definition: OgreCommandBuffer.h:77
size_t _getInternalNumElements(void) const
Definition: OgreBufferPacked.h:293
virtual Real getValue(const Vector3 &position) const
Overridden from Source.
virtual void notifyOnDeviceLost(IDirect3DDevice9 *d3d9Device)
uint32 getVaoName(void) const
Definition: OgreVertexArrayObject.h:103
void destroyInstance(MovableObject *obj)
Destroy an instance of the object.
@ BBO_BOTTOM_RIGHT
Definition: OgreBillboardSet.h:66
void * lock(size_t offset, size_t length, LockOptions options)
Lock the buffer for (potentially) reading / writing.
@ ACT_LIGHT_DIRECTION_VIEW_SPACE
A light direction in view space (index determined by setAutoConstant call)
Definition: OgreGpuProgramParams.h:1050
Implementation of a dual quaternion, i.e.
Definition: OgreDualQuaternion.h:48
virtual void _freeUnusedBufferCopies(void)
Free all unused vertex buffer copies.
OverlayContainer * getParent()
Returns the parent container.
void setScissors(Real left, Real top, Real width, Real height)
Only sets the scissor regions.
virtual ~NULLVaoManager()
virtual_l2 Quaternion getOrientation() const
Returns a quaternion representing the nodes orientation.
ID3D11Buffer * getBufferName(void) const
Definition: OgreD3D11StagingBuffer.h:91
static Radian Abs(const Radian &rValue)
Absolute value function.
Definition: OgreMath.h:272
void setNamedConstant(const String &name, const Vector4 &vec)
Sets a Vector4 parameter to the program.
Real getAnimationDuration(void) const
Get the animated-texture animation duration.
SceneQueryMovableWorldFragmentIntersectionList movables2world
List of movable / world intersections.
Definition: OgreSceneQuery.h:489
list< SceneQueryMovableObjectPair >::type SceneQueryMovableIntersectionList
Definition: OgreSceneQuery.h:481
ParticleSystem * createTemplate(const String &name, const String &resourceGroup)
Create a new particle system template.
GLSLShader * pixelShader
Definition: OgreGL3PlusHlmsPso.h:67
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
void _writeRawConstant(size_t physicalIndex, const Vector2 &vec)
Write a 2-element floating-point parameter to the program via Vector2.
Real getVolumeSpaceToWorldSpaceFactor(void) const
Overridden from VolumeSource.
Plugin()
Definition: OgrePlugin.h:82
static const IdString UvDetail1
Definition: OgreHlmsPbsMobile.h:144
bool OrderConstBufferPoolUserByPoolThenSlot(const ConstBufferPoolUser *_l, const ConstBufferPoolUser *_r)
Definition: OgreConstBufferPool.h:171
static PFNGLXGETFBCONFIGATTRIBPROC getFBConfigAttrib
Definition: OgreGLXUtils.h:45
virtual bool isCustomNearClipPlaneEnabled(void) const
Is a custom near clip plane in use?
Definition: OgreFrustum.h:687
void setColumnMajorMatrices(bool columnMajor)
Sets whether matrix packing in column-major order.
Definition: OgreD3D9GpuProgram.h:66
bool isStillOutstanding(void)
Lets you know when query is done, or still be processed by the Hardware.
void doSet(void *target, const String &val)
virtual bool getRequestsAccepted() const =0
Returns whether requests are being accepted right now.
virtual void shutdown(void)
Shutdown the renderer and cleanup resources.
LodDataPtr data
Definition: OgreLodWorkQueueRequest.h:45
virtual ~TerrainQuadTreeNode()
int numPasses
Definition: OgreQuake3Shader.h:101
void removeAllNodeDefinitions(void)
Removes all node defs.
bool useIndexes
Specifies whether to use indexes to determine the vertices to use as input.
Definition: OgreRenderOperation.h:68
virtual void _updateRenderQueue(RenderQueue *queue, Camera *camera, const Camera *lodCamera)
Internal method by which the movable object must add Renderable subclass instances to the rendering q...
Definition: OgreMovableObject.h:243
virtual bool isFrameFinished(uint32 frameCount)
See VaoManager::isFrameFinished.
GL3PlusConstBufferPacked(size_t internalBufferStartBytes, size_t numElements, uint32 bytesPerElement, uint32 numElementsPadding, BufferType bufferType, void *initialData, bool keepAsShadow, VaoManager *vaoManager, BufferInterface *bufferInterface)
LayerBlendSource
List of valid sources of values for blending operations used in TextureUnitState::setColourOperation ...
Definition: OgreBlendMode.h:113
ValueType getNext()
Returns the next(=current) value element in the collection, and advances to the next.
Definition: OgreIteratorWrapper.h:170
static ParameterPtr createOutColor(int index)
const Vector3 & getDerivedDirection() const
Get the direction of the portal in world coordinates.
Definition: OgrePortalBase.h:132
virtual void allWorkspacesBeginUpdate(void)
Called from CompositorManager2 (not CompositorWorkspace) when we're about to update all the workspace...
@ BT_IMMUTABLE
Read access from GPU.
Definition: OgreBufferPacked.h:40
VSOutputCompactPolicy getVertexShaderOutputsCompactPolicy() const
Get the vertex shader outputs compaction policy.
Definition: OgreShaderGenerator.h:474
void getVectorAlign(Real x, Real y, Real z, Alignment align, Vector3 *outVec) const
Translate a vector into world space based on a specified alignment.
@ ID_COLOUR_OP_MULTIPASS_FALLBACK
Definition: OgreScriptCompiler.h:773
@ PF_R8G8B8
24-bit pixel format, 8 bits for red, green and blue.
Definition: OgrePixelFormat.h:71
virtual Real transformUserValue(Real userValue) const
Transform user supplied value to internal value.
Definition: OgrePixelCountLodStrategy.h:67
Defines an interface to classes which have one or more AnimableValue instances to expose.
Definition: OgreAnimable.h:235
TerrainPagedWorldSection * createWorldSection(PagedWorld *world, TerrainGroup *terrainGroup, Real loadRadius, Real holdRadius, int32 minX=-10, int32 minY=-10, int32 maxX=10, int32 maxY=10, const String §ionName=BLANKSTRING, uint32 loadingIntervalMs=900)
Create a TerrainPagedWorldSection.
void storeToAoS(SimpleMatrixAf4x3 *RESTRICT_ALIAS src) const
void clearResourceGroup(const String &name)
Clears a resource group.
void unregisterThread()
Unregister an additional thread which may make calls to rendersystem-related objects.
PlaneBoundedVolumeListSceneQuery * createPlaneBoundedVolumeQuery(const PlaneBoundedVolumeList &volumes, uint32 mask)
Creates a PlaneBoundedVolumeListSceneQuery for this scene manager.
Atom mAtomDeleteWindow
Definition: OgreGLXGLSupport.h:44
void setOriginPlane(const Vector3 &rkNormal, const Vector3 &rkPoint)
Set the origin plane.
void ToRotationMatrix(Matrix3 &kRot) const
static D3D_DRIVER_TYPE parseDriverType(const Ogre::String &value, D3D_DRIVER_TYPE fallback=D3D_DRIVER_TYPE_HARDWARE)
ManualObjectSection * getSection(const Ogre::String &name) const
Gets a pointer to a previously named ManualObjectSection (via ManualObjectSection::setName).
Packages the details of a configuration option.
Definition: OgreConfigOptionMap.h:50
#define OGRE_MALLOC_SIMD(bytes, category)
Allocate a block of raw memory aligned to SIMD boundaries, and indicate the category of usage.
Definition: OgreMemoryAllocatorConfig.h:470
void registerThread()
Register the an additional thread which may make calls to rendersystem-related objects.
ColourFaderAffector(ParticleSystem *psys)
Default constructor.
void _setWidth(Real width)
Sets the width of this element in relation to the screen (where 1.0 = screen width)
static const Matrix4 ZEROAFFINE
Definition: OgreMatrix4.h:560
ImageDownsampler2D downscale2x_Float32_XXX
Definition: OgreImageDownsampler.h:146
Vector3 mC4
Definition: OgreVolumeDualGridGenerator.h:49
virtual StreamSerialiser * writePageStream(PageID pageID, PagedWorldSection *section)
Get a serialiser set up to write Page data for the given PageID, or null if this provider cannot supp...
Definition: OgrePageManager.h:124
const Sphere & getSphere() const
Gets the sphere which is being used for this query.
uint16 minBatchSize
Minimum batch size (along one edge) in vertices; must be 2^n+1.
Definition: OgreTerrain.h:349
void blit(const HardwarePixelBufferSharedPtr &src, const Box &srcBox, const Box &dstBox)
Copies a box from another PixelBuffer to a region of the this PixelBuffer.
ResourceAccess::ResourceAccess boundAccess
Definition: OgreCompositorPass.h:70
void _dirtyCompositeMapRect(const Rect &rect)
Mark a region of the terrain composite map as dirty.
Model of OpenGL program object created using the glLinkProgram method of linking.
Definition: OgreGLSLMonolithicProgram.h:50
Real getScissorLeft(void) const
Definition: OgreViewport.h:176
const Plane & _getDerivedPlane(void) const
Get the derived plane as transformed by its parent node.
MapIterator< VertexBoneAssignmentList > BoneAssignmentIterator
Definition: OgreMesh.h:104
LightList * _getLightList()
Returns a pointer to the current list of lights for this object.
Definition: OgreMovableObject.h:564
size_t paddedBytes
Definition: OgreGLES2VaoManager.h:60
size_t getNumberOfBoneBlocks(size_t numLevels) const
Returns the total number of bone blocks to reach the given level.
RotationAffector(ParticleSystem *psys)
Default constructor.
static const ArrayAabb BOX_ZERO
Definition: C/OgreArrayAabb.h:173
virtual void blitToMemory(const Box &srcBox, const PixelBox &dst)
Copies a region of this pixelbuffer to normal memory.
Real getCompositeMapDistance() const
Get the distance at which to start using a composite map if present.
Definition: OgreTerrain.h:1963
Vector4 getAs4DVector(void) const
void doSet(void *target, const String &val)
@ GPU_S3
Definition: OgreRenderSystemCapabilities.h:293
Definition: OgreProfilerCommon.h:33
HardwareVertexBufferSharedPtr createVertexBuffer(size_t vertexSize, size_t numVerts, HardwareBuffer::Usage usage, bool useShadowBuffer=false)
Creates a vertex buffer.
@ TU_DEFAULT
Default to automatic mipmap generation static textures.
Definition: OgreTexture.h:79
String doGet(const void *target) const
vector< MeshLodUsage >::type MeshLodUsageList
Definition: OgreMesh.h:101
bool areAllInputsConnected() const
uint16 getTexcoordIndex(void) const
getTexcoordIndex() returns the previous value set by setTexcoordIndex().
Definition: OgreBillboard.h:199
virtual void setValue(int)
Set value.
Definition: OgreAnimable.h:148
static const IdString UvDetail1
Definition: OgreHlmsPbs.h:370
GLint mBaseInstanceLocation
Definition: OgreGLSLProgram.h:144
void _convertProjectionMatrix(const Matrix4 &matrix, Matrix4 &dest, bool forGpuProgram=false)
Converts a uniform projection matrix to suitable for this render system.
virtual void passEarlyPreExecute(CompositorPass *pass)
Called early on in pass' execution.
Definition: OgreCompositorWorkspaceListener.h:57
Holds the results of an intersection scene query (pair values).
Definition: OgreSceneQuery.h:485
Programs
Definition: OgreShadowVolumeExtrudeProgram.h:202
void setPowerScale(float power)
Definition: OgreIrradianceVolume.h:118
virtual bool isMorphAnimationIncluded(void) const
Returns whether a vertex program includes the required instructions to perform morph animation.
Definition: OgreGpuProgram.h:339
void _setHlmsMacroblock(const HlmsMacroblock *macroblock)
@ SPC_POSTOCAMERA_OBJECT_SPACE
View vector in object space.
Definition: OgreShaderParameter.h:115
static GpuConstantType getGpuConstantType(int mask)
Return the gpu constant type of the given mask.
@ VertexBuffer
After the barrier, data can be used as a vertex buffer.
Definition: OgreResourceTransition.h:89
ID3D11DeviceContextN * GetImmediateContext()
Definition: OgreD3D11Device.h:61
void convertWorldPositionToTerrainSlot(const Vector3 &pos, long *x, long *y) const
Convert a world position to terrain slot coordinates.
static Real RadiansToDegrees(Real radians)
Definition: OgreMath.h:494
OGRE_MUTEX(mThreadInitMutex)
Chunk * origin
The chunk which created this request.
Definition: OgreVolumeChunkHandler.h:72
void getInstancedEntitiesInUse(InstancedEntityVec &outEntities, CustomParamsVec &outParams)
Fills the input vector with the instances that are currently being used or were requested.
virtual bool attachDepthBuffer(DepthBuffer *depthBuffer, bool exactFormatMatch)
Override so we can attach the depth buffer to the FBO.
@ LB_BlendSoftLight
Definition: OgreShaderExLayeredBlending.h:63
PixelFormat format
The format required of this texture.
Definition: OgreTerrainMaterialGenerator.h:108
IdString skeletonDefName
Definition: OgreSkeletonAnimManager.h:50
void setDebugShaders(bool bDebugShaders)
Instructs the RenderSystem to compile shaders without optimizations and with debug information,...
Specialized frustum shaped culling volume that has culling planes created from portals.
Definition: OgrePCZFrustum.h:70
void calculateCell(PageID inPageID, int32 *x, int32 *y)
@ VET_DOUBLE1
Definition: OgreVertexElements.h:87
void setLightCountAutoUpdate(bool autoUpdate)
Set the light count auto update state.
Definition: OgreShaderRenderState.h:103
Real valueDegrees() const
Definition: OgreMath.h:763
virtual void setFrustumOffset(const Vector2 &offset)
Sets frustum offsets, used in stereo rendering.
map< String, SettingsMultiMap * >::type SettingsBySection
Gets an iterator for stepping through all the keys / values in the file.
Definition: OgreConfigFile.h:90
Implements the plane optimal shadow camera algorithm.
Definition: OgreShadowCameraSetupPlaneOptimal.h:63
void reload(LoadingFlags flags=LF_DEFAULT)
Reloads the resource, if it is already loaded.
@ CE_UNDEFINEDVARIABLE
Definition: OgreScriptCompiler.h:210
TransformSpace
Enumeration denoting the spaces which a transform can be relative to.
Definition: OgreNode.h:66
bool equalExcludePassData(const HlmsPso &_r) const
Compares if this == _r but only accounting data that is independent of a pass (and is typically part ...
Definition: OgreHlmsPso.h:239
void stop()
Stop anything special.
@ GCT_UINT3
Definition: OgreGpuProgramParams.h:109
list< ResourceDeclaration >::type ResourceDeclarationList
List of resource declarations.
Definition: OgreResourceGroupManager.h:282
Command object for setting the width of a space.
Definition: OgreTextAreaOverlayElement.h:157
virtual const String & getName() const =0
virtual void enableCustomNearClipPlane(const MovablePlane *plane)
Links the frustum to a custom near clip plane, which can be used to clip geometry in a custom manner ...
CompositorManager2 * getCompositorManager(void) const
Definition: OgreCompositorWorkspaceDef.h:250
void present(D3D9RenderWindow *renderWindow)
virtual bool getWriteOnly() const
Gets wheter this object has geometry buffer marked as write only.
Definition: OgreManualObject.h:188
bool operator<(const StencilParams &other) const
Definition: OgreCommon.h:184
bool isPointAttenuationEnabled(void) const
Returns whether points are attenuated with distance.
static const String CustomAttributeString_GLCONTEXT
Definition: OgreGL3PlusRenderTexture.h:64
virtual void clearScene(void)
Overridden to clean up zones.
Definition: OgreOSXCocoaContext.h:37
void _setBoundingSphereRadius(Real radius)
Manually set the bounding radius.
virtual String getType() const
Returns the type of the codec as a String.
void _setRenderedRqs(size_t rqStart, size_t rqEnd)
Tells the camera that render queues in the range [rqStart; rqEnd) were rendered.
virtual void getRenderOperation(v1::RenderOperation &op, bool casterPass)
Gets the render operation required to send this object to the frame buffer.
virtual void updateGpuProgramsParams(Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
@ ID_IS_PREPASS
Definition: OgreScriptCompiler.h:881
static Profiler * getSingletonPtr(void)
Override standard Singleton retrieval.
void activate(void)
Makes a program pipeline object active by making sure it is linked and then putting it in use.
IndirectBufferPacked * indirectBuffer
Definition: OgreCbShaderBuffer.h:53
Definition: OgreResourceTransition.h:134
@ LL_LOW
Definition: OgreLog.h:59
ImageData()
Definition: OgreImageCodec.h:56
@ SBF_ONE
Definition: OgreBlendMode.h:236
HardwareVertexBufferSharedPtr hardwareShadowVolWBuffer
Additional shadow volume vertex buffer storage.
Definition: OgreVertexIndexData.h:147
virtual void getCustomAttribute(const String &name, void *pData)
Gets a custom (maybe platform-specific) attribute.
Definition: OgreGL3PlusTexture.h:41
bool getFreezeDebugFrustum(void) const
GpuProgramParametersSharedPtr createParameters(void)
Overridden from GpuProgram.
Camera * findCamera(IdString cameraName) const
Finds a camera in the scene manager we have.
Command object for inner size (see ParamCommand).
Definition: OgreRingEmitter.h:60
ParticleEmitterFactory()
Definition: OgreParticleEmitterFactory.h:61
SharedPtr< ScriptTokenList > ScriptTokenListPtr
Definition: OgreScriptLexer.h:73
const String & getDictionaryStringName(void) const
Returns dictionary name.
Definition: OgreExternalTextureSource.h:140
void setEnclosureNode(PCZSceneNode *)
Set the enclosure node for this Zone.
void getAsAabb(Aabb &out, size_t index) const
Definition: C/OgreArrayAabb.h:84
virtual_l2 FORCEINLINE const Matrix4 & _getFullTransform(void) const
Gets the full transformation matrix for this node.
Definition: OgreNode.h:675
Rule controlling whether technique is deemed supported based on GPU vendor.
Definition: OgreTechnique.h:95
Material * mProxyMaterial
Definition: OgreHlmsLowLevelDatablock.h:50
Definition: OgreHlmsCommon.h:183
static void toQuotedStr(PolygonMode value, String &outString)
virtual void _updateCustomGpuParameter(uint16 paramIndex, const GpuProgramParameters::AutoConstantEntry &constantEntry, GpuProgramParameters *params) const
Update a custom GpuProgramParameters constant which is derived from information only this Light knows...
int lm_texture
Definition: OgreQuake3Types.h:193
virtual void setCullIndividually(bool cullIndividual)
Sets whether culling tests particles in this individually as well as in a group.
void init(AxisAlignedBox &box, int d)
Initializes the manager to the given box and depth.
ScriptingAllocatedObject ScriptCompilerAlloc
Definition: OgreMemoryAllocatorConfig.h:331
virtual void clearFrameBuffer(unsigned int buffers, const ColourValue &colour=ColourValue::Black, Real depth=1.0f, unsigned short stencil=0)
Clears one or more frame buffers on the active render target.
static const String & getDirectionalLightExtruderVs_1_1FiniteDebug(void)
Get FINITE extruder program source for debug directional lights, compatible with vs_1_1.
Definition: OgreShadowVolumeExtrudeProgram.h:314
@ PF_ATC_RGBA_EXPLICIT_ALPHA
ATC (AMD_compressed_ATC_texture)
Definition: OgrePixelFormat.h:256
bool isLoaded(void) const
Is this loaded?
const Sphere & getDerivedSphere() const
Get the sphere centered on the derived CP of the portal in world coordinates.
Definition: OgrePortalBase.h:138
void _updateOctreeNode(OctreeNode *)
Checks the given OctreeNode, and determines if it needs to be moved to a different octant.
High level interface of Direct3D9 Device.
Definition: OgreD3D9Device.h:43
Interface definition for factories of ShaderProgramWriter.
Definition: OgreShaderProgramWriterManager.h:48
void detachObjectFromBone(MovableObject *obj)
Detaches an object by pointer.
SceneBlendType
Types of blending that you can specify between an object and the existing contents of the scene.
Definition: OgreBlendMode.h:216
void setHeight(Real Height)
Sets the height (local y size) of the emitter.
@ GPU_UNKNOWN
Definition: OgreRenderSystemCapabilities.h:289
virtual ~VertexBufferBinding()
Definition: OgreX11EGLSupport.h:85
FunctionInvocation(const String &functionName, int groupOrder, int internalOrder, String returnType="void")
Class constructor.
@ M_GEOMETRY_NORMALS
Definition: OgreMeshFileFormat.h:365
void _notifyIndexBufferDestroyed(HardwareIndexBuffer *buf)
Notification that a hardware index buffer has been destroyed.
@ SPC_LIGHTDIRECTION_VIEW_SPACE1
Definition: OgreShaderParameter.h:188
const String & getName() const
Get the name of this function.
Definition: OgreShaderFunction.h:61
static const size_t MaterialSizeInGpuAligned
Definition: OgreHlmsPbsDatablock.h:771
String doGet(const void *target) const
@ ID_PARAM_INDEXED
Definition: OgreScriptCompiler.h:633
virtual void setSortByDistance(bool sort, ushort maxresults=0)
Sets whether the results of this query will be sorted by distance along the ray.
virtual void detachDepthBuffer()
unsigned short getStartLight(void) const
Gets the light index that this pass will start at in the light list.
void removePoseReference(ushort poseIndex)
Remove reference to a given pose.
virtual const String & getName() const =0
Get the name of the plugin.
bool _getLastVertexCollapseTo(LodData *data, Vector3 &outVec)
Returns the destination of the edge, which was last reduced.